From 75b39f8492828ca370eaa0b3d06a11e013aed9f9 Mon Sep 17 00:00:00 2001 From: Ryan Cavanaugh Date: Mon, 12 Jan 2026 16:47:02 -0800 Subject: [PATCH 1/4] Mark outFile as deprecated --- src/compiler/program.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/compiler/program.ts b/src/compiler/program.ts index 323b887b20c2b..8868504e2f9e7 100644 --- a/src/compiler/program.ts +++ b/src/compiler/program.ts @@ -4484,7 +4484,7 @@ export function createProgram(_rootNamesOrOptions: readonly string[] | CreatePro createDeprecatedDiagnostic("charset"); } if (options.out) { - createDeprecatedDiagnostic("out", /*value*/ undefined, "outFile"); + createDeprecatedDiagnostic("out"); } if (options.importsNotUsedAsValues) { createDeprecatedDiagnostic("importsNotUsedAsValues", /*value*/ undefined, "verbatimModuleSyntax"); @@ -4510,6 +4510,9 @@ export function createProgram(_rootNamesOrOptions: readonly string[] | CreatePro if (options.allowSyntheticDefaultImports === false) { createDeprecatedDiagnostic("allowSyntheticDefaultImports", "false", /*useInstead*/ undefined, /*related*/ undefined); } + if (options.outFile) { + createDeprecatedDiagnostic("outFile"); + } if (options.module === ModuleKind.None || options.module === ModuleKind.AMD || options.module === ModuleKind.UMD || options.module === ModuleKind.System) { createDeprecatedDiagnostic("module", ModuleKind[options.module], /*useInstead*/ undefined, /*related*/ undefined); } From cd8c2b6be21b3cbe145baf3a998bd24200819eee Mon Sep 17 00:00:00 2001 From: Ryan Cavanaugh Date: Mon, 12 Jan 2026 16:47:08 -0800 Subject: [PATCH 2/4] Add a test --- tests/cases/compiler/outFileIsDeprecated.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tests/cases/compiler/outFileIsDeprecated.ts diff --git a/tests/cases/compiler/outFileIsDeprecated.ts b/tests/cases/compiler/outFileIsDeprecated.ts new file mode 100644 index 0000000000000..31c61c9ade00a --- /dev/null +++ b/tests/cases/compiler/outFileIsDeprecated.ts @@ -0,0 +1,15 @@ +// @typeScriptVersion: 6.0 +// @filename: /foo/tsconfig.json +{ + "compilerOptions": { + "moduleDetection": "auto", + "outFile": "dist.js", + "ignoreDeprecations": "6.0" + } +} + +// @filename: /foo/a.ts +const a = 1; + +// @filename: /foo/b.ts +const b = 1; \ No newline at end of file From ce06c50bda560309baeabb9e146f8a7bc588a72c Mon Sep 17 00:00:00 2001 From: Ryan Cavanaugh Date: Mon, 12 Jan 2026 16:47:29 -0800 Subject: [PATCH 3/4] New test baselines --- tests/baselines/reference/outFileIsDeprecated.js | 11 +++++++++++ .../reference/outFileIsDeprecated.symbols | 10 ++++++++++ .../reference/outFileIsDeprecated.types | 16 ++++++++++++++++ 3 files changed, 37 insertions(+) create mode 100644 tests/baselines/reference/outFileIsDeprecated.js create mode 100644 tests/baselines/reference/outFileIsDeprecated.symbols create mode 100644 tests/baselines/reference/outFileIsDeprecated.types diff --git a/tests/baselines/reference/outFileIsDeprecated.js b/tests/baselines/reference/outFileIsDeprecated.js new file mode 100644 index 0000000000000..89b2aec415c2f --- /dev/null +++ b/tests/baselines/reference/outFileIsDeprecated.js @@ -0,0 +1,11 @@ +//// [tests/cases/compiler/outFileIsDeprecated.ts] //// + +//// [a.ts] +const a = 1; + +//// [b.ts] +const b = 1; + +//// [dist.js] +var a = 1; +var b = 1; diff --git a/tests/baselines/reference/outFileIsDeprecated.symbols b/tests/baselines/reference/outFileIsDeprecated.symbols new file mode 100644 index 0000000000000..0b97c355739f4 --- /dev/null +++ b/tests/baselines/reference/outFileIsDeprecated.symbols @@ -0,0 +1,10 @@ +//// [tests/cases/compiler/outFileIsDeprecated.ts] //// + +=== /foo/a.ts === +const a = 1; +>a : Symbol(a, Decl(a.ts, 0, 5)) + +=== /foo/b.ts === +const b = 1; +>b : Symbol(b, Decl(b.ts, 0, 5)) + diff --git a/tests/baselines/reference/outFileIsDeprecated.types b/tests/baselines/reference/outFileIsDeprecated.types new file mode 100644 index 0000000000000..cd886ee1442c1 --- /dev/null +++ b/tests/baselines/reference/outFileIsDeprecated.types @@ -0,0 +1,16 @@ +//// [tests/cases/compiler/outFileIsDeprecated.ts] //// + +=== /foo/a.ts === +const a = 1; +>a : 1 +> : ^ +>1 : 1 +> : ^ + +=== /foo/b.ts === +const b = 1; +>b : 1 +> : ^ +>1 : 1 +> : ^ + From 9e87accf82dae72eb3cf37681013b2483093ddfe Mon Sep 17 00:00:00 2001 From: Ryan Cavanaugh Date: Mon, 12 Jan 2026 16:47:43 -0800 Subject: [PATCH 4/4] All other baselines --- .../reference/alwaysStrictModule2.errors.txt | 2 + ...mdDeclarationEmitNoExtraDeclare.errors.txt | 2 + ...uplicateDeclarationEmitComments.errors.txt | 2 + ...opedClassDeclarationAcrossFiles.errors.txt | 9 + ...ockScopedNamespaceDifferentFile.errors.txt | 2 + .../bundledDtsLateExportRenaming.errors.txt | 30 ++ .../reference/bundledDtsLateExportRenaming.js | 31 -- ...aintOfJavascriptClassExpression.errors.txt | 2 + .../checkJsdocOnEndOfFile.errors.txt | 2 + .../reference/checkJsdocReturnTag1.errors.txt | 2 + .../reference/checkJsdocReturnTag2.errors.txt | 2 + .../reference/commonSourceDir5.errors.txt | 2 + .../reference/commonSourceDir6.errors.txt | 2 + .../compilerOptionsOutAndNoEmit.errors.txt | 8 + ...compilerOptionsOutFileAndNoEmit.errors.txt | 8 + ...dPropertyNames52(target=es2015).errors.txt | 13 + ...utedPropertyNames52(target=es5).errors.txt | 13 + ...clarations-useBeforeDefinition2.errors.txt | 2 + .../controlFlowJavascript.errors.txt | 109 ++++++ .../reference/controlFlowJavascript.types | 28 ++ ...rsInInputDeclarationFileWithOut.errors.txt | 2 + ...declarationEmitAmdModuleDefault.errors.txt | 2 + ...EmitBundleWithAmbientReferences.errors.txt | 2 + ...DirectoryDoesNotContainAllFiles.errors.txt | 16 + ...onSourceDirectoryDoesNotContainAllFiles.js | 19 -- ...portWithTempVarNameWithBundling.errors.txt | 2 + ...clarationEmitOutFileBundlePaths.errors.txt | 16 + ...PrefersPathKindBasedOnBundling2.errors.txt | 2 + ...rationFileOverwriteErrorWithOut.errors.txt | 2 + ...onFilesGeneratingTypeReferences.errors.txt | 15 + ...eclarationFilesGeneratingTypeReferences.js | 21 -- .../declarationMapsOutFile.errors.txt | 2 + .../declarationMapsOutFile2.errors.txt | 19 ++ .../declarationMapsWithSourceMap.errors.txt | 19 ++ .../deprecatedCompilerOptions1.errors.txt | 2 - .../deprecatedCompilerOptions3.errors.txt | 2 - .../deprecatedCompilerOptions4.errors.txt | 2 - .../deprecatedCompilerOptions5.errors.txt | 2 - .../deprecatedCompilerOptions6.errors.txt | 2 - .../reference/dynamicRequire.errors.txt | 2 + ...itBundleWithPrologueDirectives1.errors.txt | 2 + .../emitBundleWithShebang1.errors.txt | 2 + .../emitBundleWithShebang2.errors.txt | 2 + ...thShebangAndPrologueDirectives1.errors.txt | 2 + ...thShebangAndPrologueDirectives2.errors.txt | 2 + ...tingIntoSameOutputWithOutOption.errors.txt | 2 + .../genericSetterInClassTypeJsDoc.errors.txt | 28 ++ .../globalThisVarDeclaration.errors.txt | 2 + .../reference/importHelpersOutFile.errors.txt | 2 + .../importTypeAmdBundleRewrite.errors.txt | 2 + .../reference/incrementalOut.errors.txt | 8 + ...ringClassMembersFromAssignments.errors.txt | 2 + .../reference/inlineSourceMap2.errors.txt | 2 + .../reference/inlineSources.errors.txt | 12 + .../reference/inlineSources2.errors.txt | 12 + .../isolatedDeclarationOutFile.errors.txt | 2 + .../reference/isolatedModulesOut.errors.txt | 2 - ...jsDeclarationsImportTypeBundled.errors.txt | 2 + ...ssMethodContainingArrowFunction.errors.txt | 11 + ...onClassMethodContainingArrowFunction.types | 3 + ...DuplicateFunctionImplementation.errors.txt | 2 + ...ImplementationFileOrderReversed.errors.txt | 2 + ...ileCompilationDuplicateVariable.errors.txt | 10 + .../jsFileCompilationDuplicateVariable.js | 15 - ...nDuplicateVariableErrorReported.errors.txt | 2 + ...FileCompilationEmitDeclarations.errors.txt | 12 + ...lationEmitTrippleSlashReference.errors.txt | 17 + ...tionsWithJsFileReferenceWithOut.errors.txt | 17 + ...sFileCompilationLetBeingRenamed.errors.txt | 11 + .../jsFileCompilationLetBeingRenamed.types | 1 + ...eCompilationLetDeclarationOrder.errors.txt | 12 + ...CompilationLetDeclarationOrder2.errors.txt | 2 + ...tionsWithJsFileReferenceWithOut.errors.txt | 18 + ...FileCompilationNonNullAssertion.errors.txt | 2 + ...mpilationRestParamJsDocFunction.errors.txt | 2 + .../jsFileCompilationRestParameter.errors.txt | 7 + ...ileCompilationShortHandProperty.errors.txt | 14 + ...jsFileCompilationTypeAssertions.errors.txt | 2 + ...ationWithEnabledCompositeOption.errors.txt | 12 + .../jsFileCompilationWithOut.errors.txt | 12 + ...rationFileNameSameAsInputJsFile.errors.txt | 2 + ...ithOutFileNameSameAsInputJsFile.errors.txt | 2 + .../jsObjectsMarkedAsOpenEnded.errors.txt | 38 +++ .../jsObjectsMarkedAsOpenEnded.types | 12 +- ...ocAccessibilityTagsDeclarations.errors.txt | 43 +++ .../jsdocAccessibilityTagsDeclarations.types | 27 ++ .../reference/jsdocLiteral.errors.txt | 16 + .../jsdocNeverUndefinedNull.errors.txt | 14 + .../jsdocReadonlyDeclarations.errors.txt | 30 ++ .../reference/jsdocReadonlyDeclarations.types | 7 + .../reference/jsdocReturnTag1.errors.txt | 26 ++ .../reference/keepImportsInDts3.errors.txt | 2 + .../reference/keepImportsInDts4.errors.txt | 2 + ...clarations-useBeforeDefinition2.errors.txt | 2 + ...bReferenceDeclarationEmitBundle.errors.txt | 2 + .../libReferenceNoLibBundle.errors.txt | 2 + .../reference/methodsReturningThis.errors.txt | 24 ++ .../reference/methodsReturningThis.types | 35 +- ...duleAugmentationsBundledOutput1.errors.txt | 2 + .../moduleAugmentationsImports1.errors.txt | 2 + .../moduleAugmentationsImports2.errors.txt | 2 + .../moduleAugmentationsImports3.errors.txt | 2 + .../moduleAugmentationsImports4.errors.txt | 2 + ...oneDynamicImport(target=es2015).errors.txt | 2 + ...oneDynamicImport(target=es2020).errors.txt | 2 + .../reference/moduleNoneOutFile.errors.txt | 2 + .../reference/multipleDeclarations.errors.txt | 40 +++ .../reference/multipleDeclarations.types | 12 +- .../noBundledEmitFromNodeModules.errors.txt | 2 + .../optionsOutAndNoModuleGen.errors.txt | 2 + .../baselines/reference/out-flag2.errors.txt | 2 + .../baselines/reference/out-flag3.errors.txt | 2 + .../outFilerootDirModuleNamesAmd.errors.txt | 2 + ...outFilerootDirModuleNamesSystem.errors.txt | 2 + .../reference/outModuleConcatAmd.errors.txt | 2 + .../outModuleConcatCommonjs.errors.txt | 2 + ...leConcatCommonjsDeclarationOnly.errors.txt | 11 + .../reference/outModuleConcatES6.errors.txt | 2 + .../outModuleConcatSystem.errors.txt | 2 + .../reference/outModuleConcatUmd.errors.txt | 2 + ...duleConcatUnspecifiedModuleKind.errors.txt | 2 + ...cifiedModuleKindDeclarationOnly.errors.txt | 2 + .../outModuleTripleSlashRefs.errors.txt | 2 + .../amd/declarationDir3.errors.txt | 2 + .../node/declarationDir3.errors.txt | 2 + ...ationDifferentNamesNotSpecified.errors.txt | 5 +- ...ationDifferentNamesNotSpecified.errors.txt | 5 +- ...entNamesNotSpecifiedWithAllowJs.errors.txt | 5 +- ...entNamesNotSpecifiedWithAllowJs.errors.txt | 5 +- ...pilationDifferentNamesSpecified.errors.txt | 5 +- ...pilationDifferentNamesSpecified.errors.txt | 5 +- ...ferentNamesSpecifiedWithAllowJs.errors.txt | 5 +- ...ferentNamesSpecifiedWithAllowJs.errors.txt | 5 +- ...MixedSubfolderSpecifyOutputFile.errors.txt | 2 + ...MixedSubfolderSpecifyOutputFile.errors.txt | 2 + ...ifyOutputFileAndOutputDirectory.errors.txt | 2 + ...ifyOutputFileAndOutputDirectory.errors.txt | 2 + ...uleMultifolderSpecifyOutputFile.errors.txt | 2 + ...uleMultifolderSpecifyOutputFile.errors.txt | 2 + ...thModuleSimpleSpecifyOutputFile.errors.txt | 2 + ...thModuleSimpleSpecifyOutputFile.errors.txt | 2 + ...oduleSubfolderSpecifyOutputFile.errors.txt | 2 + ...oduleSubfolderSpecifyOutputFile.errors.txt | 2 + ...athMultifolderSpecifyOutputFile.errors.txt | 2 + ...athMultifolderSpecifyOutputFile.errors.txt | 2 + ...lutePathSimpleSpecifyOutputFile.errors.txt | 2 + ...lutePathSimpleSpecifyOutputFile.errors.txt | 2 + ...PathSingleFileSpecifyOutputFile.errors.txt | 2 + ...PathSingleFileSpecifyOutputFile.errors.txt | 2 + ...ePathSubfolderSpecifyOutputFile.errors.txt | 2 + ...ePathSubfolderSpecifyOutputFile.errors.txt | 2 + ...MixedSubfolderSpecifyOutputFile.errors.txt | 2 + ...MixedSubfolderSpecifyOutputFile.errors.txt | 2 + ...ifyOutputFileAndOutputDirectory.errors.txt | 2 + ...ifyOutputFileAndOutputDirectory.errors.txt | 2 + ...uleMultifolderSpecifyOutputFile.errors.txt | 2 + ...uleMultifolderSpecifyOutputFile.errors.txt | 2 + ...thModuleSimpleSpecifyOutputFile.errors.txt | 2 + ...thModuleSimpleSpecifyOutputFile.errors.txt | 2 + ...oduleSubfolderSpecifyOutputFile.errors.txt | 2 + ...oduleSubfolderSpecifyOutputFile.errors.txt | 2 + ...athMultifolderSpecifyOutputFile.errors.txt | 2 + ...athMultifolderSpecifyOutputFile.errors.txt | 2 + ...tivePathSimpleSpecifyOutputFile.errors.txt | 2 + ...tivePathSimpleSpecifyOutputFile.errors.txt | 2 + ...PathSingleFileSpecifyOutputFile.errors.txt | 2 + ...PathSingleFileSpecifyOutputFile.errors.txt | 2 + ...ePathSubfolderSpecifyOutputFile.errors.txt | 2 + ...ePathSubfolderSpecifyOutputFile.errors.txt | 2 + ...MixedSubfolderSpecifyOutputFile.errors.txt | 2 + ...MixedSubfolderSpecifyOutputFile.errors.txt | 2 + ...ifyOutputFileAndOutputDirectory.errors.txt | 2 + ...ifyOutputFileAndOutputDirectory.errors.txt | 2 + ...uleMultifolderSpecifyOutputFile.errors.txt | 2 + ...uleMultifolderSpecifyOutputFile.errors.txt | 2 + ...rlModuleSimpleSpecifyOutputFile.errors.txt | 2 + ...rlModuleSimpleSpecifyOutputFile.errors.txt | 2 + ...oduleSubfolderSpecifyOutputFile.errors.txt | 2 + ...oduleSubfolderSpecifyOutputFile.errors.txt | 2 + ...UrlMultifolderSpecifyOutputFile.errors.txt | 2 + ...UrlMultifolderSpecifyOutputFile.errors.txt | 2 + ...prootUrlSimpleSpecifyOutputFile.errors.txt | 2 + ...prootUrlSimpleSpecifyOutputFile.errors.txt | 2 + ...tUrlSingleFileSpecifyOutputFile.errors.txt | 2 + ...tUrlSingleFileSpecifyOutputFile.errors.txt | 2 + ...otUrlSubfolderSpecifyOutputFile.errors.txt | 2 + ...otUrlSubfolderSpecifyOutputFile.errors.txt | 2 + ...MixedSubfolderSpecifyOutputFile.errors.txt | 2 + ...MixedSubfolderSpecifyOutputFile.errors.txt | 2 + ...ifyOutputFileAndOutputDirectory.errors.txt | 2 + ...ifyOutputFileAndOutputDirectory.errors.txt | 2 + ...uleMultifolderSpecifyOutputFile.errors.txt | 2 + ...uleMultifolderSpecifyOutputFile.errors.txt | 2 + ...rlModuleSimpleSpecifyOutputFile.errors.txt | 2 + ...rlModuleSimpleSpecifyOutputFile.errors.txt | 2 + ...oduleSubfolderSpecifyOutputFile.errors.txt | 2 + ...oduleSubfolderSpecifyOutputFile.errors.txt | 2 + ...UrlMultifolderSpecifyOutputFile.errors.txt | 2 + ...UrlMultifolderSpecifyOutputFile.errors.txt | 2 + ...erootUrlSimpleSpecifyOutputFile.errors.txt | 2 + ...erootUrlSimpleSpecifyOutputFile.errors.txt | 2 + ...tUrlSingleFileSpecifyOutputFile.errors.txt | 2 + ...tUrlSingleFileSpecifyOutputFile.errors.txt | 2 + ...otUrlSubfolderSpecifyOutputFile.errors.txt | 2 + ...otUrlSubfolderSpecifyOutputFile.errors.txt | 2 + ...MixedSubfolderSpecifyOutputFile.errors.txt | 2 + ...MixedSubfolderSpecifyOutputFile.errors.txt | 2 + ...ifyOutputFileAndOutputDirectory.errors.txt | 2 + ...ifyOutputFileAndOutputDirectory.errors.txt | 2 + ...uleMultifolderSpecifyOutputFile.errors.txt | 2 + ...uleMultifolderSpecifyOutputFile.errors.txt | 2 + ...utModuleSimpleSpecifyOutputFile.errors.txt | 2 + ...utModuleSimpleSpecifyOutputFile.errors.txt | 2 + ...oduleSubfolderSpecifyOutputFile.errors.txt | 2 + ...oduleSubfolderSpecifyOutputFile.errors.txt | 2 + ...outMultifolderSpecifyOutputFile.errors.txt | 2 + ...outMultifolderSpecifyOutputFile.errors.txt | 2 + .../amd/outSimpleSpecifyOutputFile.errors.txt | 2 + .../outSimpleSpecifyOutputFile.errors.txt | 2 + .../outSingleFileSpecifyOutputFile.errors.txt | 2 + .../outSingleFileSpecifyOutputFile.errors.txt | 2 + .../outSubfolderSpecifyOutputFile.errors.txt | 2 + .../outSubfolderSpecifyOutputFile.errors.txt | 2 + .../prologueEmit/amd/prologueEmit.errors.txt | 2 + .../prologueEmit/node/prologueEmit.errors.txt | 2 + ...MixedSubfolderSpecifyOutputFile.errors.txt | 2 + ...MixedSubfolderSpecifyOutputFile.errors.txt | 2 + ...ifyOutputFileAndOutputDirectory.errors.txt | 2 + ...ifyOutputFileAndOutputDirectory.errors.txt | 2 + ...uleMultifolderSpecifyOutputFile.errors.txt | 2 + ...uleMultifolderSpecifyOutputFile.errors.txt | 2 + ...thModuleSimpleSpecifyOutputFile.errors.txt | 2 + ...thModuleSimpleSpecifyOutputFile.errors.txt | 2 + ...oduleSubfolderSpecifyOutputFile.errors.txt | 2 + ...oduleSubfolderSpecifyOutputFile.errors.txt | 2 + ...athMultifolderSpecifyOutputFile.errors.txt | 2 + ...athMultifolderSpecifyOutputFile.errors.txt | 2 + ...lutePathSimpleSpecifyOutputFile.errors.txt | 2 + ...lutePathSimpleSpecifyOutputFile.errors.txt | 2 + ...PathSingleFileSpecifyOutputFile.errors.txt | 2 + ...PathSingleFileSpecifyOutputFile.errors.txt | 2 + ...ePathSubfolderSpecifyOutputFile.errors.txt | 2 + ...ePathSubfolderSpecifyOutputFile.errors.txt | 2 + ...MixedSubfolderSpecifyOutputFile.errors.txt | 2 + ...MixedSubfolderSpecifyOutputFile.errors.txt | 2 + ...ifyOutputFileAndOutputDirectory.errors.txt | 2 + ...ifyOutputFileAndOutputDirectory.errors.txt | 2 + ...uleMultifolderSpecifyOutputFile.errors.txt | 2 + ...uleMultifolderSpecifyOutputFile.errors.txt | 2 + ...thModuleSimpleSpecifyOutputFile.errors.txt | 2 + ...thModuleSimpleSpecifyOutputFile.errors.txt | 2 + ...oduleSubfolderSpecifyOutputFile.errors.txt | 2 + ...oduleSubfolderSpecifyOutputFile.errors.txt | 2 + ...athMultifolderSpecifyOutputFile.errors.txt | 2 + ...athMultifolderSpecifyOutputFile.errors.txt | 2 + ...tivePathSimpleSpecifyOutputFile.errors.txt | 2 + ...tivePathSimpleSpecifyOutputFile.errors.txt | 2 + ...PathSingleFileSpecifyOutputFile.errors.txt | 2 + ...PathSingleFileSpecifyOutputFile.errors.txt | 2 + ...ePathSubfolderSpecifyOutputFile.errors.txt | 2 + ...ePathSubfolderSpecifyOutputFile.errors.txt | 2 + ...MixedSubfolderSpecifyOutputFile.errors.txt | 2 + ...MixedSubfolderSpecifyOutputFile.errors.txt | 2 + ...ifyOutputFileAndOutputDirectory.errors.txt | 2 + ...ifyOutputFileAndOutputDirectory.errors.txt | 2 + ...uleMultifolderSpecifyOutputFile.errors.txt | 2 + ...uleMultifolderSpecifyOutputFile.errors.txt | 2 + ...apModuleSimpleSpecifyOutputFile.errors.txt | 2 + ...apModuleSimpleSpecifyOutputFile.errors.txt | 2 + ...oduleSubfolderSpecifyOutputFile.errors.txt | 2 + ...oduleSubfolderSpecifyOutputFile.errors.txt | 2 + ...mapMultifolderSpecifyOutputFile.errors.txt | 2 + ...mapMultifolderSpecifyOutputFile.errors.txt | 2 + ...ourcemapSimpleSpecifyOutputFile.errors.txt | 2 + ...ourcemapSimpleSpecifyOutputFile.errors.txt | 2 + ...emapSingleFileSpecifyOutputFile.errors.txt | 2 + ...emapSingleFileSpecifyOutputFile.errors.txt | 2 + ...cemapSubfolderSpecifyOutputFile.errors.txt | 2 + ...cemapSubfolderSpecifyOutputFile.errors.txt | 2 + ...MixedSubfolderSpecifyOutputFile.errors.txt | 2 + ...MixedSubfolderSpecifyOutputFile.errors.txt | 2 + ...ifyOutputFileAndOutputDirectory.errors.txt | 2 + ...ifyOutputFileAndOutputDirectory.errors.txt | 2 + ...uleMultifolderSpecifyOutputFile.errors.txt | 2 + ...uleMultifolderSpecifyOutputFile.errors.txt | 2 + ...rlModuleSimpleSpecifyOutputFile.errors.txt | 2 + ...rlModuleSimpleSpecifyOutputFile.errors.txt | 2 + ...oduleSubfolderSpecifyOutputFile.errors.txt | 2 + ...oduleSubfolderSpecifyOutputFile.errors.txt | 2 + ...UrlMultifolderSpecifyOutputFile.errors.txt | 2 + ...UrlMultifolderSpecifyOutputFile.errors.txt | 2 + ...erootUrlSimpleSpecifyOutputFile.errors.txt | 2 + ...erootUrlSimpleSpecifyOutputFile.errors.txt | 2 + ...tUrlSingleFileSpecifyOutputFile.errors.txt | 2 + ...tUrlSingleFileSpecifyOutputFile.errors.txt | 2 + ...otUrlSubfolderSpecifyOutputFile.errors.txt | 2 + ...otUrlSubfolderSpecifyOutputFile.errors.txt | 2 + ...uleNodeResolutionEmitAmdOutFile.errors.txt | 2 + ...esUseJSDocForOptionalParameters.errors.txt | 20 ++ ...naturesUseJSDocForOptionalParameters.types | 2 + ...ceMapWithCaseSensitiveFileNames.errors.txt | 14 + ...pWithMultipleFilesWithCopyright.errors.txt | 22 ++ ...ilesWithFileEndingWithInterface.errors.txt | 21 ++ ...ipleFilesWithFileEndingWithInterface.types | 4 + ...apWithNonCaseSensitiveFileNames.errors.txt | 14 + .../topLevelThisAssignment.errors.txt | 13 + .../modules-and-globals-mixed-in-amd.js | 24 +- .../prepend-reports-deprecation-error.js | 24 +- ...e-resolution-finds-original-source-file.js | 12 +- .../different-options-with-incremental.js | 98 +++++- .../commandLine/outFile/different-options.js | 91 ++++- ...ndline-with-declaration-and-incremental.js | 84 ++++- ...y-false-on-commandline-with-declaration.js | 84 ++++- ...mitDeclarationOnly-false-on-commandline.js | 84 ++++- ...ndline-with-declaration-and-incremental.js | 120 ++++++- ...ionOnly-on-commandline-with-declaration.js | 120 ++++++- .../emitDeclarationOnly-on-commandline.js | 120 ++++++- .../reports-syntax-errors-in-config-file.js | 35 +- ...-dts-generation-errors-with-incremental.js | 14 +- .../outFile/reports-dts-generation-errors.js | 14 +- .../outFile/deleted-file-without-composite.js | 14 +- .../outFile/detects-deleted-file.js | 24 +- .../outFile/dts-errors-with-incremental.js | 91 ++++- .../tsbuild/noCheck/outFile/dts-errors.js | 98 +++++- .../semantic-errors-with-incremental.js | 91 ++++- .../noCheck/outFile/semantic-errors.js | 91 ++++- .../outFile/syntax-errors-with-incremental.js | 63 +++- .../tsbuild/noCheck/outFile/syntax-errors.js | 63 +++- .../noEmit/outFile/changes-composite.js | 133 ++++++-- .../changes-incremental-declaration.js | 133 ++++++-- .../noEmit/outFile/changes-incremental.js | 133 ++++++-- .../changes-with-initial-noEmit-composite.js | 35 +- ...-initial-noEmit-incremental-declaration.js | 35 +- ...changes-with-initial-noEmit-incremental.js | 35 +- ...ble-changes-with-incremental-as-modules.js | 63 +++- ...-changes-with-incremental-discrepancies.js | 39 +-- ...aration-enable-changes-with-incremental.js | 319 ++++++++++++------ ...tion-enable-changes-with-multiple-files.js | 70 +++- ...-errors-with-declaration-enable-changes.js | 198 +++++------ .../dts-errors-with-incremental-as-modules.js | 63 +++- ...s-errors-with-incremental-discrepancies.js | 84 +++++ .../outFile/dts-errors-with-incremental.js | 266 ++++++++------- ...dts-enabled-with-incremental-as-modules.js | 63 +++- ...rs-without-dts-enabled-with-incremental.js | 261 +++++++++++--- .../outFile/dts-errors-without-dts-enabled.js | 183 +++++++--- .../tsbuild/noEmit/outFile/dts-errors.js | 183 +++++----- ...ntic-errors-with-incremental-as-modules.js | 63 +++- .../semantic-errors-with-incremental.js | 229 ++++++++----- .../tsbuild/noEmit/outFile/semantic-errors.js | 161 +++++---- ...ntax-errors-with-incremental-as-modules.js | 28 +- .../outFile/syntax-errors-with-incremental.js | 120 +++++-- .../tsbuild/noEmit/outFile/syntax-errors.js | 111 +++--- ...rrors-with-declaration-with-incremental.js | 28 +- .../outFile/dts-errors-with-declaration.js | 28 +- .../outFile/dts-errors-with-incremental.js | 28 +- .../noEmitOnError/outFile/dts-errors.js | 28 +- ...rrors-with-declaration-with-incremental.js | 28 +- .../semantic-errors-with-declaration.js | 28 +- .../semantic-errors-with-incremental.js | 28 +- .../noEmitOnError/outFile/semantic-errors.js | 28 +- ...rrors-with-declaration-with-incremental.js | 28 +- .../outFile/syntax-errors-with-declaration.js | 28 +- .../outFile/syntax-errors-with-incremental.js | 28 +- .../noEmitOnError/outFile/syntax-errors.js | 28 +- .../outFile/baseline-sectioned-sourcemaps.js | 236 +++++++++++-- .../outFile/builds-till-project-specified.js | 28 +- .../tsbuild/outFile/clean-projects.js | 62 +++- .../outFile/cleans-till-project-specified.js | 62 +++- ...s-between-non-dts-changes-discrepancies.js | 237 +++++++++++++ ...al-flag-changes-between-non-dts-changes.js | 178 ++++++++-- ...-in-tsbuildinfo-doesnt-match-ts-version.js | 141 +++++++- ...erated-when-incremental-is-set-to-false.js | 65 +++- ...-buildInfo-absence-results-in-new-build.js | 89 ++++- ...roject-is-not-composite-but-incremental.js | 82 ++++- ...t-composite-but-uses-project-references.js | 130 +++++-- ...final-project-specifies-tsBuildInfoFile.js | 82 ++++- ...ot-change-but-its-modified-time-changes.js | 116 ++++++- .../reports-syntax-errors-in-config-file.js | 35 +- ...n-no-files-are-emitted-with-incremental.js | 82 +++-- ...when-watching-when-no-files-are-emitted.js | 42 ++- .../dts-errors-with-incremental-as-modules.js | 49 ++- .../outFile/dts-errors-with-incremental.js | 190 +++++------ ...dts-enabled-with-incremental-as-modules.js | 49 ++- ...rs-without-dts-enabled-with-incremental.js | 136 +++++--- .../outFile/dts-errors-without-dts-enabled.js | 86 +++-- .../tsbuildWatch/noEmit/outFile/dts-errors.js | 116 +++---- ...ntic-errors-with-incremental-as-modules.js | 49 ++- .../semantic-errors-with-incremental.js | 160 ++++----- .../noEmit/outFile/semantic-errors.js | 100 +++--- ...ntax-errors-with-incremental-as-modules.js | 21 +- .../outFile/syntax-errors-with-incremental.js | 59 +++- .../noEmit/outFile/syntax-errors.js | 64 ++-- ...Error-with-declaration-with-incremental.js | 84 ++++- .../outFile/noEmitOnError-with-declaration.js | 84 ++++- .../outFile/noEmitOnError-with-incremental.js | 84 ++++- .../noEmitOnError/outFile/noEmitOnError.js | 84 ++++- .../with-outFile-and-non-local-change.js | 171 ++++++++-- ...-dts-generation-errors-with-incremental.js | 25 +- .../outFile/reports-dts-generation-errors.js | 25 +- .../different-options-with-incremental.js | 98 +++++- .../incremental/outFile/different-options.js | 105 +++++- .../outFile/dts-errors-with-incremental.js | 138 ++++++-- .../tsc/noCheck/outFile/dts-errors.js | 138 ++++++-- .../semantic-errors-with-incremental.js | 126 ++++++- .../tsc/noCheck/outFile/semantic-errors.js | 126 ++++++- .../outFile/syntax-errors-with-incremental.js | 84 ++++- .../tsc/noCheck/outFile/syntax-errors.js | 84 ++++- .../tsc/noEmit/outFile/changes-composite.js | 133 ++++++-- .../changes-incremental-declaration.js | 133 ++++++-- .../tsc/noEmit/outFile/changes-incremental.js | 133 ++++++-- .../changes-with-initial-noEmit-composite.js | 35 +- ...-initial-noEmit-incremental-declaration.js | 35 +- ...changes-with-initial-noEmit-incremental.js | 35 +- ...tion-enable-changes-with-multiple-files.js | 72 +++- .../dts-errors-with-incremental-as-modules.js | 65 +++- ...s-errors-with-incremental-discrepancies.js | 84 +++++ .../outFile/dts-errors-with-incremental.js | 229 ++++++------- ...dts-enabled-with-incremental-as-modules.js | 63 +++- ...rs-without-dts-enabled-with-incremental.js | 169 +++++++--- .../outFile/dts-errors-without-dts-enabled.js | 90 ++++- .../tsc/noEmit/outFile/dts-errors.js | 102 +++--- ...ntic-errors-with-incremental-as-modules.js | 63 +++- .../semantic-errors-with-incremental.js | 193 +++++------ .../tsc/noEmit/outFile/semantic-errors.js | 80 +++-- ...ntax-errors-with-incremental-as-modules.js | 28 +- .../outFile/syntax-errors-with-incremental.js | 74 +++- .../tsc/noEmit/outFile/syntax-errors.js | 40 ++- ...rrors-with-declaration-with-incremental.js | 28 +- .../outFile/dts-errors-with-declaration.js | 28 +- .../outFile/dts-errors-with-incremental.js | 28 +- .../tsc/noEmitOnError/outFile/dts-errors.js | 28 +- ...-before-fixing-error-with-noEmitOnError.js | 18 +- ...rrors-with-declaration-with-incremental.js | 32 +- .../semantic-errors-with-declaration.js | 32 +- .../semantic-errors-with-incremental.js | 32 +- .../noEmitOnError/outFile/semantic-errors.js | 32 +- ...rrors-with-declaration-with-incremental.js | 32 +- .../outFile/syntax-errors-with-declaration.js | 32 +- .../outFile/syntax-errors-with-incremental.js | 32 +- .../noEmitOnError/outFile/syntax-errors.js | 32 +- ...en-declarationMap-changes-discrepancies.js | 58 +--- .../outFile/when-declarationMap-changes.js | 79 +++-- ...ject-contains-invalid-project-reference.js | 7 +- ...-if-'--out'-or-'--outFile'-is-specified.js | 14 +- .../config-has-out.js | 3 - .../config-has-outFile.js | 36 +- ...ltiple-declaration-files-in-the-program.js | 13 +- ...ry-symlink-target-and-import-match-disk.js | 14 +- ...target-matches-disk-but-import-does-not.js | 14 +- ...link-target,-and-disk-are-all-different.js | 14 +- ...link-target-agree-but-do-not-match-disk.js | 14 +- ...k-but-directory-symlink-target-does-not.js | 14 +- .../incremental/with---out-incremental.js | 33 +- .../tscWatch/incremental/with---out-watch.js | 30 +- .../dts-errors-with-incremental-as-modules.js | 49 ++- .../outFile/dts-errors-with-incremental.js | 184 +++++----- ...dts-enabled-with-incremental-as-modules.js | 49 ++- ...rs-without-dts-enabled-with-incremental.js | 124 ++++--- .../outFile/dts-errors-without-dts-enabled.js | 69 ++-- .../tscWatch/noEmit/outFile/dts-errors.js | 81 +++-- ...ntic-errors-with-incremental-as-modules.js | 49 ++- .../semantic-errors-with-incremental.js | 154 ++++----- .../noEmit/outFile/semantic-errors.js | 65 ++-- ...ntax-errors-with-incremental-as-modules.js | 21 +- .../outFile/syntax-errors-with-incremental.js | 53 ++- .../tscWatch/noEmit/outFile/syntax-errors.js | 29 +- ...Error-with-declaration-with-incremental.js | 42 ++- .../outFile/noEmitOnError-with-declaration.js | 42 ++- .../outFile/noEmitOnError-with-incremental.js | 42 ++- .../noEmitOnError/outFile/noEmitOnError.js | 42 ++- ...-when-set-of-root-files-was-not-changed.js | 12 +- .../with-outFile.js | 14 +- ...noEmit-with-composite-with-emit-builder.js | 35 +- ...it-with-composite-with-semantic-builder.js | 35 +- ...nError-with-composite-with-emit-builder.js | 21 +- ...or-with-composite-with-semantic-builder.js | 21 +- .../outFile/semantic-builder-emitOnlyDts.js | 7 +- ...createSemanticDiagnosticsBuilderProgram.js | 8 +- .../when-emitting-with-emitOnlyDtsFiles.js | 7 +- ...quest-when-projectFile-is-not-specified.js | 34 +- ...stRequest-when-projectFile-is-specified.js | 34 +- ...utFile-should-be-true-if-outFile-is-set.js | 17 +- .../compileOnSave/configProjects-outFile.js | 14 + ...-when-set-of-root-files-was-not-changed.js | 17 +- ...rencesFull-definition-is-in-mapped-file.js | 17 +- ...self-if---out-or---outFile-is-specified.js | 14 + ...n-the-session-and-when---outFile-is-set.js | 17 +- ...self-if---out-or---outFile-is-specified.js | 14 + ...kgroundUpdate-and-when---outFile-is-set.js | 17 +- ...self-if---out-or---outFile-is-specified.js | 14 + ...kgroundUpdate-and-when---outFile-is-set.js | 17 +- ...et-and-import-match-disk-with-link-open.js | 14 + ...rt-match-disk-with-target-and-link-open.js | 14 + ...-and-import-match-disk-with-target-open.js | 14 + ...ry-symlink-target-and-import-match-disk.js | 14 + ...disk-but-import-does-not-with-link-open.js | 14 + ...port-does-not-with-target-and-link-open.js | 14 + ...sk-but-import-does-not-with-target-open.js | 14 + ...target-matches-disk-but-import-does-not.js | 14 + ...d-disk-are-all-different-with-link-open.js | 14 + ...all-different-with-target-and-link-open.js | 14 + ...disk-are-all-different-with-target-open.js | 14 + ...link-target,-and-disk-are-all-different.js | 14 + ...ee-but-do-not-match-disk-with-link-open.js | 14 + ...ot-match-disk-with-target-and-link-open.js | 14 + ...-but-do-not-match-disk-with-target-open.js | 14 + ...link-target-agree-but-do-not-match-disk.js | 14 + ...-symlink-target-does-not-with-link-open.js | 14 + ...rget-does-not-with-target-and-link-open.js | 14 + ...ymlink-target-does-not-with-target-open.js | 14 + ...k-but-directory-symlink-target-does-not.js | 14 + ...oToDefinitionSameNameDifferentDirectory.js | 17 +- ...-as-project-build-with-external-project.js | 14 + ...t-is-not-open-gerErr-with-sync-commands.js | 17 +- ...n-dependency-project-is-not-open-getErr.js | 17 +- ...cy-project-is-not-open-geterrForProject.js | 17 +- ...-file-is-open-gerErr-with-sync-commands.js | 34 +- ...-when-the-depedency-file-is-open-getErr.js | 34 +- ...depedency-file-is-open-geterrForProject.js | 34 +- .../ancestor-and-project-ref-management.js | 88 ++++- ...ssfully-find-references-with-out-option.js | 88 ++++- ...oes-not-error-on-container-only-project.js | 136 +++++++- .../telemetry/does-not-expose-paths.js | 16 +- .../typeReferenceDirectives11.errors.txt | 2 + .../typeReferenceDirectives12.errors.txt | 2 + .../reference/typeSatisfaction_js.errors.txt | 2 + .../uniqueSymbolsDeclarationsInJs.errors.txt | 33 ++ ...ueSymbolsDeclarationsInJsErrors.errors.txt | 2 + .../reference/useBeforeDeclaration.errors.txt | 23 ++ 529 files changed, 12246 insertions(+), 3254 deletions(-) create mode 100644 tests/baselines/reference/blockScopedClassDeclarationAcrossFiles.errors.txt create mode 100644 tests/baselines/reference/bundledDtsLateExportRenaming.errors.txt create mode 100644 tests/baselines/reference/compilerOptionsOutAndNoEmit.errors.txt create mode 100644 tests/baselines/reference/compilerOptionsOutFileAndNoEmit.errors.txt create mode 100644 tests/baselines/reference/computedPropertyNames52(target=es2015).errors.txt create mode 100644 tests/baselines/reference/computedPropertyNames52(target=es5).errors.txt create mode 100644 tests/baselines/reference/controlFlowJavascript.errors.txt create mode 100644 tests/baselines/reference/declarationEmitCommonSourceDirectoryDoesNotContainAllFiles.errors.txt create mode 100644 tests/baselines/reference/declarationEmitOutFileBundlePaths.errors.txt create mode 100644 tests/baselines/reference/declarationFilesGeneratingTypeReferences.errors.txt create mode 100644 tests/baselines/reference/declarationMapsOutFile2.errors.txt create mode 100644 tests/baselines/reference/declarationMapsWithSourceMap.errors.txt create mode 100644 tests/baselines/reference/genericSetterInClassTypeJsDoc.errors.txt create mode 100644 tests/baselines/reference/incrementalOut.errors.txt create mode 100644 tests/baselines/reference/inlineSources.errors.txt create mode 100644 tests/baselines/reference/inlineSources2.errors.txt create mode 100644 tests/baselines/reference/jsFileCompilationClassMethodContainingArrowFunction.errors.txt create mode 100644 tests/baselines/reference/jsFileCompilationDuplicateVariable.errors.txt create mode 100644 tests/baselines/reference/jsFileCompilationEmitDeclarations.errors.txt create mode 100644 tests/baselines/reference/jsFileCompilationEmitTrippleSlashReference.errors.txt create mode 100644 tests/baselines/reference/jsFileCompilationErrorOnDeclarationsWithJsFileReferenceWithOut.errors.txt create mode 100644 tests/baselines/reference/jsFileCompilationLetBeingRenamed.errors.txt create mode 100644 tests/baselines/reference/jsFileCompilationLetDeclarationOrder.errors.txt create mode 100644 tests/baselines/reference/jsFileCompilationNoErrorWithoutDeclarationsWithJsFileReferenceWithOut.errors.txt create mode 100644 tests/baselines/reference/jsFileCompilationRestParameter.errors.txt create mode 100644 tests/baselines/reference/jsFileCompilationShortHandProperty.errors.txt create mode 100644 tests/baselines/reference/jsFileCompilationWithEnabledCompositeOption.errors.txt create mode 100644 tests/baselines/reference/jsFileCompilationWithOut.errors.txt create mode 100644 tests/baselines/reference/jsObjectsMarkedAsOpenEnded.errors.txt create mode 100644 tests/baselines/reference/jsdocAccessibilityTagsDeclarations.errors.txt create mode 100644 tests/baselines/reference/jsdocLiteral.errors.txt create mode 100644 tests/baselines/reference/jsdocNeverUndefinedNull.errors.txt create mode 100644 tests/baselines/reference/jsdocReadonlyDeclarations.errors.txt create mode 100644 tests/baselines/reference/jsdocReturnTag1.errors.txt create mode 100644 tests/baselines/reference/methodsReturningThis.errors.txt create mode 100644 tests/baselines/reference/multipleDeclarations.errors.txt create mode 100644 tests/baselines/reference/outModuleConcatCommonjsDeclarationOnly.errors.txt create mode 100644 tests/baselines/reference/signaturesUseJSDocForOptionalParameters.errors.txt create mode 100644 tests/baselines/reference/sourceMapWithCaseSensitiveFileNames.errors.txt create mode 100644 tests/baselines/reference/sourceMapWithMultipleFilesWithCopyright.errors.txt create mode 100644 tests/baselines/reference/sourceMapWithMultipleFilesWithFileEndingWithInterface.errors.txt create mode 100644 tests/baselines/reference/sourceMapWithNonCaseSensitiveFileNames.errors.txt create mode 100644 tests/baselines/reference/topLevelThisAssignment.errors.txt create mode 100644 tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-incremental-discrepancies.js create mode 100644 tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-incremental-discrepancies.js create mode 100644 tests/baselines/reference/uniqueSymbolsDeclarationsInJs.errors.txt create mode 100644 tests/baselines/reference/useBeforeDeclaration.errors.txt diff --git a/tests/baselines/reference/alwaysStrictModule2.errors.txt b/tests/baselines/reference/alwaysStrictModule2.errors.txt index d1302f9c0c5f0..9f15368183c0a 100644 --- a/tests/baselines/reference/alwaysStrictModule2.errors.txt +++ b/tests/baselines/reference/alwaysStrictModule2.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. a.ts(3,13): error TS1100: Invalid use of 'arguments' in strict mode. b.ts(3,13): error TS1100: Invalid use of 'arguments' in strict mode. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== a.ts (1 errors) ==== namespace M { export function f() { diff --git a/tests/baselines/reference/amdDeclarationEmitNoExtraDeclare.errors.txt b/tests/baselines/reference/amdDeclarationEmitNoExtraDeclare.errors.txt index 3e48ae27ac125..b78698d948e8a 100644 --- a/tests/baselines/reference/amdDeclarationEmitNoExtraDeclare.errors.txt +++ b/tests/baselines/reference/amdDeclarationEmitNoExtraDeclare.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== Class.ts (0 errors) ==== import { Configurable } from "./Configurable" diff --git a/tests/baselines/reference/amdModuleBundleNoDuplicateDeclarationEmitComments.errors.txt b/tests/baselines/reference/amdModuleBundleNoDuplicateDeclarationEmitComments.errors.txt index a0f10142a0010..c4877ef823505 100644 --- a/tests/baselines/reference/amdModuleBundleNoDuplicateDeclarationEmitComments.errors.txt +++ b/tests/baselines/reference/amdModuleBundleNoDuplicateDeclarationEmitComments.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== file1.ts (0 errors) ==== /// diff --git a/tests/baselines/reference/blockScopedClassDeclarationAcrossFiles.errors.txt b/tests/baselines/reference/blockScopedClassDeclarationAcrossFiles.errors.txt new file mode 100644 index 0000000000000..b6330212c6cb4 --- /dev/null +++ b/tests/baselines/reference/blockScopedClassDeclarationAcrossFiles.errors.txt @@ -0,0 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== c.ts (0 errors) ==== + let foo: typeof C; +==== b.ts (0 errors) ==== + class C { } + \ No newline at end of file diff --git a/tests/baselines/reference/blockScopedNamespaceDifferentFile.errors.txt b/tests/baselines/reference/blockScopedNamespaceDifferentFile.errors.txt index fa5f3d7a5cc72..dc3f899b5a225 100644 --- a/tests/baselines/reference/blockScopedNamespaceDifferentFile.errors.txt +++ b/tests/baselines/reference/blockScopedNamespaceDifferentFile.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== test.ts (0 errors) ==== namespace C { diff --git a/tests/baselines/reference/bundledDtsLateExportRenaming.errors.txt b/tests/baselines/reference/bundledDtsLateExportRenaming.errors.txt new file mode 100644 index 0000000000000..8c444742255a6 --- /dev/null +++ b/tests/baselines/reference/bundledDtsLateExportRenaming.errors.txt @@ -0,0 +1,30 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== index.ts (0 errors) ==== + export * from "./nested"; + +==== nested/base.ts (0 errors) ==== + import { B } from "./shared"; + + export function f() { + return new B(); + } + +==== nested/derived.ts (0 errors) ==== + import { f } from "./base"; + + export function g() { + return f(); + } + +==== nested/index.ts (0 errors) ==== + export * from "./base"; + + export * from "./derived"; + export * from "./shared"; + +==== nested/shared.ts (0 errors) ==== + export class B {} + \ No newline at end of file diff --git a/tests/baselines/reference/bundledDtsLateExportRenaming.js b/tests/baselines/reference/bundledDtsLateExportRenaming.js index 4e7483a20d845..52b642b655e1f 100644 --- a/tests/baselines/reference/bundledDtsLateExportRenaming.js +++ b/tests/baselines/reference/bundledDtsLateExportRenaming.js @@ -49,34 +49,3 @@ declare module "nested/index" { declare module "index" { export * from "nested/index"; } - - -//// [DtsFileErrors] - - -dist/out.d.ts(10,33): error TS2307: Cannot find module 'nested' or its corresponding type declarations. - - -==== dist/out.d.ts (1 errors) ==== - declare module "nested/shared" { - export class B { - } - } - declare module "nested/base" { - import { B } from "nested/shared"; - export function f(): B; - } - declare module "nested/derived" { - export function g(): import("nested").B; - ~~~~~~~~ -!!! error TS2307: Cannot find module 'nested' or its corresponding type declarations. - } - declare module "nested/index" { - export * from "nested/base"; - export * from "nested/derived"; - export * from "nested/shared"; - } - declare module "index" { - export * from "nested/index"; - } - \ No newline at end of file diff --git a/tests/baselines/reference/checkIndexConstraintOfJavascriptClassExpression.errors.txt b/tests/baselines/reference/checkIndexConstraintOfJavascriptClassExpression.errors.txt index fa22beceb33e2..462e4957a6427 100644 --- a/tests/baselines/reference/checkIndexConstraintOfJavascriptClassExpression.errors.txt +++ b/tests/baselines/reference/checkIndexConstraintOfJavascriptClassExpression.errors.txt @@ -1,8 +1,10 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. weird.js(1,1): error TS2552: Cannot find name 'someFunction'. Did you mean 'Function'? weird.js(1,23): error TS7006: Parameter 'BaseClass' implicitly has an 'any' type. weird.js(9,17): error TS7006: Parameter 'error' implicitly has an 'any' type. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== weird.js (3 errors) ==== someFunction(function(BaseClass) { ~~~~~~~~~~~~ diff --git a/tests/baselines/reference/checkJsdocOnEndOfFile.errors.txt b/tests/baselines/reference/checkJsdocOnEndOfFile.errors.txt index 19e950b028c0a..c02276f9a5bba 100644 --- a/tests/baselines/reference/checkJsdocOnEndOfFile.errors.txt +++ b/tests/baselines/reference/checkJsdocOnEndOfFile.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. eof.js(2,20): error TS2304: Cannot find name 'bad'. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== eof.js (1 errors) ==== /** * @typedef {Array} Should have error here diff --git a/tests/baselines/reference/checkJsdocReturnTag1.errors.txt b/tests/baselines/reference/checkJsdocReturnTag1.errors.txt index 47f1a3209dede..978047ca196a9 100644 --- a/tests/baselines/reference/checkJsdocReturnTag1.errors.txt +++ b/tests/baselines/reference/checkJsdocReturnTag1.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. returns.js(20,12): error TS2872: This kind of expression is always truthy. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== returns.js (1 errors) ==== // @ts-check /** diff --git a/tests/baselines/reference/checkJsdocReturnTag2.errors.txt b/tests/baselines/reference/checkJsdocReturnTag2.errors.txt index c5ab204ed8438..f1a0fab470ea6 100644 --- a/tests/baselines/reference/checkJsdocReturnTag2.errors.txt +++ b/tests/baselines/reference/checkJsdocReturnTag2.errors.txt @@ -1,9 +1,11 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. returns.js(6,5): error TS2322: Type 'number' is not assignable to type 'string'. returns.js(13,5): error TS2322: Type 'number | boolean' is not assignable to type 'string | number'. Type 'boolean' is not assignable to type 'string | number'. returns.js(13,12): error TS2872: This kind of expression is always truthy. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== returns.js (3 errors) ==== // @ts-check /** diff --git a/tests/baselines/reference/commonSourceDir5.errors.txt b/tests/baselines/reference/commonSourceDir5.errors.txt index 33dc2ec159f5f..fc7c14e7b5edc 100644 --- a/tests/baselines/reference/commonSourceDir5.errors.txt +++ b/tests/baselines/reference/commonSourceDir5.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== A:/bar.ts (0 errors) ==== import {z} from "./foo"; diff --git a/tests/baselines/reference/commonSourceDir6.errors.txt b/tests/baselines/reference/commonSourceDir6.errors.txt index fe46c907271ff..870d7038f8575 100644 --- a/tests/baselines/reference/commonSourceDir6.errors.txt +++ b/tests/baselines/reference/commonSourceDir6.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== a/bar.ts (0 errors) ==== import {z} from "./foo"; diff --git a/tests/baselines/reference/compilerOptionsOutAndNoEmit.errors.txt b/tests/baselines/reference/compilerOptionsOutAndNoEmit.errors.txt new file mode 100644 index 0000000000000..0330a2f1a2816 --- /dev/null +++ b/tests/baselines/reference/compilerOptionsOutAndNoEmit.errors.txt @@ -0,0 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== a.ts (0 errors) ==== + class c { + } + \ No newline at end of file diff --git a/tests/baselines/reference/compilerOptionsOutFileAndNoEmit.errors.txt b/tests/baselines/reference/compilerOptionsOutFileAndNoEmit.errors.txt new file mode 100644 index 0000000000000..0330a2f1a2816 --- /dev/null +++ b/tests/baselines/reference/compilerOptionsOutFileAndNoEmit.errors.txt @@ -0,0 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== a.ts (0 errors) ==== + class c { + } + \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNames52(target=es2015).errors.txt b/tests/baselines/reference/computedPropertyNames52(target=es2015).errors.txt new file mode 100644 index 0000000000000..1e229b0db8f79 --- /dev/null +++ b/tests/baselines/reference/computedPropertyNames52(target=es2015).errors.txt @@ -0,0 +1,13 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== computedPropertyNames52.js (0 errors) ==== + const array = []; + for (let i = 0; i < 10; ++i) { + array.push(class C { + [i] = () => C; + static [i] = 100; + }) + } + \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNames52(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames52(target=es5).errors.txt new file mode 100644 index 0000000000000..1e229b0db8f79 --- /dev/null +++ b/tests/baselines/reference/computedPropertyNames52(target=es5).errors.txt @@ -0,0 +1,13 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== computedPropertyNames52.js (0 errors) ==== + const array = []; + for (let i = 0; i < 10; ++i) { + array.push(class C { + [i] = () => C; + static [i] = 100; + }) + } + \ No newline at end of file diff --git a/tests/baselines/reference/constDeclarations-useBeforeDefinition2.errors.txt b/tests/baselines/reference/constDeclarations-useBeforeDefinition2.errors.txt index f3d7cc7f4c0f8..ec301084dfe92 100644 --- a/tests/baselines/reference/constDeclarations-useBeforeDefinition2.errors.txt +++ b/tests/baselines/reference/constDeclarations-useBeforeDefinition2.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. file1.ts(1,1): error TS2448: Block-scoped variable 'c' used before its declaration. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== file1.ts (1 errors) ==== c; ~ diff --git a/tests/baselines/reference/controlFlowJavascript.errors.txt b/tests/baselines/reference/controlFlowJavascript.errors.txt new file mode 100644 index 0000000000000..295f82b4efabc --- /dev/null +++ b/tests/baselines/reference/controlFlowJavascript.errors.txt @@ -0,0 +1,109 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== controlFlowJavascript.js (0 errors) ==== + let cond = true; + + // CFA for 'let' and no initializer + function f1() { + let x; + if (cond) { + x = 1; + } + if (cond) { + x = "hello"; + } + const y = x; // string | number | undefined + } + + // CFA for 'let' and 'undefined' initializer + function f2() { + let x = undefined; + if (cond) { + x = 1; + } + if (cond) { + x = "hello"; + } + const y = x; // string | number | undefined + } + + // CFA for 'let' and 'null' initializer + function f3() { + let x = null; + if (cond) { + x = 1; + } + if (cond) { + x = "hello"; + } + const y = x; // string | number | null + } + + // CFA for 'var' with no initializer + function f5() { + var x; + if (cond) { + x = 1; + } + if (cond) { + x = "hello"; + } + const y = x; // string | number | undefined + } + + // CFA for 'var' with 'undefined' initializer + function f6() { + var x = undefined; + if (cond) { + x = 1; + } + if (cond) { + x = "hello"; + } + const y = x; // string | number | undefined + } + + // CFA for 'var' with 'null' initializer + function f7() { + var x = null; + if (cond) { + x = 1; + } + if (cond) { + x = "hello"; + } + const y = x; // string | number | null + } + + // No CFA for captured outer variables + function f9() { + let x; + if (cond) { + x = 1; + } + if (cond) { + x = "hello"; + } + const y = x; // string | number | undefined + function f() { + const z = x; // any + } + } + + // No CFA for captured outer variables + function f10() { + let x; + if (cond) { + x = 1; + } + if (cond) { + x = "hello"; + } + const y = x; // string | number | undefined + const f = () => { + const z = x; // any + }; + } + \ No newline at end of file diff --git a/tests/baselines/reference/controlFlowJavascript.types b/tests/baselines/reference/controlFlowJavascript.types index f4408c17367fe..9eb2666b73f13 100644 --- a/tests/baselines/reference/controlFlowJavascript.types +++ b/tests/baselines/reference/controlFlowJavascript.types @@ -14,6 +14,7 @@ function f1() { let x; >x : any +> : ^^^ if (cond) { >cond : boolean @@ -23,6 +24,7 @@ function f1() { >x = 1 : 1 > : ^ >x : any +> : ^^^ >1 : 1 > : ^ } @@ -34,6 +36,7 @@ function f1() { >x = "hello" : "hello" > : ^^^^^^^ >x : any +> : ^^^ >"hello" : "hello" > : ^^^^^^^ } @@ -51,6 +54,7 @@ function f2() { let x = undefined; >x : any +> : ^^^ >undefined : undefined > : ^^^^^^^^^ @@ -62,6 +66,7 @@ function f2() { >x = 1 : 1 > : ^ >x : any +> : ^^^ >1 : 1 > : ^ } @@ -73,6 +78,7 @@ function f2() { >x = "hello" : "hello" > : ^^^^^^^ >x : any +> : ^^^ >"hello" : "hello" > : ^^^^^^^ } @@ -90,6 +96,7 @@ function f3() { let x = null; >x : any +> : ^^^ if (cond) { >cond : boolean @@ -99,6 +106,7 @@ function f3() { >x = 1 : 1 > : ^ >x : any +> : ^^^ >1 : 1 > : ^ } @@ -110,6 +118,7 @@ function f3() { >x = "hello" : "hello" > : ^^^^^^^ >x : any +> : ^^^ >"hello" : "hello" > : ^^^^^^^ } @@ -127,6 +136,7 @@ function f5() { var x; >x : any +> : ^^^ if (cond) { >cond : boolean @@ -136,6 +146,7 @@ function f5() { >x = 1 : 1 > : ^ >x : any +> : ^^^ >1 : 1 > : ^ } @@ -147,6 +158,7 @@ function f5() { >x = "hello" : "hello" > : ^^^^^^^ >x : any +> : ^^^ >"hello" : "hello" > : ^^^^^^^ } @@ -164,6 +176,7 @@ function f6() { var x = undefined; >x : any +> : ^^^ >undefined : undefined > : ^^^^^^^^^ @@ -175,6 +188,7 @@ function f6() { >x = 1 : 1 > : ^ >x : any +> : ^^^ >1 : 1 > : ^ } @@ -186,6 +200,7 @@ function f6() { >x = "hello" : "hello" > : ^^^^^^^ >x : any +> : ^^^ >"hello" : "hello" > : ^^^^^^^ } @@ -203,6 +218,7 @@ function f7() { var x = null; >x : any +> : ^^^ if (cond) { >cond : boolean @@ -212,6 +228,7 @@ function f7() { >x = 1 : 1 > : ^ >x : any +> : ^^^ >1 : 1 > : ^ } @@ -223,6 +240,7 @@ function f7() { >x = "hello" : "hello" > : ^^^^^^^ >x : any +> : ^^^ >"hello" : "hello" > : ^^^^^^^ } @@ -240,6 +258,7 @@ function f9() { let x; >x : any +> : ^^^ if (cond) { >cond : boolean @@ -249,6 +268,7 @@ function f9() { >x = 1 : 1 > : ^ >x : any +> : ^^^ >1 : 1 > : ^ } @@ -260,6 +280,7 @@ function f9() { >x = "hello" : "hello" > : ^^^^^^^ >x : any +> : ^^^ >"hello" : "hello" > : ^^^^^^^ } @@ -275,7 +296,9 @@ function f9() { const z = x; // any >z : any +> : ^^^ >x : any +> : ^^^ } } @@ -286,6 +309,7 @@ function f10() { let x; >x : any +> : ^^^ if (cond) { >cond : boolean @@ -295,6 +319,7 @@ function f10() { >x = 1 : 1 > : ^ >x : any +> : ^^^ >1 : 1 > : ^ } @@ -306,6 +331,7 @@ function f10() { >x = "hello" : "hello" > : ^^^^^^^ >x : any +> : ^^^ >"hello" : "hello" > : ^^^^^^^ } @@ -323,7 +349,9 @@ function f10() { const z = x; // any >z : any +> : ^^^ >x : any +> : ^^^ }; } diff --git a/tests/baselines/reference/declFileWithErrorsInInputDeclarationFileWithOut.errors.txt b/tests/baselines/reference/declFileWithErrorsInInputDeclarationFileWithOut.errors.txt index dac66868a5172..41fc7268d4aeb 100644 --- a/tests/baselines/reference/declFileWithErrorsInInputDeclarationFileWithOut.errors.txt +++ b/tests/baselines/reference/declFileWithErrorsInInputDeclarationFileWithOut.errors.txt @@ -1,9 +1,11 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. declFile.d.ts(2,5): error TS1038: A 'declare' modifier cannot be used in an already ambient context. declFile.d.ts(3,5): error TS1038: A 'declare' modifier cannot be used in an already ambient context. declFile.d.ts(5,5): error TS1038: A 'declare' modifier cannot be used in an already ambient context. declFile.d.ts(7,5): error TS1038: A 'declare' modifier cannot be used in an already ambient context. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== client.ts (0 errors) ==== /// var x = new M.C(); // Declaration file wont get emitted because there are errors in declaration file diff --git a/tests/baselines/reference/declarationEmitAmdModuleDefault.errors.txt b/tests/baselines/reference/declarationEmitAmdModuleDefault.errors.txt index f5d93de80e5ea..2a3d52cc51590 100644 --- a/tests/baselines/reference/declarationEmitAmdModuleDefault.errors.txt +++ b/tests/baselines/reference/declarationEmitAmdModuleDefault.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== declarationEmitAmdModuleDefault.ts (0 errors) ==== export default class DefaultClass { } \ No newline at end of file diff --git a/tests/baselines/reference/declarationEmitBundleWithAmbientReferences.errors.txt b/tests/baselines/reference/declarationEmitBundleWithAmbientReferences.errors.txt index 50a797b87f127..b35e12ef152f7 100644 --- a/tests/baselines/reference/declarationEmitBundleWithAmbientReferences.errors.txt +++ b/tests/baselines/reference/declarationEmitBundleWithAmbientReferences.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== lib/lib.d.ts (0 errors) ==== declare module "lib/result" { diff --git a/tests/baselines/reference/declarationEmitCommonSourceDirectoryDoesNotContainAllFiles.errors.txt b/tests/baselines/reference/declarationEmitCommonSourceDirectoryDoesNotContainAllFiles.errors.txt new file mode 100644 index 0000000000000..ea1f64fae5c27 --- /dev/null +++ b/tests/baselines/reference/declarationEmitCommonSourceDirectoryDoesNotContainAllFiles.errors.txt @@ -0,0 +1,16 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== /a/index.ts (0 errors) ==== + export * from "./src/" +==== /b/index.ts (0 errors) ==== + export * from "./src/" +==== /b/src/index.ts (0 errors) ==== + export class B {} +==== /a/src/index.ts (0 errors) ==== + import { B } from "b"; + + export default function () { + return new B(); + } \ No newline at end of file diff --git a/tests/baselines/reference/declarationEmitCommonSourceDirectoryDoesNotContainAllFiles.js b/tests/baselines/reference/declarationEmitCommonSourceDirectoryDoesNotContainAllFiles.js index 993c4598352a9..a5afb1395aba4 100644 --- a/tests/baselines/reference/declarationEmitCommonSourceDirectoryDoesNotContainAllFiles.js +++ b/tests/baselines/reference/declarationEmitCommonSourceDirectoryDoesNotContainAllFiles.js @@ -23,22 +23,3 @@ declare module "src/index" { declare module "index" { export * from "src/index"; } - - -//// [DtsFileErrors] - - -/a/dist/index.d.ts(2,23): error TS2307: Cannot find module 'b' or its corresponding type declarations. - - -==== /a/dist/index.d.ts (1 errors) ==== - declare module "src/index" { - import { B } from "b"; - ~~~ -!!! error TS2307: Cannot find module 'b' or its corresponding type declarations. - export default function (): B; - } - declare module "index" { - export * from "src/index"; - } - \ No newline at end of file diff --git a/tests/baselines/reference/declarationEmitDefaultExportWithTempVarNameWithBundling.errors.txt b/tests/baselines/reference/declarationEmitDefaultExportWithTempVarNameWithBundling.errors.txt index 6e43f0a6d1213..1c092f652be1c 100644 --- a/tests/baselines/reference/declarationEmitDefaultExportWithTempVarNameWithBundling.errors.txt +++ b/tests/baselines/reference/declarationEmitDefaultExportWithTempVarNameWithBundling.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== pi.ts (0 errors) ==== export default 3.14159; \ No newline at end of file diff --git a/tests/baselines/reference/declarationEmitOutFileBundlePaths.errors.txt b/tests/baselines/reference/declarationEmitOutFileBundlePaths.errors.txt new file mode 100644 index 0000000000000..01ae7ea639b1e --- /dev/null +++ b/tests/baselines/reference/declarationEmitOutFileBundlePaths.errors.txt @@ -0,0 +1,16 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== js/versions.static.js (0 errors) ==== + export default { + "@a/b": "1.0.0", + "@a/c": "1.2.3" + }; +==== js/index.js (0 errors) ==== + import versions from './versions.static.js'; + + export { + versions + }; + \ No newline at end of file diff --git a/tests/baselines/reference/declarationEmitPrefersPathKindBasedOnBundling2.errors.txt b/tests/baselines/reference/declarationEmitPrefersPathKindBasedOnBundling2.errors.txt index 61dd1f4f22343..ffd31d2848ed2 100644 --- a/tests/baselines/reference/declarationEmitPrefersPathKindBasedOnBundling2.errors.txt +++ b/tests/baselines/reference/declarationEmitPrefersPathKindBasedOnBundling2.errors.txt @@ -1,10 +1,12 @@ error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. Visit https://aka.ms/ts6 for migration information. +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5101: Visit https://aka.ms/ts6 for migration information. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== src/lib/operators/scalar.ts (0 errors) ==== export interface Scalar { diff --git a/tests/baselines/reference/declarationFileOverwriteErrorWithOut.errors.txt b/tests/baselines/reference/declarationFileOverwriteErrorWithOut.errors.txt index 42418f6900c2e..2e7769a83898d 100644 --- a/tests/baselines/reference/declarationFileOverwriteErrorWithOut.errors.txt +++ b/tests/baselines/reference/declarationFileOverwriteErrorWithOut.errors.txt @@ -1,9 +1,11 @@ error TS5055: Cannot write file '/out.d.ts' because it would overwrite input file. Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig. +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5055: Cannot write file '/out.d.ts' because it would overwrite input file. !!! error TS5055: Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== /out.d.ts (0 errors) ==== declare class c { } diff --git a/tests/baselines/reference/declarationFilesGeneratingTypeReferences.errors.txt b/tests/baselines/reference/declarationFilesGeneratingTypeReferences.errors.txt new file mode 100644 index 0000000000000..7f627a922cdd4 --- /dev/null +++ b/tests/baselines/reference/declarationFilesGeneratingTypeReferences.errors.txt @@ -0,0 +1,15 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== /a/node_modules/@types/jquery/index.d.ts (0 errors) ==== + interface JQuery { + + } + +==== /a/app.ts (0 errors) ==== + /// + namespace Test { + export var x: JQuery; + } + \ No newline at end of file diff --git a/tests/baselines/reference/declarationFilesGeneratingTypeReferences.js b/tests/baselines/reference/declarationFilesGeneratingTypeReferences.js index 91b3f03563fa8..ab7e828779193 100644 --- a/tests/baselines/reference/declarationFilesGeneratingTypeReferences.js +++ b/tests/baselines/reference/declarationFilesGeneratingTypeReferences.js @@ -24,24 +24,3 @@ var Test; declare namespace Test { var x: JQuery; } - - -//// [DtsFileErrors] - - -out.d.ts(1,23): error TS2688: Cannot find type definition file for 'jquery'. - - -==== /a/node_modules/@types/jquery/index.d.ts (0 errors) ==== - interface JQuery { - - } - -==== out.d.ts (1 errors) ==== - /// - ~~~~~~ -!!! error TS2688: Cannot find type definition file for 'jquery'. - declare namespace Test { - var x: JQuery; - } - \ No newline at end of file diff --git a/tests/baselines/reference/declarationMapsOutFile.errors.txt b/tests/baselines/reference/declarationMapsOutFile.errors.txt index 8732b01aa92ca..79ad38d304bec 100644 --- a/tests/baselines/reference/declarationMapsOutFile.errors.txt +++ b/tests/baselines/reference/declarationMapsOutFile.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== a.ts (0 errors) ==== export class Foo { diff --git a/tests/baselines/reference/declarationMapsOutFile2.errors.txt b/tests/baselines/reference/declarationMapsOutFile2.errors.txt new file mode 100644 index 0000000000000..79396a123463b --- /dev/null +++ b/tests/baselines/reference/declarationMapsOutFile2.errors.txt @@ -0,0 +1,19 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== a.ts (0 errors) ==== + class Foo { + doThing(x: {a: number}) { + return {b: x.a}; + } + static make() { + return new Foo(); + } + } +==== index.ts (0 errors) ==== + const c = new Foo(); + c.doThing({a: 42}); + + let x = c.doThing({a: 12}); + \ No newline at end of file diff --git a/tests/baselines/reference/declarationMapsWithSourceMap.errors.txt b/tests/baselines/reference/declarationMapsWithSourceMap.errors.txt new file mode 100644 index 0000000000000..79396a123463b --- /dev/null +++ b/tests/baselines/reference/declarationMapsWithSourceMap.errors.txt @@ -0,0 +1,19 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== a.ts (0 errors) ==== + class Foo { + doThing(x: {a: number}) { + return {b: x.a}; + } + static make() { + return new Foo(); + } + } +==== index.ts (0 errors) ==== + const c = new Foo(); + c.doThing({a: 42}); + + let x = c.doThing({a: 12}); + \ No newline at end of file diff --git a/tests/baselines/reference/deprecatedCompilerOptions1.errors.txt b/tests/baselines/reference/deprecatedCompilerOptions1.errors.txt index effa688c713b0..c06c55655f590 100644 --- a/tests/baselines/reference/deprecatedCompilerOptions1.errors.txt +++ b/tests/baselines/reference/deprecatedCompilerOptions1.errors.txt @@ -6,7 +6,6 @@ /foo/tsconfig.json(8,9): error TS5101: Option 'noStrictGenericChecks' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error. /foo/tsconfig.json(9,9): error TS5101: Option 'charset' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error. /foo/tsconfig.json(10,9): error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error. - Use 'outFile' instead. ==== /foo/tsconfig.json (8 errors) ==== @@ -36,7 +35,6 @@ "out": "dist.js" ~~~~~ !!! error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error. -!!! error TS5101: Use 'outFile' instead. } } diff --git a/tests/baselines/reference/deprecatedCompilerOptions3.errors.txt b/tests/baselines/reference/deprecatedCompilerOptions3.errors.txt index c484184a8cba4..c00d752f39546 100644 --- a/tests/baselines/reference/deprecatedCompilerOptions3.errors.txt +++ b/tests/baselines/reference/deprecatedCompilerOptions3.errors.txt @@ -6,7 +6,6 @@ /foo/tsconfig.json(8,9): error TS5102: Option 'noStrictGenericChecks' has been removed. Please remove it from your configuration. /foo/tsconfig.json(9,9): error TS5102: Option 'charset' has been removed. Please remove it from your configuration. /foo/tsconfig.json(10,9): error TS5102: Option 'out' has been removed. Please remove it from your configuration. - Use 'outFile' instead. ==== /foo/tsconfig.json (8 errors) ==== @@ -36,7 +35,6 @@ "out": "dist.js", ~~~~~ !!! error TS5102: Option 'out' has been removed. Please remove it from your configuration. -!!! error TS5102: Use 'outFile' instead. } } diff --git a/tests/baselines/reference/deprecatedCompilerOptions4.errors.txt b/tests/baselines/reference/deprecatedCompilerOptions4.errors.txt index 01d4b95238ce6..c24bb8607fe16 100644 --- a/tests/baselines/reference/deprecatedCompilerOptions4.errors.txt +++ b/tests/baselines/reference/deprecatedCompilerOptions4.errors.txt @@ -6,7 +6,6 @@ /foo/tsconfig.json(8,9): error TS5102: Option 'noStrictGenericChecks' has been removed. Please remove it from your configuration. /foo/tsconfig.json(9,9): error TS5102: Option 'charset' has been removed. Please remove it from your configuration. /foo/tsconfig.json(10,9): error TS5102: Option 'out' has been removed. Please remove it from your configuration. - Use 'outFile' instead. ==== /foo/tsconfig.json (8 errors) ==== @@ -36,7 +35,6 @@ "out": "dist.js", ~~~~~ !!! error TS5102: Option 'out' has been removed. Please remove it from your configuration. -!!! error TS5102: Use 'outFile' instead. "ignoreDeprecations": "5.0" } } diff --git a/tests/baselines/reference/deprecatedCompilerOptions5.errors.txt b/tests/baselines/reference/deprecatedCompilerOptions5.errors.txt index 01d4b95238ce6..c24bb8607fe16 100644 --- a/tests/baselines/reference/deprecatedCompilerOptions5.errors.txt +++ b/tests/baselines/reference/deprecatedCompilerOptions5.errors.txt @@ -6,7 +6,6 @@ /foo/tsconfig.json(8,9): error TS5102: Option 'noStrictGenericChecks' has been removed. Please remove it from your configuration. /foo/tsconfig.json(9,9): error TS5102: Option 'charset' has been removed. Please remove it from your configuration. /foo/tsconfig.json(10,9): error TS5102: Option 'out' has been removed. Please remove it from your configuration. - Use 'outFile' instead. ==== /foo/tsconfig.json (8 errors) ==== @@ -36,7 +35,6 @@ "out": "dist.js", ~~~~~ !!! error TS5102: Option 'out' has been removed. Please remove it from your configuration. -!!! error TS5102: Use 'outFile' instead. "ignoreDeprecations": "5.0" } } diff --git a/tests/baselines/reference/deprecatedCompilerOptions6.errors.txt b/tests/baselines/reference/deprecatedCompilerOptions6.errors.txt index 401c87dd813f0..3d220d77acdf0 100644 --- a/tests/baselines/reference/deprecatedCompilerOptions6.errors.txt +++ b/tests/baselines/reference/deprecatedCompilerOptions6.errors.txt @@ -7,7 +7,6 @@ /foo/tsconfig.json(9,9): error TS5101: Option 'noStrictGenericChecks' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error. /foo/tsconfig.json(10,9): error TS5101: Option 'charset' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error. /foo/tsconfig.json(11,9): error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error. - Use 'outFile' instead. /foo/tsconfig.json(12,31): error TS5103: Invalid value for '--ignoreDeprecations'. @@ -41,7 +40,6 @@ "out": "dist.js", ~~~~~ !!! error TS5101: Option 'out' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error. -!!! error TS5101: Use 'outFile' instead. "ignoreDeprecations": "5.1" ~~~~~ !!! error TS5103: Invalid value for '--ignoreDeprecations'. diff --git a/tests/baselines/reference/dynamicRequire.errors.txt b/tests/baselines/reference/dynamicRequire.errors.txt index 7fb9861b1c809..86b94e53fb8c0 100644 --- a/tests/baselines/reference/dynamicRequire.errors.txt +++ b/tests/baselines/reference/dynamicRequire.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== a.js (0 errors) ==== function foo(name) { diff --git a/tests/baselines/reference/emitBundleWithPrologueDirectives1.errors.txt b/tests/baselines/reference/emitBundleWithPrologueDirectives1.errors.txt index be3f26e9f4f17..2b0a50bc548e6 100644 --- a/tests/baselines/reference/emitBundleWithPrologueDirectives1.errors.txt +++ b/tests/baselines/reference/emitBundleWithPrologueDirectives1.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== test.ts (0 errors) ==== /* Detached Comment */ diff --git a/tests/baselines/reference/emitBundleWithShebang1.errors.txt b/tests/baselines/reference/emitBundleWithShebang1.errors.txt index 021ac05175bd5..01ca1d3ba8974 100644 --- a/tests/baselines/reference/emitBundleWithShebang1.errors.txt +++ b/tests/baselines/reference/emitBundleWithShebang1.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== emitBundleWithShebang1.ts (0 errors) ==== #!/usr/bin/env gjs diff --git a/tests/baselines/reference/emitBundleWithShebang2.errors.txt b/tests/baselines/reference/emitBundleWithShebang2.errors.txt index a03d46fc493a9..11b1812fa3224 100644 --- a/tests/baselines/reference/emitBundleWithShebang2.errors.txt +++ b/tests/baselines/reference/emitBundleWithShebang2.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== test.ts (0 errors) ==== #!/usr/bin/env gjs diff --git a/tests/baselines/reference/emitBundleWithShebangAndPrologueDirectives1.errors.txt b/tests/baselines/reference/emitBundleWithShebangAndPrologueDirectives1.errors.txt index 1664ccbe0bf8a..1997915181d7c 100644 --- a/tests/baselines/reference/emitBundleWithShebangAndPrologueDirectives1.errors.txt +++ b/tests/baselines/reference/emitBundleWithShebangAndPrologueDirectives1.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== test.ts (0 errors) ==== #!/usr/bin/env gjs diff --git a/tests/baselines/reference/emitBundleWithShebangAndPrologueDirectives2.errors.txt b/tests/baselines/reference/emitBundleWithShebangAndPrologueDirectives2.errors.txt index 5aa3055ef8c13..d78e0bd69f794 100644 --- a/tests/baselines/reference/emitBundleWithShebangAndPrologueDirectives2.errors.txt +++ b/tests/baselines/reference/emitBundleWithShebangAndPrologueDirectives2.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== test.ts (0 errors) ==== #!/usr/bin/env gjs diff --git a/tests/baselines/reference/filesEmittingIntoSameOutputWithOutOption.errors.txt b/tests/baselines/reference/filesEmittingIntoSameOutputWithOutOption.errors.txt index 71d1329b520c5..66923f2e75169 100644 --- a/tests/baselines/reference/filesEmittingIntoSameOutputWithOutOption.errors.txt +++ b/tests/baselines/reference/filesEmittingIntoSameOutputWithOutOption.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== a.ts (0 errors) ==== export class c { diff --git a/tests/baselines/reference/genericSetterInClassTypeJsDoc.errors.txt b/tests/baselines/reference/genericSetterInClassTypeJsDoc.errors.txt new file mode 100644 index 0000000000000..b34e2978fe739 --- /dev/null +++ b/tests/baselines/reference/genericSetterInClassTypeJsDoc.errors.txt @@ -0,0 +1,28 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== genericSetterInClassTypeJsDoc.js (0 errors) ==== + /** + * @template T + */ + class Box { + #value; + + /** @param {T} initialValue */ + constructor(initialValue) { + this.#value = initialValue; + } + + /** @type {T} */ + get value() { + return this.#value; + } + + set value(value) { + this.#value = value; + } + } + + new Box(3).value = 3; + \ No newline at end of file diff --git a/tests/baselines/reference/globalThisVarDeclaration.errors.txt b/tests/baselines/reference/globalThisVarDeclaration.errors.txt index 7bbcdac3736cf..1d4929c6a648f 100644 --- a/tests/baselines/reference/globalThisVarDeclaration.errors.txt +++ b/tests/baselines/reference/globalThisVarDeclaration.errors.txt @@ -1,9 +1,11 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. actual.ts(12,5): error TS2339: Property 'a' does not exist on type 'Window'. actual.ts(13,5): error TS2339: Property 'b' does not exist on type 'Window'. b.js(12,5): error TS2339: Property 'a' does not exist on type 'Window'. b.js(13,5): error TS2339: Property 'b' does not exist on type 'Window'. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== b.js (2 errors) ==== var a = 10; this.a; diff --git a/tests/baselines/reference/importHelpersOutFile.errors.txt b/tests/baselines/reference/importHelpersOutFile.errors.txt index 10450e3f12f6c..2fc7e8ffeabae 100644 --- a/tests/baselines/reference/importHelpersOutFile.errors.txt +++ b/tests/baselines/reference/importHelpersOutFile.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== a.ts (0 errors) ==== export class A { } diff --git a/tests/baselines/reference/importTypeAmdBundleRewrite.errors.txt b/tests/baselines/reference/importTypeAmdBundleRewrite.errors.txt index 8986a26bb0304..ade25f886be10 100644 --- a/tests/baselines/reference/importTypeAmdBundleRewrite.errors.txt +++ b/tests/baselines/reference/importTypeAmdBundleRewrite.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== a/b/c.ts (0 errors) ==== export interface Foo { diff --git a/tests/baselines/reference/incrementalOut.errors.txt b/tests/baselines/reference/incrementalOut.errors.txt new file mode 100644 index 0000000000000..109917fd1f74c --- /dev/null +++ b/tests/baselines/reference/incrementalOut.errors.txt @@ -0,0 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== incrementalOut.ts (0 errors) ==== + const x = 10; + + \ No newline at end of file diff --git a/tests/baselines/reference/inferringClassMembersFromAssignments.errors.txt b/tests/baselines/reference/inferringClassMembersFromAssignments.errors.txt index d0ec3d2795394..ea7a8aec7af1f 100644 --- a/tests/baselines/reference/inferringClassMembersFromAssignments.errors.txt +++ b/tests/baselines/reference/inferringClassMembersFromAssignments.errors.txt @@ -1,8 +1,10 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. a.js(14,13): error TS7008: Member 'inMethodNullable' implicitly has an 'any' type. a.js(20,9): error TS2322: Type 'string' is not assignable to type 'number'. a.js(39,9): error TS2322: Type 'boolean' is not assignable to type 'number'. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== a.js (3 errors) ==== class C { constructor() { diff --git a/tests/baselines/reference/inlineSourceMap2.errors.txt b/tests/baselines/reference/inlineSourceMap2.errors.txt index e4ba724320001..a75327adb984e 100644 --- a/tests/baselines/reference/inlineSourceMap2.errors.txt +++ b/tests/baselines/reference/inlineSourceMap2.errors.txt @@ -1,9 +1,11 @@ error TS5053: Option 'mapRoot' cannot be specified with option 'inlineSourceMap'. error TS5053: Option 'sourceMap' cannot be specified with option 'inlineSourceMap'. +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5053: Option 'mapRoot' cannot be specified with option 'inlineSourceMap'. !!! error TS5053: Option 'sourceMap' cannot be specified with option 'inlineSourceMap'. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== inlineSourceMap2.ts (0 errors) ==== // configuration errors diff --git a/tests/baselines/reference/inlineSources.errors.txt b/tests/baselines/reference/inlineSources.errors.txt new file mode 100644 index 0000000000000..00080a5469031 --- /dev/null +++ b/tests/baselines/reference/inlineSources.errors.txt @@ -0,0 +1,12 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== a.ts (0 errors) ==== + var a = 0; + console.log(a); + +==== b.ts (0 errors) ==== + var b = 0; + console.log(b); + \ No newline at end of file diff --git a/tests/baselines/reference/inlineSources2.errors.txt b/tests/baselines/reference/inlineSources2.errors.txt new file mode 100644 index 0000000000000..00080a5469031 --- /dev/null +++ b/tests/baselines/reference/inlineSources2.errors.txt @@ -0,0 +1,12 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== a.ts (0 errors) ==== + var a = 0; + console.log(a); + +==== b.ts (0 errors) ==== + var b = 0; + console.log(b); + \ No newline at end of file diff --git a/tests/baselines/reference/isolatedDeclarationOutFile.errors.txt b/tests/baselines/reference/isolatedDeclarationOutFile.errors.txt index 3db3e59dd3df9..3e53956c6c6c9 100644 --- a/tests/baselines/reference/isolatedDeclarationOutFile.errors.txt +++ b/tests/baselines/reference/isolatedDeclarationOutFile.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== a.ts (0 errors) ==== export class A { diff --git a/tests/baselines/reference/isolatedModulesOut.errors.txt b/tests/baselines/reference/isolatedModulesOut.errors.txt index 9c2d706216e44..87d2bc77cf6bd 100644 --- a/tests/baselines/reference/isolatedModulesOut.errors.txt +++ b/tests/baselines/reference/isolatedModulesOut.errors.txt @@ -1,9 +1,7 @@ error TS5102: Option 'out' has been removed. Please remove it from your configuration. - Use 'outFile' instead. !!! error TS5102: Option 'out' has been removed. Please remove it from your configuration. -!!! error TS5102: Use 'outFile' instead. ==== file1.ts (0 errors) ==== export var x; ==== file2.ts (0 errors) ==== diff --git a/tests/baselines/reference/jsDeclarationsImportTypeBundled.errors.txt b/tests/baselines/reference/jsDeclarationsImportTypeBundled.errors.txt index 2c8a21b54d7a2..933365da2c1bc 100644 --- a/tests/baselines/reference/jsDeclarationsImportTypeBundled.errors.txt +++ b/tests/baselines/reference/jsDeclarationsImportTypeBundled.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== folder/mod1.js (0 errors) ==== /** diff --git a/tests/baselines/reference/jsFileCompilationClassMethodContainingArrowFunction.errors.txt b/tests/baselines/reference/jsFileCompilationClassMethodContainingArrowFunction.errors.txt new file mode 100644 index 0000000000000..6294075ca1194 --- /dev/null +++ b/tests/baselines/reference/jsFileCompilationClassMethodContainingArrowFunction.errors.txt @@ -0,0 +1,11 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== a.js (0 errors) ==== + class c { + method(a) { + let x = a => this.method(a); + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/jsFileCompilationClassMethodContainingArrowFunction.types b/tests/baselines/reference/jsFileCompilationClassMethodContainingArrowFunction.types index 26f1a4455ccf2..68626f05b442c 100644 --- a/tests/baselines/reference/jsFileCompilationClassMethodContainingArrowFunction.types +++ b/tests/baselines/reference/jsFileCompilationClassMethodContainingArrowFunction.types @@ -9,6 +9,7 @@ class c { >method : (a: any) => void > : ^ ^^^^^^^^^^^^^^ >a : any +> : ^^^ let x = a => this.method(a); >x : (a: any) => void @@ -16,6 +17,7 @@ class c { >a => this.method(a) : (a: any) => void > : ^ ^^^^^^^^^^^^^^ >a : any +> : ^^^ >this.method(a) : void > : ^^^^ >this.method : (a: any) => void @@ -25,6 +27,7 @@ class c { >method : (a: any) => void > : ^ ^^^^^^^^^^^^^^ >a : any +> : ^^^ } } diff --git a/tests/baselines/reference/jsFileCompilationDuplicateFunctionImplementation.errors.txt b/tests/baselines/reference/jsFileCompilationDuplicateFunctionImplementation.errors.txt index 51e16b7a0ce15..677972dc5178d 100644 --- a/tests/baselines/reference/jsFileCompilationDuplicateFunctionImplementation.errors.txt +++ b/tests/baselines/reference/jsFileCompilationDuplicateFunctionImplementation.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. a.ts(1,10): error TS2393: Duplicate function implementation. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== b.js (0 errors) ==== function foo() { return 10; diff --git a/tests/baselines/reference/jsFileCompilationDuplicateFunctionImplementationFileOrderReversed.errors.txt b/tests/baselines/reference/jsFileCompilationDuplicateFunctionImplementationFileOrderReversed.errors.txt index 142ed1352d92a..5ac6647743259 100644 --- a/tests/baselines/reference/jsFileCompilationDuplicateFunctionImplementationFileOrderReversed.errors.txt +++ b/tests/baselines/reference/jsFileCompilationDuplicateFunctionImplementationFileOrderReversed.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. a.ts(1,10): error TS2393: Duplicate function implementation. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== a.ts (1 errors) ==== function foo() { ~~~ diff --git a/tests/baselines/reference/jsFileCompilationDuplicateVariable.errors.txt b/tests/baselines/reference/jsFileCompilationDuplicateVariable.errors.txt new file mode 100644 index 0000000000000..32b119072cd55 --- /dev/null +++ b/tests/baselines/reference/jsFileCompilationDuplicateVariable.errors.txt @@ -0,0 +1,10 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== a.ts (0 errors) ==== + var x = 10; + +==== b.js (0 errors) ==== + var x = "hello"; // Error is recorded here, but suppressed because the js file isn't checked + \ No newline at end of file diff --git a/tests/baselines/reference/jsFileCompilationDuplicateVariable.js b/tests/baselines/reference/jsFileCompilationDuplicateVariable.js index 11416c427f7b1..6286060cac053 100644 --- a/tests/baselines/reference/jsFileCompilationDuplicateVariable.js +++ b/tests/baselines/reference/jsFileCompilationDuplicateVariable.js @@ -15,18 +15,3 @@ var x = "hello"; // Error is recorded here, but suppressed because the js file i //// [out.d.ts] declare var x: number; declare var x: string; - - -//// [DtsFileErrors] - - -out.d.ts(2,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'x' must be of type 'number', but here has type 'string'. - - -==== out.d.ts (1 errors) ==== - declare var x: number; - declare var x: string; - ~ -!!! error TS2403: Subsequent variable declarations must have the same type. Variable 'x' must be of type 'number', but here has type 'string'. -!!! related TS6203 out.d.ts:1:13: 'x' was also declared here. - \ No newline at end of file diff --git a/tests/baselines/reference/jsFileCompilationDuplicateVariableErrorReported.errors.txt b/tests/baselines/reference/jsFileCompilationDuplicateVariableErrorReported.errors.txt index a44b8c591ddfc..b3d54a7293f19 100644 --- a/tests/baselines/reference/jsFileCompilationDuplicateVariableErrorReported.errors.txt +++ b/tests/baselines/reference/jsFileCompilationDuplicateVariableErrorReported.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. a.ts(1,5): error TS2403: Subsequent variable declarations must have the same type. Variable 'x' must be of type 'string', but here has type 'number'. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== b.js (0 errors) ==== var x = "hello"; diff --git a/tests/baselines/reference/jsFileCompilationEmitDeclarations.errors.txt b/tests/baselines/reference/jsFileCompilationEmitDeclarations.errors.txt new file mode 100644 index 0000000000000..51667b535131d --- /dev/null +++ b/tests/baselines/reference/jsFileCompilationEmitDeclarations.errors.txt @@ -0,0 +1,12 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== a.ts (0 errors) ==== + class c { + } + +==== b.js (0 errors) ==== + function foo() { + } + \ No newline at end of file diff --git a/tests/baselines/reference/jsFileCompilationEmitTrippleSlashReference.errors.txt b/tests/baselines/reference/jsFileCompilationEmitTrippleSlashReference.errors.txt new file mode 100644 index 0000000000000..06289a1658af8 --- /dev/null +++ b/tests/baselines/reference/jsFileCompilationEmitTrippleSlashReference.errors.txt @@ -0,0 +1,17 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== a.ts (0 errors) ==== + class c { + } + +==== b.js (0 errors) ==== + /// + function foo() { + } + +==== c.js (0 errors) ==== + function bar() { + } + \ No newline at end of file diff --git a/tests/baselines/reference/jsFileCompilationErrorOnDeclarationsWithJsFileReferenceWithOut.errors.txt b/tests/baselines/reference/jsFileCompilationErrorOnDeclarationsWithJsFileReferenceWithOut.errors.txt new file mode 100644 index 0000000000000..b7b8ac10b4b4f --- /dev/null +++ b/tests/baselines/reference/jsFileCompilationErrorOnDeclarationsWithJsFileReferenceWithOut.errors.txt @@ -0,0 +1,17 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== a.ts (0 errors) ==== + class c { + } + +==== b.ts (0 errors) ==== + /// + function foo() { + } + +==== c.js (0 errors) ==== + function bar() { + } + \ No newline at end of file diff --git a/tests/baselines/reference/jsFileCompilationLetBeingRenamed.errors.txt b/tests/baselines/reference/jsFileCompilationLetBeingRenamed.errors.txt new file mode 100644 index 0000000000000..cc2d16b747d1d --- /dev/null +++ b/tests/baselines/reference/jsFileCompilationLetBeingRenamed.errors.txt @@ -0,0 +1,11 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== a.js (0 errors) ==== + function foo(a) { + for (let a = 0; a < 10; a++) { + // do something + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/jsFileCompilationLetBeingRenamed.types b/tests/baselines/reference/jsFileCompilationLetBeingRenamed.types index f77b25a5212e4..d16a887a5c6a3 100644 --- a/tests/baselines/reference/jsFileCompilationLetBeingRenamed.types +++ b/tests/baselines/reference/jsFileCompilationLetBeingRenamed.types @@ -5,6 +5,7 @@ function foo(a) { >foo : (a: any) => void > : ^ ^^^^^^^^^^^^^^ >a : any +> : ^^^ for (let a = 0; a < 10; a++) { >a : number diff --git a/tests/baselines/reference/jsFileCompilationLetDeclarationOrder.errors.txt b/tests/baselines/reference/jsFileCompilationLetDeclarationOrder.errors.txt new file mode 100644 index 0000000000000..6af1dd6cf71b1 --- /dev/null +++ b/tests/baselines/reference/jsFileCompilationLetDeclarationOrder.errors.txt @@ -0,0 +1,12 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== b.js (0 errors) ==== + let a = 10; + b = 30; + +==== a.ts (0 errors) ==== + let b = 30; + a = 10; + \ No newline at end of file diff --git a/tests/baselines/reference/jsFileCompilationLetDeclarationOrder2.errors.txt b/tests/baselines/reference/jsFileCompilationLetDeclarationOrder2.errors.txt index 7085a34f80d09..940600472d393 100644 --- a/tests/baselines/reference/jsFileCompilationLetDeclarationOrder2.errors.txt +++ b/tests/baselines/reference/jsFileCompilationLetDeclarationOrder2.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. a.ts(2,1): error TS2448: Block-scoped variable 'a' used before its declaration. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== a.ts (1 errors) ==== let b = 30; a = 10; diff --git a/tests/baselines/reference/jsFileCompilationNoErrorWithoutDeclarationsWithJsFileReferenceWithOut.errors.txt b/tests/baselines/reference/jsFileCompilationNoErrorWithoutDeclarationsWithJsFileReferenceWithOut.errors.txt new file mode 100644 index 0000000000000..8219901249429 --- /dev/null +++ b/tests/baselines/reference/jsFileCompilationNoErrorWithoutDeclarationsWithJsFileReferenceWithOut.errors.txt @@ -0,0 +1,18 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== a.ts (0 errors) ==== + class c { + } + +==== b.ts (0 errors) ==== + /// + //no error on above reference since not emitting declarations + function foo() { + } + +==== c.js (0 errors) ==== + function bar() { + } + \ No newline at end of file diff --git a/tests/baselines/reference/jsFileCompilationNonNullAssertion.errors.txt b/tests/baselines/reference/jsFileCompilationNonNullAssertion.errors.txt index 68250662d890c..bbb3b15c1a76b 100644 --- a/tests/baselines/reference/jsFileCompilationNonNullAssertion.errors.txt +++ b/tests/baselines/reference/jsFileCompilationNonNullAssertion.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. /src/a.js(1,1): error TS8013: Non-null assertions can only be used in TypeScript files. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== /src/a.js (1 errors) ==== 0! ~~ diff --git a/tests/baselines/reference/jsFileCompilationRestParamJsDocFunction.errors.txt b/tests/baselines/reference/jsFileCompilationRestParamJsDocFunction.errors.txt index caaae70c3ac3e..581060076c360 100644 --- a/tests/baselines/reference/jsFileCompilationRestParamJsDocFunction.errors.txt +++ b/tests/baselines/reference/jsFileCompilationRestParamJsDocFunction.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== _apply.js (0 errors) ==== /** diff --git a/tests/baselines/reference/jsFileCompilationRestParameter.errors.txt b/tests/baselines/reference/jsFileCompilationRestParameter.errors.txt new file mode 100644 index 0000000000000..c8ed07899bf8e --- /dev/null +++ b/tests/baselines/reference/jsFileCompilationRestParameter.errors.txt @@ -0,0 +1,7 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== a.js (0 errors) ==== + function foo(...a) { } + \ No newline at end of file diff --git a/tests/baselines/reference/jsFileCompilationShortHandProperty.errors.txt b/tests/baselines/reference/jsFileCompilationShortHandProperty.errors.txt new file mode 100644 index 0000000000000..e7fda26e0a2f7 --- /dev/null +++ b/tests/baselines/reference/jsFileCompilationShortHandProperty.errors.txt @@ -0,0 +1,14 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== a.js (0 errors) ==== + function foo() { + var a = 10; + var b = "Hello"; + return { + a, + b + }; + } + \ No newline at end of file diff --git a/tests/baselines/reference/jsFileCompilationTypeAssertions.errors.txt b/tests/baselines/reference/jsFileCompilationTypeAssertions.errors.txt index c120f1de95352..847a2eb27889c 100644 --- a/tests/baselines/reference/jsFileCompilationTypeAssertions.errors.txt +++ b/tests/baselines/reference/jsFileCompilationTypeAssertions.errors.txt @@ -1,8 +1,10 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. /src/a.js(1,6): error TS8016: Type assertion expressions can only be used in TypeScript files. /src/a.js(2,10): error TS17008: JSX element 'string' has no corresponding closing tag. /src/a.js(3,1): error TS1005: 'this.member = {} : {} > : ^^ >this.member : any +> : ^^^ >this : this > : ^^^^ >member : any @@ -44,7 +45,8 @@ class C { this.member.a = 0; >this.member.a = 0 : 0 > : ^ ->this.member.a : error +>this.member.a : any +> : ^^^ >this.member : {} > : ^^ >this : this @@ -75,7 +77,8 @@ var obj = { obj.property.a = 0; >obj.property.a = 0 : 0 > : ^ ->obj.property.a : error +>obj.property.a : any +> : ^^^ >obj.property : {} > : ^^ >obj : { property: {}; } @@ -122,6 +125,7 @@ variable.a = 1; >(new C()).member.a = 1 : 1 > : ^ >(new C()).member.a : any +> : ^^^ >(new C()).member : {} > : ^^ >(new C()) : C @@ -141,6 +145,7 @@ variable.a = 1; >(new C()).initializedMember.a = 1 : 1 > : ^ >(new C()).initializedMember.a : any +> : ^^^ >(new C()).initializedMember : {} > : ^^ >(new C()) : C @@ -160,6 +165,7 @@ obj.property.a = 1; >obj.property.a = 1 : 1 > : ^ >obj.property.a : any +> : ^^^ >obj.property : {} > : ^^ >obj : { property: {}; } @@ -175,6 +181,7 @@ arr[0].a = 1; >arr[0].a = 1 : 1 > : ^ >arr[0].a : any +> : ^^^ >arr[0] : {} > : ^^ >arr : {}[] @@ -190,6 +197,7 @@ getObj().a = 1; >getObj().a = 1 : 1 > : ^ >getObj().a : any +> : ^^^ >getObj() : {} > : ^^ >getObj : () => {} diff --git a/tests/baselines/reference/jsdocAccessibilityTagsDeclarations.errors.txt b/tests/baselines/reference/jsdocAccessibilityTagsDeclarations.errors.txt new file mode 100644 index 0000000000000..0cd2160f65128 --- /dev/null +++ b/tests/baselines/reference/jsdocAccessibilityTagsDeclarations.errors.txt @@ -0,0 +1,43 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== jsdocAccessibilityTagDeclarations.js (0 errors) ==== + class Protected { + /** @protected */ + constructor(c) { + /** @protected */ + this.c = c + } + /** @protected */ + m() { + return this.c + } + /** @protected */ + get p() { return this.c } + /** @protected */ + set p(value) { this.c = value } + } + + class Private { + /** @private */ + constructor(c) { + /** @private */ + this.c = c + } + /** @private */ + m() { + return this.c + } + /** @private */ + get p() { return this.c } + /** @private */ + set p(value) { this.c = value } + } + + // https://github.com/microsoft/TypeScript/issues/38401 + class C { + constructor(/** @public */ x, /** @protected */ y, /** @private */ z) { + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/jsdocAccessibilityTagsDeclarations.types b/tests/baselines/reference/jsdocAccessibilityTagsDeclarations.types index 07faa0a717dd0..1f9e3490d7b94 100644 --- a/tests/baselines/reference/jsdocAccessibilityTagsDeclarations.types +++ b/tests/baselines/reference/jsdocAccessibilityTagsDeclarations.types @@ -8,16 +8,20 @@ class Protected { /** @protected */ constructor(c) { >c : any +> : ^^^ /** @protected */ this.c = c >this.c = c : any +> : ^^^ >this.c : any +> : ^^^ >this : this > : ^^^^ >c : any > : ^^^ >c : any +> : ^^^ } /** @protected */ m() { @@ -26,6 +30,7 @@ class Protected { return this.c >this.c : any +> : ^^^ >this : this > : ^^^^ >c : any @@ -34,7 +39,9 @@ class Protected { /** @protected */ get p() { return this.c } >p : any +> : ^^^ >this.c : any +> : ^^^ >this : this > : ^^^^ >c : any @@ -43,14 +50,19 @@ class Protected { /** @protected */ set p(value) { this.c = value } >p : any +> : ^^^ >value : any +> : ^^^ >this.c = value : any +> : ^^^ >this.c : any +> : ^^^ >this : this > : ^^^^ >c : any > : ^^^ >value : any +> : ^^^ } class Private { @@ -60,16 +72,20 @@ class Private { /** @private */ constructor(c) { >c : any +> : ^^^ /** @private */ this.c = c >this.c = c : any +> : ^^^ >this.c : any +> : ^^^ >this : this > : ^^^^ >c : any > : ^^^ >c : any +> : ^^^ } /** @private */ m() { @@ -78,6 +94,7 @@ class Private { return this.c >this.c : any +> : ^^^ >this : this > : ^^^^ >c : any @@ -86,7 +103,9 @@ class Private { /** @private */ get p() { return this.c } >p : any +> : ^^^ >this.c : any +> : ^^^ >this : this > : ^^^^ >c : any @@ -95,14 +114,19 @@ class Private { /** @private */ set p(value) { this.c = value } >p : any +> : ^^^ >value : any +> : ^^^ >this.c = value : any +> : ^^^ >this.c : any +> : ^^^ >this : this > : ^^^^ >c : any > : ^^^ >value : any +> : ^^^ } // https://github.com/microsoft/TypeScript/issues/38401 @@ -112,8 +136,11 @@ class C { constructor(/** @public */ x, /** @protected */ y, /** @private */ z) { >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } } diff --git a/tests/baselines/reference/jsdocLiteral.errors.txt b/tests/baselines/reference/jsdocLiteral.errors.txt new file mode 100644 index 0000000000000..958fd3b537076 --- /dev/null +++ b/tests/baselines/reference/jsdocLiteral.errors.txt @@ -0,0 +1,16 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== in.js (0 errors) ==== + /** + * @param {'literal'} p1 + * @param {"literal"} p2 + * @param {'literal' | 'other'} p3 + * @param {'literal' | number} p4 + * @param {12 | true | 'str'} p5 + */ + function f(p1, p2, p3, p4, p5) { + return p1 + p2 + p3 + p4 + p5 + '.'; + } + \ No newline at end of file diff --git a/tests/baselines/reference/jsdocNeverUndefinedNull.errors.txt b/tests/baselines/reference/jsdocNeverUndefinedNull.errors.txt new file mode 100644 index 0000000000000..10ccd0ff34311 --- /dev/null +++ b/tests/baselines/reference/jsdocNeverUndefinedNull.errors.txt @@ -0,0 +1,14 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== in.js (0 errors) ==== + /** + * @param {never} p1 + * @param {undefined} p2 + * @param {null} p3 + * @returns {void} nothing + */ + function f(p1, p2, p3) { + } + \ No newline at end of file diff --git a/tests/baselines/reference/jsdocReadonlyDeclarations.errors.txt b/tests/baselines/reference/jsdocReadonlyDeclarations.errors.txt new file mode 100644 index 0000000000000..767924a35a0ad --- /dev/null +++ b/tests/baselines/reference/jsdocReadonlyDeclarations.errors.txt @@ -0,0 +1,30 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== jsdocReadonlyDeclarations.js (0 errors) ==== + class C { + /** @readonly */ + x = 6 + /** @readonly */ + constructor(n) { + this.x = n + /** + * @readonly + * @type {number} + */ + this.y = n + } + } + new C().x + + function F() { + /** @readonly */ + this.z = 1 + } + + // https://github.com/microsoft/TypeScript/issues/38401 + class D { + constructor(/** @readonly */ x) {} + } + \ No newline at end of file diff --git a/tests/baselines/reference/jsdocReadonlyDeclarations.types b/tests/baselines/reference/jsdocReadonlyDeclarations.types index 1f91b14674ba6..cd61a8cb9c88b 100644 --- a/tests/baselines/reference/jsdocReadonlyDeclarations.types +++ b/tests/baselines/reference/jsdocReadonlyDeclarations.types @@ -15,9 +15,11 @@ class C { /** @readonly */ constructor(n) { >n : any +> : ^^^ this.x = n >this.x = n : any +> : ^^^ >this.x : 6 > : ^ >this : this @@ -25,6 +27,7 @@ class C { >x : 6 > : ^ >n : any +> : ^^^ /** * @readonly @@ -32,6 +35,7 @@ class C { */ this.y = n >this.y = n : any +> : ^^^ >this.y : number > : ^^^^^^ >this : this @@ -39,6 +43,7 @@ class C { >y : number > : ^^^^^^ >n : any +> : ^^^ } } new C().x @@ -60,6 +65,7 @@ function F() { >this.z = 1 : 1 > : ^ >this.z : any +> : ^^^ >this : this > : ^^^^ >z : any @@ -75,5 +81,6 @@ class D { constructor(/** @readonly */ x) {} >x : any +> : ^^^ } diff --git a/tests/baselines/reference/jsdocReturnTag1.errors.txt b/tests/baselines/reference/jsdocReturnTag1.errors.txt new file mode 100644 index 0000000000000..44e8cc0b18d9a --- /dev/null +++ b/tests/baselines/reference/jsdocReturnTag1.errors.txt @@ -0,0 +1,26 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== returns.js (0 errors) ==== + /** + * @returns {string} This comment is not currently exposed + */ + function f() { + return 5; + } + + /** + * @returns {string=} This comment is not currently exposed + */ + function f1() { + return 5; + } + + /** + * @returns {string|number} This comment is not currently exposed + */ + function f2() { + return 5 || "hello"; + } + \ No newline at end of file diff --git a/tests/baselines/reference/keepImportsInDts3.errors.txt b/tests/baselines/reference/keepImportsInDts3.errors.txt index ab575337fb28a..ba9ad6c9a92c2 100644 --- a/tests/baselines/reference/keepImportsInDts3.errors.txt +++ b/tests/baselines/reference/keepImportsInDts3.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== c:/test.ts (0 errors) ==== export {}; diff --git a/tests/baselines/reference/keepImportsInDts4.errors.txt b/tests/baselines/reference/keepImportsInDts4.errors.txt index 1fc5e4d5f136a..13e2f4565093c 100644 --- a/tests/baselines/reference/keepImportsInDts4.errors.txt +++ b/tests/baselines/reference/keepImportsInDts4.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== folder/test.ts (0 errors) ==== export {}; diff --git a/tests/baselines/reference/letDeclarations-useBeforeDefinition2.errors.txt b/tests/baselines/reference/letDeclarations-useBeforeDefinition2.errors.txt index cc9de6e37d86d..8789432816ac5 100644 --- a/tests/baselines/reference/letDeclarations-useBeforeDefinition2.errors.txt +++ b/tests/baselines/reference/letDeclarations-useBeforeDefinition2.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. file1.ts(1,1): error TS2448: Block-scoped variable 'l' used before its declaration. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== file1.ts (1 errors) ==== l; ~ diff --git a/tests/baselines/reference/libReferenceDeclarationEmitBundle.errors.txt b/tests/baselines/reference/libReferenceDeclarationEmitBundle.errors.txt index 35581620421d6..198ff337a1d45 100644 --- a/tests/baselines/reference/libReferenceDeclarationEmitBundle.errors.txt +++ b/tests/baselines/reference/libReferenceDeclarationEmitBundle.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== file1.ts (0 errors) ==== /// diff --git a/tests/baselines/reference/libReferenceNoLibBundle.errors.txt b/tests/baselines/reference/libReferenceNoLibBundle.errors.txt index 2f82acb2c125b..a10ba8fc033b6 100644 --- a/tests/baselines/reference/libReferenceNoLibBundle.errors.txt +++ b/tests/baselines/reference/libReferenceNoLibBundle.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== fakelib.ts (0 errors) ==== interface Object { } diff --git a/tests/baselines/reference/methodsReturningThis.errors.txt b/tests/baselines/reference/methodsReturningThis.errors.txt new file mode 100644 index 0000000000000..3ff49743c8a31 --- /dev/null +++ b/tests/baselines/reference/methodsReturningThis.errors.txt @@ -0,0 +1,24 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== input.js (0 errors) ==== + function Class() + { + } + + // error: 'Class' doesn't have property 'notPresent' + Class.prototype.containsError = function () { return this.notPresent; }; + + // lots of methods that return this, which caused out-of-memory in #9527 + Class.prototype.m1 = function (a, b, c, d, tx, ty) { return this; }; + Class.prototype.m2 = function (x, y) { return this; }; + Class.prototype.m3 = function (x, y) { return this; }; + Class.prototype.m4 = function (angle) { return this; }; + Class.prototype.m5 = function (matrix) { return this; }; + Class.prototype.m6 = function (x, y, pivotX, pivotY, scaleX, scaleY, rotation, skewX, skewY) { return this; }; + Class.prototype.m7 = function(matrix) { return this; }; + Class.prototype.m8 = function() { return this; }; + Class.prototype.m9 = function () { return this; }; + + \ No newline at end of file diff --git a/tests/baselines/reference/methodsReturningThis.types b/tests/baselines/reference/methodsReturningThis.types index a08b8208e1889..9d7bcaba68b4d 100644 --- a/tests/baselines/reference/methodsReturningThis.types +++ b/tests/baselines/reference/methodsReturningThis.types @@ -12,6 +12,7 @@ Class.prototype.containsError = function () { return this.notPresent; }; >Class.prototype.containsError = function () { return this.notPresent; } : () => any > : ^^^^^^^^^ >Class.prototype.containsError : any +> : ^^^ >Class.prototype : any > : ^^^ >Class : typeof Class @@ -22,7 +23,8 @@ Class.prototype.containsError = function () { return this.notPresent; }; > : ^^^ >function () { return this.notPresent; } : () => any > : ^^^^^^^^^ ->this.notPresent : error +>this.notPresent : any +> : ^^^ >this : this > : ^^^^ >notPresent : any @@ -33,6 +35,7 @@ Class.prototype.m1 = function (a, b, c, d, tx, ty) { return this; }; >Class.prototype.m1 = function (a, b, c, d, tx, ty) { return this; } : (a: any, b: any, c: any, d: any, tx: any, ty: any) => this > : ^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ >Class.prototype.m1 : any +> : ^^^ >Class.prototype : any > : ^^^ >Class : typeof Class @@ -44,11 +47,17 @@ Class.prototype.m1 = function (a, b, c, d, tx, ty) { return this; }; >function (a, b, c, d, tx, ty) { return this; } : (a: any, b: any, c: any, d: any, tx: any, ty: any) => this > : ^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ >a : any +> : ^^^ >b : any +> : ^^^ >c : any +> : ^^^ >d : any +> : ^^^ >tx : any +> : ^^^ >ty : any +> : ^^^ >this : this > : ^^^^ @@ -56,6 +65,7 @@ Class.prototype.m2 = function (x, y) { return this; }; >Class.prototype.m2 = function (x, y) { return this; } : (x: any, y: any) => this > : ^ ^^^^^^^ ^^^^^^^^^^^^^^ >Class.prototype.m2 : any +> : ^^^ >Class.prototype : any > : ^^^ >Class : typeof Class @@ -67,7 +77,9 @@ Class.prototype.m2 = function (x, y) { return this; }; >function (x, y) { return this; } : (x: any, y: any) => this > : ^ ^^^^^^^ ^^^^^^^^^^^^^^ >x : any +> : ^^^ >y : any +> : ^^^ >this : this > : ^^^^ @@ -75,6 +87,7 @@ Class.prototype.m3 = function (x, y) { return this; }; >Class.prototype.m3 = function (x, y) { return this; } : (x: any, y: any) => this > : ^ ^^^^^^^ ^^^^^^^^^^^^^^ >Class.prototype.m3 : any +> : ^^^ >Class.prototype : any > : ^^^ >Class : typeof Class @@ -86,7 +99,9 @@ Class.prototype.m3 = function (x, y) { return this; }; >function (x, y) { return this; } : (x: any, y: any) => this > : ^ ^^^^^^^ ^^^^^^^^^^^^^^ >x : any +> : ^^^ >y : any +> : ^^^ >this : this > : ^^^^ @@ -94,6 +109,7 @@ Class.prototype.m4 = function (angle) { return this; }; >Class.prototype.m4 = function (angle) { return this; } : (angle: any) => this > : ^ ^^^^^^^^^^^^^^ >Class.prototype.m4 : any +> : ^^^ >Class.prototype : any > : ^^^ >Class : typeof Class @@ -105,6 +121,7 @@ Class.prototype.m4 = function (angle) { return this; }; >function (angle) { return this; } : (angle: any) => this > : ^ ^^^^^^^^^^^^^^ >angle : any +> : ^^^ >this : this > : ^^^^ @@ -112,6 +129,7 @@ Class.prototype.m5 = function (matrix) { return this; }; >Class.prototype.m5 = function (matrix) { return this; } : (matrix: any) => this > : ^ ^^^^^^^^^^^^^^ >Class.prototype.m5 : any +> : ^^^ >Class.prototype : any > : ^^^ >Class : typeof Class @@ -123,6 +141,7 @@ Class.prototype.m5 = function (matrix) { return this; }; >function (matrix) { return this; } : (matrix: any) => this > : ^ ^^^^^^^^^^^^^^ >matrix : any +> : ^^^ >this : this > : ^^^^ @@ -130,6 +149,7 @@ Class.prototype.m6 = function (x, y, pivotX, pivotY, scaleX, scaleY, rotation, s >Class.prototype.m6 = function (x, y, pivotX, pivotY, scaleX, scaleY, rotation, skewX, skewY) { return this; } : (x: any, y: any, pivotX: any, pivotY: any, scaleX: any, scaleY: any, rotation: any, skewX: any, skewY: any) => this > : ^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ >Class.prototype.m6 : any +> : ^^^ >Class.prototype : any > : ^^^ >Class : typeof Class @@ -141,14 +161,23 @@ Class.prototype.m6 = function (x, y, pivotX, pivotY, scaleX, scaleY, rotation, s >function (x, y, pivotX, pivotY, scaleX, scaleY, rotation, skewX, skewY) { return this; } : (x: any, y: any, pivotX: any, pivotY: any, scaleX: any, scaleY: any, rotation: any, skewX: any, skewY: any) => this > : ^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ >x : any +> : ^^^ >y : any +> : ^^^ >pivotX : any +> : ^^^ >pivotY : any +> : ^^^ >scaleX : any +> : ^^^ >scaleY : any +> : ^^^ >rotation : any +> : ^^^ >skewX : any +> : ^^^ >skewY : any +> : ^^^ >this : this > : ^^^^ @@ -156,6 +185,7 @@ Class.prototype.m7 = function(matrix) { return this; }; >Class.prototype.m7 = function(matrix) { return this; } : (matrix: any) => this > : ^ ^^^^^^^^^^^^^^ >Class.prototype.m7 : any +> : ^^^ >Class.prototype : any > : ^^^ >Class : typeof Class @@ -167,6 +197,7 @@ Class.prototype.m7 = function(matrix) { return this; }; >function(matrix) { return this; } : (matrix: any) => this > : ^ ^^^^^^^^^^^^^^ >matrix : any +> : ^^^ >this : this > : ^^^^ @@ -174,6 +205,7 @@ Class.prototype.m8 = function() { return this; }; >Class.prototype.m8 = function() { return this; } : () => this > : ^^^^^^^^^^ >Class.prototype.m8 : any +> : ^^^ >Class.prototype : any > : ^^^ >Class : typeof Class @@ -191,6 +223,7 @@ Class.prototype.m9 = function () { return this; }; >Class.prototype.m9 = function () { return this; } : () => this > : ^^^^^^^^^^ >Class.prototype.m9 : any +> : ^^^ >Class.prototype : any > : ^^^ >Class : typeof Class diff --git a/tests/baselines/reference/moduleAugmentationsBundledOutput1.errors.txt b/tests/baselines/reference/moduleAugmentationsBundledOutput1.errors.txt index a45ae85babde3..5e87069549d3c 100644 --- a/tests/baselines/reference/moduleAugmentationsBundledOutput1.errors.txt +++ b/tests/baselines/reference/moduleAugmentationsBundledOutput1.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== export class Cls { diff --git a/tests/baselines/reference/moduleAugmentationsImports1.errors.txt b/tests/baselines/reference/moduleAugmentationsImports1.errors.txt index eddd60c92f3de..b7f036c8e5591 100644 --- a/tests/baselines/reference/moduleAugmentationsImports1.errors.txt +++ b/tests/baselines/reference/moduleAugmentationsImports1.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== a.ts (0 errors) ==== export class A {} diff --git a/tests/baselines/reference/moduleAugmentationsImports2.errors.txt b/tests/baselines/reference/moduleAugmentationsImports2.errors.txt index 230be8a692bf6..486817fc39d0e 100644 --- a/tests/baselines/reference/moduleAugmentationsImports2.errors.txt +++ b/tests/baselines/reference/moduleAugmentationsImports2.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== a.ts (0 errors) ==== export class A {} diff --git a/tests/baselines/reference/moduleAugmentationsImports3.errors.txt b/tests/baselines/reference/moduleAugmentationsImports3.errors.txt index bdce32fc03a65..525e5b032ef64 100644 --- a/tests/baselines/reference/moduleAugmentationsImports3.errors.txt +++ b/tests/baselines/reference/moduleAugmentationsImports3.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== main.ts (0 errors) ==== /// diff --git a/tests/baselines/reference/moduleAugmentationsImports4.errors.txt b/tests/baselines/reference/moduleAugmentationsImports4.errors.txt index f2647f4fc4f1c..93c93fcc44319 100644 --- a/tests/baselines/reference/moduleAugmentationsImports4.errors.txt +++ b/tests/baselines/reference/moduleAugmentationsImports4.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== main.ts (0 errors) ==== /// diff --git a/tests/baselines/reference/moduleNoneDynamicImport(target=es2015).errors.txt b/tests/baselines/reference/moduleNoneDynamicImport(target=es2015).errors.txt index 506f5a57da502..29e403726f021 100644 --- a/tests/baselines/reference/moduleNoneDynamicImport(target=es2015).errors.txt +++ b/tests/baselines/reference/moduleNoneDynamicImport(target=es2015).errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=None' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=None' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== /a.ts (0 errors) ==== const foo = import("./b"); diff --git a/tests/baselines/reference/moduleNoneDynamicImport(target=es2020).errors.txt b/tests/baselines/reference/moduleNoneDynamicImport(target=es2020).errors.txt index 506f5a57da502..29e403726f021 100644 --- a/tests/baselines/reference/moduleNoneDynamicImport(target=es2020).errors.txt +++ b/tests/baselines/reference/moduleNoneDynamicImport(target=es2020).errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=None' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=None' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== /a.ts (0 errors) ==== const foo = import("./b"); diff --git a/tests/baselines/reference/moduleNoneOutFile.errors.txt b/tests/baselines/reference/moduleNoneOutFile.errors.txt index 12037428e5f2a..7d726f9290eca 100644 --- a/tests/baselines/reference/moduleNoneOutFile.errors.txt +++ b/tests/baselines/reference/moduleNoneOutFile.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=None' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=None' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== first.ts (0 errors) ==== class Foo {} diff --git a/tests/baselines/reference/multipleDeclarations.errors.txt b/tests/baselines/reference/multipleDeclarations.errors.txt new file mode 100644 index 0000000000000..0c970de0dc8d9 --- /dev/null +++ b/tests/baselines/reference/multipleDeclarations.errors.txt @@ -0,0 +1,40 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== input.js (0 errors) ==== + function C() { + this.m = null; + } + C.prototype.m = function() { + this.nothing(); + } + class X { + constructor() { + this.m = this.m.bind(this); + this.mistake = 'frankly, complete nonsense'; + } + m() { + } + mistake() { + } + } + let x = new X(); + X.prototype.mistake = false; + x.m(); + x.mistake; + class Y { + mistake() { + } + m() { + } + constructor() { + this.m = this.m.bind(this); + this.mistake = 'even more nonsense'; + } + } + Y.prototype.mistake = true; + let y = new Y(); + y.m(); + y.mistake(); + \ No newline at end of file diff --git a/tests/baselines/reference/multipleDeclarations.types b/tests/baselines/reference/multipleDeclarations.types index 24af38040fa76..ccb49889b4ab0 100644 --- a/tests/baselines/reference/multipleDeclarations.types +++ b/tests/baselines/reference/multipleDeclarations.types @@ -9,6 +9,7 @@ function C() { >this.m = null : null > : ^^^^ >this.m : any +> : ^^^ >this : this > : ^^^^ >m : any @@ -18,6 +19,7 @@ C.prototype.m = function() { >C.prototype.m = function() { this.nothing();} : () => void > : ^^^^^^^^^^ >C.prototype.m : any +> : ^^^ >C.prototype : any > : ^^^ >C : typeof C @@ -30,8 +32,10 @@ C.prototype.m = function() { > : ^^^^^^^^^^ this.nothing(); ->this.nothing() : error ->this.nothing : error +>this.nothing() : any +> : ^^^ +>this.nothing : any +> : ^^^ >this : this > : ^^^^ >nothing : any @@ -44,6 +48,7 @@ class X { constructor() { this.m = this.m.bind(this); >this.m = this.m.bind(this) : any +> : ^^^ >this.m : () => void > : ^^^^^^^^^^ >this : this @@ -51,6 +56,7 @@ class X { >m : () => void > : ^^^^^^^^^^ >this.m.bind(this) : any +> : ^^^ >this.m.bind : (this: Function, thisArg: any, ...argArray: any[]) => any > : ^ ^^ ^^ ^^ ^^^^^ ^^ ^^^^^ >this.m : () => void @@ -142,6 +148,7 @@ class Y { constructor() { this.m = this.m.bind(this); >this.m = this.m.bind(this) : any +> : ^^^ >this.m : () => void > : ^^^^^^^^^^ >this : this @@ -149,6 +156,7 @@ class Y { >m : () => void > : ^^^^^^^^^^ >this.m.bind(this) : any +> : ^^^ >this.m.bind : (this: Function, thisArg: any, ...argArray: any[]) => any > : ^ ^^ ^^ ^^ ^^^^^ ^^ ^^^^^ >this.m : () => void diff --git a/tests/baselines/reference/noBundledEmitFromNodeModules.errors.txt b/tests/baselines/reference/noBundledEmitFromNodeModules.errors.txt index d6f3865e2b2ee..ef8c261efa3da 100644 --- a/tests/baselines/reference/noBundledEmitFromNodeModules.errors.txt +++ b/tests/baselines/reference/noBundledEmitFromNodeModules.errors.txt @@ -1,10 +1,12 @@ error TS5071: Option '--resolveJsonModule' cannot be specified when 'module' is set to 'none', 'system', or 'umd'. error TS5095: Option 'bundler' can only be used when 'module' is set to 'preserve', 'commonjs', or 'es2015' or later. +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5071: Option '--resolveJsonModule' cannot be specified when 'module' is set to 'none', 'system', or 'umd'. !!! error TS5095: Option 'bundler' can only be used when 'module' is set to 'preserve', 'commonjs', or 'es2015' or later. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== /a.ts (0 errors) ==== import { C } from "projB"; diff --git a/tests/baselines/reference/optionsOutAndNoModuleGen.errors.txt b/tests/baselines/reference/optionsOutAndNoModuleGen.errors.txt index 29cc0ba1804e1..47dcf55fb2a36 100644 --- a/tests/baselines/reference/optionsOutAndNoModuleGen.errors.txt +++ b/tests/baselines/reference/optionsOutAndNoModuleGen.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. optionsOutAndNoModuleGen.ts(1,1): error TS6131: Cannot compile modules using option 'outFile' unless the '--module' flag is 'amd' or 'system'. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== optionsOutAndNoModuleGen.ts (1 errors) ==== export var x = 10; ~~~~~~~~~~~~~~~~~~ diff --git a/tests/baselines/reference/out-flag2.errors.txt b/tests/baselines/reference/out-flag2.errors.txt index 8460347a217ca..0bfe608ab46cc 100644 --- a/tests/baselines/reference/out-flag2.errors.txt +++ b/tests/baselines/reference/out-flag2.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== a.ts (0 errors) ==== class A { } diff --git a/tests/baselines/reference/out-flag3.errors.txt b/tests/baselines/reference/out-flag3.errors.txt index 8460347a217ca..0bfe608ab46cc 100644 --- a/tests/baselines/reference/out-flag3.errors.txt +++ b/tests/baselines/reference/out-flag3.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== a.ts (0 errors) ==== class A { } diff --git a/tests/baselines/reference/outFilerootDirModuleNamesAmd.errors.txt b/tests/baselines/reference/outFilerootDirModuleNamesAmd.errors.txt index 757436d42452f..3feaadf9a1969 100644 --- a/tests/baselines/reference/outFilerootDirModuleNamesAmd.errors.txt +++ b/tests/baselines/reference/outFilerootDirModuleNamesAmd.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== src/a.ts (0 errors) ==== import foo from "./b"; diff --git a/tests/baselines/reference/outFilerootDirModuleNamesSystem.errors.txt b/tests/baselines/reference/outFilerootDirModuleNamesSystem.errors.txt index 978901f629afd..acb4a380b593a 100644 --- a/tests/baselines/reference/outFilerootDirModuleNamesSystem.errors.txt +++ b/tests/baselines/reference/outFilerootDirModuleNamesSystem.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== src/a.ts (0 errors) ==== import foo from "./b"; diff --git a/tests/baselines/reference/outModuleConcatAmd.errors.txt b/tests/baselines/reference/outModuleConcatAmd.errors.txt index bf1bdc018fc57..30eab78f2d2ca 100644 --- a/tests/baselines/reference/outModuleConcatAmd.errors.txt +++ b/tests/baselines/reference/outModuleConcatAmd.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/a.ts (0 errors) ==== export class A { } diff --git a/tests/baselines/reference/outModuleConcatCommonjs.errors.txt b/tests/baselines/reference/outModuleConcatCommonjs.errors.txt index e408a429df8e2..3aafc61deaea9 100644 --- a/tests/baselines/reference/outModuleConcatCommonjs.errors.txt +++ b/tests/baselines/reference/outModuleConcatCommonjs.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/a.ts (0 errors) ==== export class A { } diff --git a/tests/baselines/reference/outModuleConcatCommonjsDeclarationOnly.errors.txt b/tests/baselines/reference/outModuleConcatCommonjsDeclarationOnly.errors.txt new file mode 100644 index 0000000000000..d9377e42f4d43 --- /dev/null +++ b/tests/baselines/reference/outModuleConcatCommonjsDeclarationOnly.errors.txt @@ -0,0 +1,11 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ref/a.ts (0 errors) ==== + export class A { } + +==== b.ts (0 errors) ==== + import {A} from "./ref/a"; + export class B extends A { } + \ No newline at end of file diff --git a/tests/baselines/reference/outModuleConcatES6.errors.txt b/tests/baselines/reference/outModuleConcatES6.errors.txt index c4a744578f784..7d01f87b3e127 100644 --- a/tests/baselines/reference/outModuleConcatES6.errors.txt +++ b/tests/baselines/reference/outModuleConcatES6.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/a.ts (0 errors) ==== export class A { } diff --git a/tests/baselines/reference/outModuleConcatSystem.errors.txt b/tests/baselines/reference/outModuleConcatSystem.errors.txt index 635a9186a3446..dd3172aee8fa9 100644 --- a/tests/baselines/reference/outModuleConcatSystem.errors.txt +++ b/tests/baselines/reference/outModuleConcatSystem.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/a.ts (0 errors) ==== export class A { } diff --git a/tests/baselines/reference/outModuleConcatUmd.errors.txt b/tests/baselines/reference/outModuleConcatUmd.errors.txt index 142e3121e87af..d7af8b0ddf54e 100644 --- a/tests/baselines/reference/outModuleConcatUmd.errors.txt +++ b/tests/baselines/reference/outModuleConcatUmd.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=UMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=UMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/a.ts (0 errors) ==== diff --git a/tests/baselines/reference/outModuleConcatUnspecifiedModuleKind.errors.txt b/tests/baselines/reference/outModuleConcatUnspecifiedModuleKind.errors.txt index e7ed0eda04aa2..cf248dbdb0ee3 100644 --- a/tests/baselines/reference/outModuleConcatUnspecifiedModuleKind.errors.txt +++ b/tests/baselines/reference/outModuleConcatUnspecifiedModuleKind.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. a.ts(1,14): error TS6131: Cannot compile modules using option 'outFile' unless the '--module' flag is 'amd' or 'system'. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== a.ts (1 errors) ==== export class A { } // module ~ diff --git a/tests/baselines/reference/outModuleConcatUnspecifiedModuleKindDeclarationOnly.errors.txt b/tests/baselines/reference/outModuleConcatUnspecifiedModuleKindDeclarationOnly.errors.txt index 088c7b4dc1656..c9d61aef9369a 100644 --- a/tests/baselines/reference/outModuleConcatUnspecifiedModuleKindDeclarationOnly.errors.txt +++ b/tests/baselines/reference/outModuleConcatUnspecifiedModuleKindDeclarationOnly.errors.txt @@ -1,7 +1,9 @@ error TS5069: Option 'emitDeclarationOnly' cannot be specified without specifying option 'declaration' or option 'composite'. +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5069: Option 'emitDeclarationOnly' cannot be specified without specifying option 'declaration' or option 'composite'. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== a.ts (0 errors) ==== export class A { } // module diff --git a/tests/baselines/reference/outModuleTripleSlashRefs.errors.txt b/tests/baselines/reference/outModuleTripleSlashRefs.errors.txt index 743cc840fe165..21cbb79b14952 100644 --- a/tests/baselines/reference/outModuleTripleSlashRefs.errors.txt +++ b/tests/baselines/reference/outModuleTripleSlashRefs.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/a.ts (0 errors) ==== /// diff --git a/tests/baselines/reference/project/declarationDir3/amd/declarationDir3.errors.txt b/tests/baselines/reference/project/declarationDir3/amd/declarationDir3.errors.txt index fdd4900316bb9..7bcad5e1f45c9 100644 --- a/tests/baselines/reference/project/declarationDir3/amd/declarationDir3.errors.txt +++ b/tests/baselines/reference/project/declarationDir3/amd/declarationDir3.errors.txt @@ -1,9 +1,11 @@ error TS5053: Option 'declarationDir' cannot be specified with option 'outFile'. +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5053: Option 'declarationDir' cannot be specified with option 'outFile'. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== b.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/declarationDir3/node/declarationDir3.errors.txt b/tests/baselines/reference/project/declarationDir3/node/declarationDir3.errors.txt index 5ed911b169808..c7da5422fc52a 100644 --- a/tests/baselines/reference/project/declarationDir3/node/declarationDir3.errors.txt +++ b/tests/baselines/reference/project/declarationDir3/node/declarationDir3.errors.txt @@ -1,9 +1,11 @@ error TS5053: Option 'declarationDir' cannot be specified with option 'outFile'. +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. !!! error TS5053: Option 'declarationDir' cannot be specified with option 'outFile'. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== b.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecified/amd/jsFileCompilationDifferentNamesNotSpecified.errors.txt b/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecified/amd/jsFileCompilationDifferentNamesNotSpecified.errors.txt index 3d0b1a53d87a5..518fb695d5473 100644 --- a/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecified/amd/jsFileCompilationDifferentNamesNotSpecified.errors.txt +++ b/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecified/amd/jsFileCompilationDifferentNamesNotSpecified.errors.txt @@ -1,14 +1,17 @@ DifferentNamesNotSpecified/tsconfig.json(2,3): error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. DifferentNamesNotSpecified/tsconfig.json(2,3): error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +DifferentNamesNotSpecified/tsconfig.json(2,24): error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -==== DifferentNamesNotSpecified/tsconfig.json (2 errors) ==== +==== DifferentNamesNotSpecified/tsconfig.json (3 errors) ==== { "compilerOptions": { "outFile": "test.js" } ~~~~~~~~~~~~~~~~~ !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ~~~~~~~~~~~~~~~~~ !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + ~~~~~~~~~ +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. } ==== DifferentNamesNotSpecified/a.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecified/node/jsFileCompilationDifferentNamesNotSpecified.errors.txt b/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecified/node/jsFileCompilationDifferentNamesNotSpecified.errors.txt index 7ecee4af6d6cc..c5d832f855066 100644 --- a/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecified/node/jsFileCompilationDifferentNamesNotSpecified.errors.txt +++ b/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecified/node/jsFileCompilationDifferentNamesNotSpecified.errors.txt @@ -1,13 +1,16 @@ DifferentNamesNotSpecified/tsconfig.json(2,3): error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +DifferentNamesNotSpecified/tsconfig.json(2,24): error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. DifferentNamesNotSpecified/tsconfig.json(2,24): error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. -==== DifferentNamesNotSpecified/tsconfig.json (2 errors) ==== +==== DifferentNamesNotSpecified/tsconfig.json (3 errors) ==== { "compilerOptions": { "outFile": "test.js" } ~~~~~~~~~~~~~~~~~ !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ~~~~~~~~~ +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + ~~~~~~~~~ !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. } diff --git a/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecifiedWithAllowJs/amd/jsFileCompilationDifferentNamesNotSpecifiedWithAllowJs.errors.txt b/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecifiedWithAllowJs/amd/jsFileCompilationDifferentNamesNotSpecifiedWithAllowJs.errors.txt index b40a4ad1bab39..80319e3916142 100644 --- a/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecifiedWithAllowJs/amd/jsFileCompilationDifferentNamesNotSpecifiedWithAllowJs.errors.txt +++ b/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecifiedWithAllowJs/amd/jsFileCompilationDifferentNamesNotSpecifiedWithAllowJs.errors.txt @@ -1,8 +1,9 @@ DifferentNamesNotSpecifiedWithAllowJs/tsconfig.json(2,3): error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. DifferentNamesNotSpecifiedWithAllowJs/tsconfig.json(2,3): error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +DifferentNamesNotSpecifiedWithAllowJs/tsconfig.json(3,5): error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -==== DifferentNamesNotSpecifiedWithAllowJs/tsconfig.json (2 errors) ==== +==== DifferentNamesNotSpecifiedWithAllowJs/tsconfig.json (3 errors) ==== { "compilerOptions": { ~~~~~~~~~~~~~~~~~ @@ -10,6 +11,8 @@ DifferentNamesNotSpecifiedWithAllowJs/tsconfig.json(2,3): error TS5107: Option ' ~~~~~~~~~~~~~~~~~ !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. "outFile": "test.js", + ~~~~~~~~~ +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. "allowJs": true } } diff --git a/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecifiedWithAllowJs/node/jsFileCompilationDifferentNamesNotSpecifiedWithAllowJs.errors.txt b/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecifiedWithAllowJs/node/jsFileCompilationDifferentNamesNotSpecifiedWithAllowJs.errors.txt index 454843c1b1547..9f2d90457abe0 100644 --- a/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecifiedWithAllowJs/node/jsFileCompilationDifferentNamesNotSpecifiedWithAllowJs.errors.txt +++ b/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecifiedWithAllowJs/node/jsFileCompilationDifferentNamesNotSpecifiedWithAllowJs.errors.txt @@ -1,14 +1,17 @@ DifferentNamesNotSpecifiedWithAllowJs/tsconfig.json(2,3): error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +DifferentNamesNotSpecifiedWithAllowJs/tsconfig.json(3,5): error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. DifferentNamesNotSpecifiedWithAllowJs/tsconfig.json(3,5): error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. -==== DifferentNamesNotSpecifiedWithAllowJs/tsconfig.json (2 errors) ==== +==== DifferentNamesNotSpecifiedWithAllowJs/tsconfig.json (3 errors) ==== { "compilerOptions": { ~~~~~~~~~~~~~~~~~ !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. "outFile": "test.js", ~~~~~~~~~ +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + ~~~~~~~~~ !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. "allowJs": true } diff --git a/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecified/amd/jsFileCompilationDifferentNamesSpecified.errors.txt b/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecified/amd/jsFileCompilationDifferentNamesSpecified.errors.txt index e1eb0c3dc70ae..3991623a1308c 100644 --- a/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecified/amd/jsFileCompilationDifferentNamesSpecified.errors.txt +++ b/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecified/amd/jsFileCompilationDifferentNamesSpecified.errors.txt @@ -3,19 +3,22 @@ error TS6504: File 'DifferentNamesSpecified/b.js' is a JavaScript file. Did you Part of 'files' list in tsconfig.json DifferentNamesSpecified/tsconfig.json(2,3): error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. DifferentNamesSpecified/tsconfig.json(2,3): error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +DifferentNamesSpecified/tsconfig.json(2,24): error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6504: File 'DifferentNamesSpecified/b.js' is a JavaScript file. Did you mean to enable the 'allowJs' option? !!! error TS6504: The file is in the program because: !!! error TS6504: Part of 'files' list in tsconfig.json !!! related TS1410 DifferentNamesSpecified/tsconfig.json:3:22: File is matched by 'files' list specified here. -==== DifferentNamesSpecified/tsconfig.json (2 errors) ==== +==== DifferentNamesSpecified/tsconfig.json (3 errors) ==== { "compilerOptions": { "outFile": "test.js" }, ~~~~~~~~~~~~~~~~~ !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ~~~~~~~~~~~~~~~~~ !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + ~~~~~~~~~ +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. "files": [ "a.ts", "b.js" ] } diff --git a/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecified/node/jsFileCompilationDifferentNamesSpecified.errors.txt b/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecified/node/jsFileCompilationDifferentNamesSpecified.errors.txt index 29b42d19cdc69..d14c7b38b2ce8 100644 --- a/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecified/node/jsFileCompilationDifferentNamesSpecified.errors.txt +++ b/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecified/node/jsFileCompilationDifferentNamesSpecified.errors.txt @@ -2,6 +2,7 @@ error TS6504: File 'DifferentNamesSpecified/b.js' is a JavaScript file. Did you The file is in the program because: Part of 'files' list in tsconfig.json DifferentNamesSpecified/tsconfig.json(2,3): error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +DifferentNamesSpecified/tsconfig.json(2,24): error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. DifferentNamesSpecified/tsconfig.json(2,24): error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. @@ -9,12 +10,14 @@ DifferentNamesSpecified/tsconfig.json(2,24): error TS6082: Only 'amd' and 'syste !!! error TS6504: The file is in the program because: !!! error TS6504: Part of 'files' list in tsconfig.json !!! related TS1410 DifferentNamesSpecified/tsconfig.json:3:22: File is matched by 'files' list specified here. -==== DifferentNamesSpecified/tsconfig.json (2 errors) ==== +==== DifferentNamesSpecified/tsconfig.json (3 errors) ==== { "compilerOptions": { "outFile": "test.js" }, ~~~~~~~~~~~~~~~~~ !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ~~~~~~~~~ +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + ~~~~~~~~~ !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. "files": [ "a.ts", "b.js" ] } diff --git a/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecifiedWithAllowJs/amd/jsFileCompilationDifferentNamesSpecifiedWithAllowJs.errors.txt b/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecifiedWithAllowJs/amd/jsFileCompilationDifferentNamesSpecifiedWithAllowJs.errors.txt index 53ba08a0e8fbb..1c4212dcc361e 100644 --- a/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecifiedWithAllowJs/amd/jsFileCompilationDifferentNamesSpecifiedWithAllowJs.errors.txt +++ b/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecifiedWithAllowJs/amd/jsFileCompilationDifferentNamesSpecifiedWithAllowJs.errors.txt @@ -1,8 +1,9 @@ DifferentNamesSpecifiedWithAllowJs/tsconfig.json(2,3): error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. DifferentNamesSpecifiedWithAllowJs/tsconfig.json(2,3): error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +DifferentNamesSpecifiedWithAllowJs/tsconfig.json(3,5): error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -==== DifferentNamesSpecifiedWithAllowJs/tsconfig.json (2 errors) ==== +==== DifferentNamesSpecifiedWithAllowJs/tsconfig.json (3 errors) ==== { "compilerOptions": { ~~~~~~~~~~~~~~~~~ @@ -10,6 +11,8 @@ DifferentNamesSpecifiedWithAllowJs/tsconfig.json(2,3): error TS5107: Option 'mod ~~~~~~~~~~~~~~~~~ !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. "outFile": "test.js", + ~~~~~~~~~ +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. "allowJs": true }, "files": [ "a.ts", "b.js" ] diff --git a/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecifiedWithAllowJs/node/jsFileCompilationDifferentNamesSpecifiedWithAllowJs.errors.txt b/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecifiedWithAllowJs/node/jsFileCompilationDifferentNamesSpecifiedWithAllowJs.errors.txt index a6a84514ee0a7..01cd383e932da 100644 --- a/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecifiedWithAllowJs/node/jsFileCompilationDifferentNamesSpecifiedWithAllowJs.errors.txt +++ b/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecifiedWithAllowJs/node/jsFileCompilationDifferentNamesSpecifiedWithAllowJs.errors.txt @@ -1,14 +1,17 @@ DifferentNamesSpecifiedWithAllowJs/tsconfig.json(2,3): error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +DifferentNamesSpecifiedWithAllowJs/tsconfig.json(3,5): error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. DifferentNamesSpecifiedWithAllowJs/tsconfig.json(3,5): error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. -==== DifferentNamesSpecifiedWithAllowJs/tsconfig.json (2 errors) ==== +==== DifferentNamesSpecifiedWithAllowJs/tsconfig.json (3 errors) ==== { "compilerOptions": { ~~~~~~~~~~~~~~~~~ !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. "outFile": "test.js", ~~~~~~~~~ +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + ~~~~~~~~~ !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. "allowJs": true }, diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile.errors.txt index a5ca1482b5cd4..ddecfa25b01f8 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile.errors.txt index 8463ae5b1a4d5..b796cb451777c 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt index a5ca1482b5cd4..ddecfa25b01f8 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt index 8463ae5b1a4d5..b796cb451777c 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputFile/amd/mapRootAbsolutePathModuleMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputFile/amd/mapRootAbsolutePathModuleMultifolderSpecifyOutputFile.errors.txt index 07a45826b8bd9..3a9d78806e3b3 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputFile/amd/mapRootAbsolutePathModuleMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputFile/amd/mapRootAbsolutePathModuleMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputFile/node/mapRootAbsolutePathModuleMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputFile/node/mapRootAbsolutePathModuleMultifolderSpecifyOutputFile.errors.txt index 8d5143f60ad82..85d7886a09778 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputFile/node/mapRootAbsolutePathModuleMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputFile/node/mapRootAbsolutePathModuleMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputFile/amd/mapRootAbsolutePathModuleSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputFile/amd/mapRootAbsolutePathModuleSimpleSpecifyOutputFile.errors.txt index 3d31526af0a6b..f1b4df6081185 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputFile/amd/mapRootAbsolutePathModuleSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputFile/amd/mapRootAbsolutePathModuleSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputFile/node/mapRootAbsolutePathModuleSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputFile/node/mapRootAbsolutePathModuleSimpleSpecifyOutputFile.errors.txt index 2e947050950b0..6b1d504fe02e1 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputFile/node/mapRootAbsolutePathModuleSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputFile/node/mapRootAbsolutePathModuleSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputFile/amd/mapRootAbsolutePathModuleSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputFile/amd/mapRootAbsolutePathModuleSubfolderSpecifyOutputFile.errors.txt index 5336de40839f2..48adcd38d98bb 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputFile/amd/mapRootAbsolutePathModuleSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputFile/amd/mapRootAbsolutePathModuleSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputFile/node/mapRootAbsolutePathModuleSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputFile/node/mapRootAbsolutePathModuleSubfolderSpecifyOutputFile.errors.txt index bc6455bd40ffe..fed47cab32b85 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputFile/node/mapRootAbsolutePathModuleSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputFile/node/mapRootAbsolutePathModuleSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/amd/mapRootAbsolutePathMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/amd/mapRootAbsolutePathMultifolderSpecifyOutputFile.errors.txt index 7319ec3d03e3d..83f4874e25f73 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/amd/mapRootAbsolutePathMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/amd/mapRootAbsolutePathMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/node/mapRootAbsolutePathMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/node/mapRootAbsolutePathMultifolderSpecifyOutputFile.errors.txt index 979a434de92b0..71e416c72292c 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/node/mapRootAbsolutePathMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/node/mapRootAbsolutePathMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/amd/mapRootAbsolutePathSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/amd/mapRootAbsolutePathSimpleSpecifyOutputFile.errors.txt index 477be2decfcb0..af2fb429a4b48 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/amd/mapRootAbsolutePathSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/amd/mapRootAbsolutePathSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/node/mapRootAbsolutePathSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/node/mapRootAbsolutePathSimpleSpecifyOutputFile.errors.txt index 7e7a851c111e4..2a5604f1fb3fc 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/node/mapRootAbsolutePathSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/node/mapRootAbsolutePathSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/amd/mapRootAbsolutePathSingleFileSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/amd/mapRootAbsolutePathSingleFileSpecifyOutputFile.errors.txt index 0d25528f041b5..c082deade4022 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/amd/mapRootAbsolutePathSingleFileSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/amd/mapRootAbsolutePathSingleFileSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== test.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/node/mapRootAbsolutePathSingleFileSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/node/mapRootAbsolutePathSingleFileSpecifyOutputFile.errors.txt index 17a2812a8c151..418f27071208b 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/node/mapRootAbsolutePathSingleFileSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/node/mapRootAbsolutePathSingleFileSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== test.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/amd/mapRootAbsolutePathSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/amd/mapRootAbsolutePathSubfolderSpecifyOutputFile.errors.txt index babb41566a553..654b3679c2e9c 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/amd/mapRootAbsolutePathSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/amd/mapRootAbsolutePathSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/node/mapRootAbsolutePathSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/node/mapRootAbsolutePathSubfolderSpecifyOutputFile.errors.txt index f174bdb49dd18..ddaa61fed3755 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/node/mapRootAbsolutePathSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/node/mapRootAbsolutePathSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/amd/mapRootRelativePathMixedSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/amd/mapRootRelativePathMixedSubfolderSpecifyOutputFile.errors.txt index a5ca1482b5cd4..ddecfa25b01f8 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/amd/mapRootRelativePathMixedSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/amd/mapRootRelativePathMixedSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/node/mapRootRelativePathMixedSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/node/mapRootRelativePathMixedSubfolderSpecifyOutputFile.errors.txt index 8463ae5b1a4d5..b796cb451777c 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/node/mapRootRelativePathMixedSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/node/mapRootRelativePathMixedSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt index a5ca1482b5cd4..ddecfa25b01f8 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt index 8463ae5b1a4d5..b796cb451777c 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputFile/amd/mapRootRelativePathModuleMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputFile/amd/mapRootRelativePathModuleMultifolderSpecifyOutputFile.errors.txt index 07a45826b8bd9..3a9d78806e3b3 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputFile/amd/mapRootRelativePathModuleMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputFile/amd/mapRootRelativePathModuleMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputFile/node/mapRootRelativePathModuleMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputFile/node/mapRootRelativePathModuleMultifolderSpecifyOutputFile.errors.txt index 8d5143f60ad82..85d7886a09778 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputFile/node/mapRootRelativePathModuleMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputFile/node/mapRootRelativePathModuleMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputFile/amd/mapRootRelativePathModuleSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputFile/amd/mapRootRelativePathModuleSimpleSpecifyOutputFile.errors.txt index 3d31526af0a6b..f1b4df6081185 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputFile/amd/mapRootRelativePathModuleSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputFile/amd/mapRootRelativePathModuleSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputFile/node/mapRootRelativePathModuleSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputFile/node/mapRootRelativePathModuleSimpleSpecifyOutputFile.errors.txt index 2e947050950b0..6b1d504fe02e1 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputFile/node/mapRootRelativePathModuleSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputFile/node/mapRootRelativePathModuleSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputFile/amd/mapRootRelativePathModuleSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputFile/amd/mapRootRelativePathModuleSubfolderSpecifyOutputFile.errors.txt index 5336de40839f2..48adcd38d98bb 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputFile/amd/mapRootRelativePathModuleSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputFile/amd/mapRootRelativePathModuleSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputFile/node/mapRootRelativePathModuleSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputFile/node/mapRootRelativePathModuleSubfolderSpecifyOutputFile.errors.txt index bc6455bd40ffe..fed47cab32b85 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputFile/node/mapRootRelativePathModuleSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputFile/node/mapRootRelativePathModuleSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/amd/mapRootRelativePathMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/amd/mapRootRelativePathMultifolderSpecifyOutputFile.errors.txt index 7319ec3d03e3d..83f4874e25f73 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/amd/mapRootRelativePathMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/amd/mapRootRelativePathMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/node/mapRootRelativePathMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/node/mapRootRelativePathMultifolderSpecifyOutputFile.errors.txt index 979a434de92b0..71e416c72292c 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/node/mapRootRelativePathMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/node/mapRootRelativePathMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/amd/mapRootRelativePathSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/amd/mapRootRelativePathSimpleSpecifyOutputFile.errors.txt index 477be2decfcb0..af2fb429a4b48 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/amd/mapRootRelativePathSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/amd/mapRootRelativePathSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/node/mapRootRelativePathSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/node/mapRootRelativePathSimpleSpecifyOutputFile.errors.txt index 7e7a851c111e4..2a5604f1fb3fc 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/node/mapRootRelativePathSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/node/mapRootRelativePathSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/amd/mapRootRelativePathSingleFileSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/amd/mapRootRelativePathSingleFileSpecifyOutputFile.errors.txt index 0d25528f041b5..c082deade4022 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/amd/mapRootRelativePathSingleFileSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/amd/mapRootRelativePathSingleFileSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== test.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/node/mapRootRelativePathSingleFileSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/node/mapRootRelativePathSingleFileSpecifyOutputFile.errors.txt index 17a2812a8c151..418f27071208b 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/node/mapRootRelativePathSingleFileSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/node/mapRootRelativePathSingleFileSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== test.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/amd/mapRootRelativePathSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/amd/mapRootRelativePathSubfolderSpecifyOutputFile.errors.txt index babb41566a553..654b3679c2e9c 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/amd/mapRootRelativePathSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/amd/mapRootRelativePathSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/node/mapRootRelativePathSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/node/mapRootRelativePathSubfolderSpecifyOutputFile.errors.txt index f174bdb49dd18..ddaa61fed3755 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/node/mapRootRelativePathSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/node/mapRootRelativePathSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/amd/maprootUrlMixedSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/amd/maprootUrlMixedSubfolderSpecifyOutputFile.errors.txt index a5ca1482b5cd4..ddecfa25b01f8 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/amd/maprootUrlMixedSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/amd/maprootUrlMixedSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/node/maprootUrlMixedSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/node/maprootUrlMixedSubfolderSpecifyOutputFile.errors.txt index 8463ae5b1a4d5..b796cb451777c 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/node/maprootUrlMixedSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/node/maprootUrlMixedSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt index a5ca1482b5cd4..ddecfa25b01f8 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt index 8463ae5b1a4d5..b796cb451777c 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputFile/amd/maprootUrlModuleMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputFile/amd/maprootUrlModuleMultifolderSpecifyOutputFile.errors.txt index 07a45826b8bd9..3a9d78806e3b3 100644 --- a/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputFile/amd/maprootUrlModuleMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputFile/amd/maprootUrlModuleMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputFile/node/maprootUrlModuleMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputFile/node/maprootUrlModuleMultifolderSpecifyOutputFile.errors.txt index 8d5143f60ad82..85d7886a09778 100644 --- a/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputFile/node/maprootUrlModuleMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputFile/node/maprootUrlModuleMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputFile/amd/maprootUrlModuleSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputFile/amd/maprootUrlModuleSimpleSpecifyOutputFile.errors.txt index 3d31526af0a6b..f1b4df6081185 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputFile/amd/maprootUrlModuleSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputFile/amd/maprootUrlModuleSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputFile/node/maprootUrlModuleSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputFile/node/maprootUrlModuleSimpleSpecifyOutputFile.errors.txt index 2e947050950b0..6b1d504fe02e1 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputFile/node/maprootUrlModuleSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputFile/node/maprootUrlModuleSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputFile/amd/maprootUrlModuleSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputFile/amd/maprootUrlModuleSubfolderSpecifyOutputFile.errors.txt index 5336de40839f2..48adcd38d98bb 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputFile/amd/maprootUrlModuleSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputFile/amd/maprootUrlModuleSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputFile/node/maprootUrlModuleSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputFile/node/maprootUrlModuleSubfolderSpecifyOutputFile.errors.txt index bc6455bd40ffe..fed47cab32b85 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputFile/node/maprootUrlModuleSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputFile/node/maprootUrlModuleSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/amd/maprootUrlMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/amd/maprootUrlMultifolderSpecifyOutputFile.errors.txt index 7319ec3d03e3d..83f4874e25f73 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/amd/maprootUrlMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/amd/maprootUrlMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/node/maprootUrlMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/node/maprootUrlMultifolderSpecifyOutputFile.errors.txt index 979a434de92b0..71e416c72292c 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/node/maprootUrlMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/node/maprootUrlMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/amd/maprootUrlSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/amd/maprootUrlSimpleSpecifyOutputFile.errors.txt index 477be2decfcb0..af2fb429a4b48 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/amd/maprootUrlSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/amd/maprootUrlSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/node/maprootUrlSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/node/maprootUrlSimpleSpecifyOutputFile.errors.txt index 7e7a851c111e4..2a5604f1fb3fc 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/node/maprootUrlSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/node/maprootUrlSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/amd/maprootUrlSingleFileSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/amd/maprootUrlSingleFileSpecifyOutputFile.errors.txt index 0d25528f041b5..c082deade4022 100644 --- a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/amd/maprootUrlSingleFileSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/amd/maprootUrlSingleFileSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== test.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/node/maprootUrlSingleFileSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/node/maprootUrlSingleFileSpecifyOutputFile.errors.txt index 17a2812a8c151..418f27071208b 100644 --- a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/node/maprootUrlSingleFileSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/node/maprootUrlSingleFileSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== test.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/amd/maprootUrlSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/amd/maprootUrlSubfolderSpecifyOutputFile.errors.txt index babb41566a553..654b3679c2e9c 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/amd/maprootUrlSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/amd/maprootUrlSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/node/maprootUrlSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/node/maprootUrlSubfolderSpecifyOutputFile.errors.txt index f174bdb49dd18..ddaa61fed3755 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/node/maprootUrlSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/node/maprootUrlSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/amd/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/amd/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile.errors.txt index a5ca1482b5cd4..ddecfa25b01f8 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/amd/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/amd/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/node/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/node/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile.errors.txt index 8463ae5b1a4d5..b796cb451777c 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/node/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/node/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt index a5ca1482b5cd4..ddecfa25b01f8 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt index 8463ae5b1a4d5..b796cb451777c 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputFile/amd/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputFile/amd/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputFile.errors.txt index 07a45826b8bd9..3a9d78806e3b3 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputFile/amd/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputFile/amd/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputFile/node/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputFile/node/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputFile.errors.txt index 8d5143f60ad82..85d7886a09778 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputFile/node/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputFile/node/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputFile/amd/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputFile/amd/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputFile.errors.txt index 3d31526af0a6b..f1b4df6081185 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputFile/amd/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputFile/amd/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputFile/node/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputFile/node/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputFile.errors.txt index 2e947050950b0..6b1d504fe02e1 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputFile/node/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputFile/node/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputFile/amd/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputFile/amd/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputFile.errors.txt index 5336de40839f2..48adcd38d98bb 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputFile/amd/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputFile/amd/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputFile/node/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputFile/node/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputFile.errors.txt index bc6455bd40ffe..fed47cab32b85 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputFile/node/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputFile/node/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/amd/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/amd/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile.errors.txt index 7319ec3d03e3d..83f4874e25f73 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/amd/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/amd/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/node/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/node/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile.errors.txt index 979a434de92b0..71e416c72292c 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/node/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/node/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/amd/maprootUrlsourcerootUrlSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/amd/maprootUrlsourcerootUrlSimpleSpecifyOutputFile.errors.txt index 477be2decfcb0..af2fb429a4b48 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/amd/maprootUrlsourcerootUrlSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/amd/maprootUrlsourcerootUrlSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/node/maprootUrlsourcerootUrlSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/node/maprootUrlsourcerootUrlSimpleSpecifyOutputFile.errors.txt index 7e7a851c111e4..2a5604f1fb3fc 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/node/maprootUrlsourcerootUrlSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/node/maprootUrlsourcerootUrlSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/amd/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/amd/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile.errors.txt index 0d25528f041b5..c082deade4022 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/amd/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/amd/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== test.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/node/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/node/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile.errors.txt index 17a2812a8c151..418f27071208b 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/node/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/node/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== test.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/amd/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/amd/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile.errors.txt index babb41566a553..654b3679c2e9c 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/amd/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/amd/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/node/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/node/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile.errors.txt index f174bdb49dd18..ddaa61fed3755 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/node/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/node/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFile/amd/outMixedSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFile/amd/outMixedSubfolderSpecifyOutputFile.errors.txt index a5ca1482b5cd4..ddecfa25b01f8 100644 --- a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFile/amd/outMixedSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFile/amd/outMixedSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFile/node/outMixedSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFile/node/outMixedSubfolderSpecifyOutputFile.errors.txt index 8463ae5b1a4d5..b796cb451777c 100644 --- a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFile/node/outMixedSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFile/node/outMixedSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/outMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/outMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt index a5ca1482b5cd4..ddecfa25b01f8 100644 --- a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/outMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt +++ b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/outMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/outMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/outMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt index 8463ae5b1a4d5..b796cb451777c 100644 --- a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/outMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt +++ b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/outMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputFile/amd/outModuleMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputFile/amd/outModuleMultifolderSpecifyOutputFile.errors.txt index 07a45826b8bd9..3a9d78806e3b3 100644 --- a/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputFile/amd/outModuleMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputFile/amd/outModuleMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputFile/node/outModuleMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputFile/node/outModuleMultifolderSpecifyOutputFile.errors.txt index 8d5143f60ad82..85d7886a09778 100644 --- a/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputFile/node/outModuleMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputFile/node/outModuleMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/outModuleSimpleSpecifyOutputFile/amd/outModuleSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/outModuleSimpleSpecifyOutputFile/amd/outModuleSimpleSpecifyOutputFile.errors.txt index 3d31526af0a6b..f1b4df6081185 100644 --- a/tests/baselines/reference/project/outModuleSimpleSpecifyOutputFile/amd/outModuleSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/outModuleSimpleSpecifyOutputFile/amd/outModuleSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/outModuleSimpleSpecifyOutputFile/node/outModuleSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/outModuleSimpleSpecifyOutputFile/node/outModuleSimpleSpecifyOutputFile.errors.txt index 2e947050950b0..6b1d504fe02e1 100644 --- a/tests/baselines/reference/project/outModuleSimpleSpecifyOutputFile/node/outModuleSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/outModuleSimpleSpecifyOutputFile/node/outModuleSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/outModuleSubfolderSpecifyOutputFile/amd/outModuleSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/outModuleSubfolderSpecifyOutputFile/amd/outModuleSubfolderSpecifyOutputFile.errors.txt index 5336de40839f2..48adcd38d98bb 100644 --- a/tests/baselines/reference/project/outModuleSubfolderSpecifyOutputFile/amd/outModuleSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/outModuleSubfolderSpecifyOutputFile/amd/outModuleSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/outModuleSubfolderSpecifyOutputFile/node/outModuleSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/outModuleSubfolderSpecifyOutputFile/node/outModuleSubfolderSpecifyOutputFile.errors.txt index bc6455bd40ffe..fed47cab32b85 100644 --- a/tests/baselines/reference/project/outModuleSubfolderSpecifyOutputFile/node/outModuleSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/outModuleSubfolderSpecifyOutputFile/node/outModuleSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/outMultifolderSpecifyOutputFile/amd/outMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/outMultifolderSpecifyOutputFile/amd/outMultifolderSpecifyOutputFile.errors.txt index 7319ec3d03e3d..83f4874e25f73 100644 --- a/tests/baselines/reference/project/outMultifolderSpecifyOutputFile/amd/outMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/outMultifolderSpecifyOutputFile/amd/outMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/outMultifolderSpecifyOutputFile/node/outMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/outMultifolderSpecifyOutputFile/node/outMultifolderSpecifyOutputFile.errors.txt index 979a434de92b0..71e416c72292c 100644 --- a/tests/baselines/reference/project/outMultifolderSpecifyOutputFile/node/outMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/outMultifolderSpecifyOutputFile/node/outMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/outSimpleSpecifyOutputFile/amd/outSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/outSimpleSpecifyOutputFile/amd/outSimpleSpecifyOutputFile.errors.txt index 477be2decfcb0..af2fb429a4b48 100644 --- a/tests/baselines/reference/project/outSimpleSpecifyOutputFile/amd/outSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/outSimpleSpecifyOutputFile/amd/outSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/outSimpleSpecifyOutputFile/node/outSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/outSimpleSpecifyOutputFile/node/outSimpleSpecifyOutputFile.errors.txt index 7e7a851c111e4..2a5604f1fb3fc 100644 --- a/tests/baselines/reference/project/outSimpleSpecifyOutputFile/node/outSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/outSimpleSpecifyOutputFile/node/outSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/outSingleFileSpecifyOutputFile/amd/outSingleFileSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/outSingleFileSpecifyOutputFile/amd/outSingleFileSpecifyOutputFile.errors.txt index 0d25528f041b5..c082deade4022 100644 --- a/tests/baselines/reference/project/outSingleFileSpecifyOutputFile/amd/outSingleFileSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/outSingleFileSpecifyOutputFile/amd/outSingleFileSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== test.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/outSingleFileSpecifyOutputFile/node/outSingleFileSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/outSingleFileSpecifyOutputFile/node/outSingleFileSpecifyOutputFile.errors.txt index 17a2812a8c151..418f27071208b 100644 --- a/tests/baselines/reference/project/outSingleFileSpecifyOutputFile/node/outSingleFileSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/outSingleFileSpecifyOutputFile/node/outSingleFileSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== test.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/outSubfolderSpecifyOutputFile/amd/outSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/outSubfolderSpecifyOutputFile/amd/outSubfolderSpecifyOutputFile.errors.txt index babb41566a553..654b3679c2e9c 100644 --- a/tests/baselines/reference/project/outSubfolderSpecifyOutputFile/amd/outSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/outSubfolderSpecifyOutputFile/amd/outSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/outSubfolderSpecifyOutputFile/node/outSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/outSubfolderSpecifyOutputFile/node/outSubfolderSpecifyOutputFile.errors.txt index f174bdb49dd18..ddaa61fed3755 100644 --- a/tests/baselines/reference/project/outSubfolderSpecifyOutputFile/node/outSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/outSubfolderSpecifyOutputFile/node/outSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/prologueEmit/amd/prologueEmit.errors.txt b/tests/baselines/reference/project/prologueEmit/amd/prologueEmit.errors.txt index b8f55915d4f74..6c11b922248be 100644 --- a/tests/baselines/reference/project/prologueEmit/amd/prologueEmit.errors.txt +++ b/tests/baselines/reference/project/prologueEmit/amd/prologueEmit.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== globalThisCapture.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/prologueEmit/node/prologueEmit.errors.txt b/tests/baselines/reference/project/prologueEmit/node/prologueEmit.errors.txt index 14f4663365e4f..6259ef8e0422e 100644 --- a/tests/baselines/reference/project/prologueEmit/node/prologueEmit.errors.txt +++ b/tests/baselines/reference/project/prologueEmit/node/prologueEmit.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== globalThisCapture.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile.errors.txt index a5ca1482b5cd4..ddecfa25b01f8 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile.errors.txt index 8463ae5b1a4d5..b796cb451777c 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt index a5ca1482b5cd4..ddecfa25b01f8 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt index 8463ae5b1a4d5..b796cb451777c 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputFile/amd/sourceRootAbsolutePathModuleMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputFile/amd/sourceRootAbsolutePathModuleMultifolderSpecifyOutputFile.errors.txt index 07a45826b8bd9..3a9d78806e3b3 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputFile/amd/sourceRootAbsolutePathModuleMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputFile/amd/sourceRootAbsolutePathModuleMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputFile/node/sourceRootAbsolutePathModuleMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputFile/node/sourceRootAbsolutePathModuleMultifolderSpecifyOutputFile.errors.txt index 8d5143f60ad82..85d7886a09778 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputFile/node/sourceRootAbsolutePathModuleMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputFile/node/sourceRootAbsolutePathModuleMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputFile/amd/sourceRootAbsolutePathModuleSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputFile/amd/sourceRootAbsolutePathModuleSimpleSpecifyOutputFile.errors.txt index 3d31526af0a6b..f1b4df6081185 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputFile/amd/sourceRootAbsolutePathModuleSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputFile/amd/sourceRootAbsolutePathModuleSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputFile/node/sourceRootAbsolutePathModuleSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputFile/node/sourceRootAbsolutePathModuleSimpleSpecifyOutputFile.errors.txt index 2e947050950b0..6b1d504fe02e1 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputFile/node/sourceRootAbsolutePathModuleSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputFile/node/sourceRootAbsolutePathModuleSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputFile/amd/sourceRootAbsolutePathModuleSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputFile/amd/sourceRootAbsolutePathModuleSubfolderSpecifyOutputFile.errors.txt index 5336de40839f2..48adcd38d98bb 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputFile/amd/sourceRootAbsolutePathModuleSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputFile/amd/sourceRootAbsolutePathModuleSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputFile/node/sourceRootAbsolutePathModuleSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputFile/node/sourceRootAbsolutePathModuleSubfolderSpecifyOutputFile.errors.txt index bc6455bd40ffe..fed47cab32b85 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputFile/node/sourceRootAbsolutePathModuleSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputFile/node/sourceRootAbsolutePathModuleSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/amd/sourceRootAbsolutePathMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/amd/sourceRootAbsolutePathMultifolderSpecifyOutputFile.errors.txt index 7319ec3d03e3d..83f4874e25f73 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/amd/sourceRootAbsolutePathMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/amd/sourceRootAbsolutePathMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/node/sourceRootAbsolutePathMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/node/sourceRootAbsolutePathMultifolderSpecifyOutputFile.errors.txt index 979a434de92b0..71e416c72292c 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/node/sourceRootAbsolutePathMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/node/sourceRootAbsolutePathMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/amd/sourceRootAbsolutePathSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/amd/sourceRootAbsolutePathSimpleSpecifyOutputFile.errors.txt index 477be2decfcb0..af2fb429a4b48 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/amd/sourceRootAbsolutePathSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/amd/sourceRootAbsolutePathSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/node/sourceRootAbsolutePathSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/node/sourceRootAbsolutePathSimpleSpecifyOutputFile.errors.txt index 7e7a851c111e4..2a5604f1fb3fc 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/node/sourceRootAbsolutePathSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/node/sourceRootAbsolutePathSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/amd/sourceRootAbsolutePathSingleFileSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/amd/sourceRootAbsolutePathSingleFileSpecifyOutputFile.errors.txt index 0d25528f041b5..c082deade4022 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/amd/sourceRootAbsolutePathSingleFileSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/amd/sourceRootAbsolutePathSingleFileSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== test.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/node/sourceRootAbsolutePathSingleFileSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/node/sourceRootAbsolutePathSingleFileSpecifyOutputFile.errors.txt index 17a2812a8c151..418f27071208b 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/node/sourceRootAbsolutePathSingleFileSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/node/sourceRootAbsolutePathSingleFileSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== test.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/amd/sourceRootAbsolutePathSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/amd/sourceRootAbsolutePathSubfolderSpecifyOutputFile.errors.txt index babb41566a553..654b3679c2e9c 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/amd/sourceRootAbsolutePathSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/amd/sourceRootAbsolutePathSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/node/sourceRootAbsolutePathSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/node/sourceRootAbsolutePathSubfolderSpecifyOutputFile.errors.txt index f174bdb49dd18..ddaa61fed3755 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/node/sourceRootAbsolutePathSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/node/sourceRootAbsolutePathSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/amd/sourceRootRelativePathMixedSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/amd/sourceRootRelativePathMixedSubfolderSpecifyOutputFile.errors.txt index a5ca1482b5cd4..ddecfa25b01f8 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/amd/sourceRootRelativePathMixedSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/amd/sourceRootRelativePathMixedSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/node/sourceRootRelativePathMixedSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/node/sourceRootRelativePathMixedSubfolderSpecifyOutputFile.errors.txt index 8463ae5b1a4d5..b796cb451777c 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/node/sourceRootRelativePathMixedSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/node/sourceRootRelativePathMixedSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt index a5ca1482b5cd4..ddecfa25b01f8 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt index 8463ae5b1a4d5..b796cb451777c 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputFile/amd/sourceRootRelativePathModuleMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputFile/amd/sourceRootRelativePathModuleMultifolderSpecifyOutputFile.errors.txt index 07a45826b8bd9..3a9d78806e3b3 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputFile/amd/sourceRootRelativePathModuleMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputFile/amd/sourceRootRelativePathModuleMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputFile/node/sourceRootRelativePathModuleMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputFile/node/sourceRootRelativePathModuleMultifolderSpecifyOutputFile.errors.txt index 8d5143f60ad82..85d7886a09778 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputFile/node/sourceRootRelativePathModuleMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputFile/node/sourceRootRelativePathModuleMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputFile/amd/sourceRootRelativePathModuleSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputFile/amd/sourceRootRelativePathModuleSimpleSpecifyOutputFile.errors.txt index 3d31526af0a6b..f1b4df6081185 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputFile/amd/sourceRootRelativePathModuleSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputFile/amd/sourceRootRelativePathModuleSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputFile/node/sourceRootRelativePathModuleSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputFile/node/sourceRootRelativePathModuleSimpleSpecifyOutputFile.errors.txt index 2e947050950b0..6b1d504fe02e1 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputFile/node/sourceRootRelativePathModuleSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputFile/node/sourceRootRelativePathModuleSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputFile/amd/sourceRootRelativePathModuleSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputFile/amd/sourceRootRelativePathModuleSubfolderSpecifyOutputFile.errors.txt index 5336de40839f2..48adcd38d98bb 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputFile/amd/sourceRootRelativePathModuleSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputFile/amd/sourceRootRelativePathModuleSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputFile/node/sourceRootRelativePathModuleSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputFile/node/sourceRootRelativePathModuleSubfolderSpecifyOutputFile.errors.txt index bc6455bd40ffe..fed47cab32b85 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputFile/node/sourceRootRelativePathModuleSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputFile/node/sourceRootRelativePathModuleSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/amd/sourceRootRelativePathMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/amd/sourceRootRelativePathMultifolderSpecifyOutputFile.errors.txt index 7319ec3d03e3d..83f4874e25f73 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/amd/sourceRootRelativePathMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/amd/sourceRootRelativePathMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/node/sourceRootRelativePathMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/node/sourceRootRelativePathMultifolderSpecifyOutputFile.errors.txt index 979a434de92b0..71e416c72292c 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/node/sourceRootRelativePathMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/node/sourceRootRelativePathMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/amd/sourceRootRelativePathSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/amd/sourceRootRelativePathSimpleSpecifyOutputFile.errors.txt index 477be2decfcb0..af2fb429a4b48 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/amd/sourceRootRelativePathSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/amd/sourceRootRelativePathSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/node/sourceRootRelativePathSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/node/sourceRootRelativePathSimpleSpecifyOutputFile.errors.txt index 7e7a851c111e4..2a5604f1fb3fc 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/node/sourceRootRelativePathSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/node/sourceRootRelativePathSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/amd/sourceRootRelativePathSingleFileSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/amd/sourceRootRelativePathSingleFileSpecifyOutputFile.errors.txt index 0d25528f041b5..c082deade4022 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/amd/sourceRootRelativePathSingleFileSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/amd/sourceRootRelativePathSingleFileSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== test.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/node/sourceRootRelativePathSingleFileSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/node/sourceRootRelativePathSingleFileSpecifyOutputFile.errors.txt index 17a2812a8c151..418f27071208b 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/node/sourceRootRelativePathSingleFileSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/node/sourceRootRelativePathSingleFileSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== test.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/amd/sourceRootRelativePathSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/amd/sourceRootRelativePathSubfolderSpecifyOutputFile.errors.txt index babb41566a553..654b3679c2e9c 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/amd/sourceRootRelativePathSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/amd/sourceRootRelativePathSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/node/sourceRootRelativePathSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/node/sourceRootRelativePathSubfolderSpecifyOutputFile.errors.txt index f174bdb49dd18..ddaa61fed3755 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/node/sourceRootRelativePathSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/node/sourceRootRelativePathSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/amd/sourcemapMixedSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/amd/sourcemapMixedSubfolderSpecifyOutputFile.errors.txt index a5ca1482b5cd4..ddecfa25b01f8 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/amd/sourcemapMixedSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/amd/sourcemapMixedSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/node/sourcemapMixedSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/node/sourcemapMixedSubfolderSpecifyOutputFile.errors.txt index 8463ae5b1a4d5..b796cb451777c 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/node/sourcemapMixedSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/node/sourcemapMixedSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt index a5ca1482b5cd4..ddecfa25b01f8 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt index 8463ae5b1a4d5..b796cb451777c 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputFile/amd/sourcemapModuleMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputFile/amd/sourcemapModuleMultifolderSpecifyOutputFile.errors.txt index 07a45826b8bd9..3a9d78806e3b3 100644 --- a/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputFile/amd/sourcemapModuleMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputFile/amd/sourcemapModuleMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputFile/node/sourcemapModuleMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputFile/node/sourcemapModuleMultifolderSpecifyOutputFile.errors.txt index 8d5143f60ad82..85d7886a09778 100644 --- a/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputFile/node/sourcemapModuleMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputFile/node/sourcemapModuleMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputFile/amd/sourcemapModuleSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputFile/amd/sourcemapModuleSimpleSpecifyOutputFile.errors.txt index 3d31526af0a6b..f1b4df6081185 100644 --- a/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputFile/amd/sourcemapModuleSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputFile/amd/sourcemapModuleSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputFile/node/sourcemapModuleSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputFile/node/sourcemapModuleSimpleSpecifyOutputFile.errors.txt index 2e947050950b0..6b1d504fe02e1 100644 --- a/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputFile/node/sourcemapModuleSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputFile/node/sourcemapModuleSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputFile/amd/sourcemapModuleSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputFile/amd/sourcemapModuleSubfolderSpecifyOutputFile.errors.txt index 5336de40839f2..48adcd38d98bb 100644 --- a/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputFile/amd/sourcemapModuleSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputFile/amd/sourcemapModuleSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputFile/node/sourcemapModuleSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputFile/node/sourcemapModuleSubfolderSpecifyOutputFile.errors.txt index bc6455bd40ffe..fed47cab32b85 100644 --- a/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputFile/node/sourcemapModuleSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputFile/node/sourcemapModuleSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/amd/sourcemapMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/amd/sourcemapMultifolderSpecifyOutputFile.errors.txt index 7319ec3d03e3d..83f4874e25f73 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/amd/sourcemapMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/amd/sourcemapMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/node/sourcemapMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/node/sourcemapMultifolderSpecifyOutputFile.errors.txt index 979a434de92b0..71e416c72292c 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/node/sourcemapMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/node/sourcemapMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/amd/sourcemapSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/amd/sourcemapSimpleSpecifyOutputFile.errors.txt index 477be2decfcb0..af2fb429a4b48 100644 --- a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/amd/sourcemapSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/amd/sourcemapSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/node/sourcemapSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/node/sourcemapSimpleSpecifyOutputFile.errors.txt index 7e7a851c111e4..2a5604f1fb3fc 100644 --- a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/node/sourcemapSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/node/sourcemapSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/amd/sourcemapSingleFileSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/amd/sourcemapSingleFileSpecifyOutputFile.errors.txt index 0d25528f041b5..c082deade4022 100644 --- a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/amd/sourcemapSingleFileSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/amd/sourcemapSingleFileSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== test.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/node/sourcemapSingleFileSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/node/sourcemapSingleFileSpecifyOutputFile.errors.txt index 17a2812a8c151..418f27071208b 100644 --- a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/node/sourcemapSingleFileSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/node/sourcemapSingleFileSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== test.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/amd/sourcemapSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/amd/sourcemapSubfolderSpecifyOutputFile.errors.txt index babb41566a553..654b3679c2e9c 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/amd/sourcemapSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/amd/sourcemapSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/node/sourcemapSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/node/sourcemapSubfolderSpecifyOutputFile.errors.txt index f174bdb49dd18..ddaa61fed3755 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/node/sourcemapSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/node/sourcemapSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/amd/sourcerootUrlMixedSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/amd/sourcerootUrlMixedSubfolderSpecifyOutputFile.errors.txt index a5ca1482b5cd4..ddecfa25b01f8 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/amd/sourcerootUrlMixedSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/amd/sourcerootUrlMixedSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/node/sourcerootUrlMixedSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/node/sourcerootUrlMixedSubfolderSpecifyOutputFile.errors.txt index 8463ae5b1a4d5..b796cb451777c 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/node/sourcerootUrlMixedSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/node/sourcerootUrlMixedSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt index a5ca1482b5cd4..ddecfa25b01f8 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt index 8463ae5b1a4d5..b796cb451777c 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputFile/amd/sourcerootUrlModuleMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputFile/amd/sourcerootUrlModuleMultifolderSpecifyOutputFile.errors.txt index 07a45826b8bd9..3a9d78806e3b3 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputFile/amd/sourcerootUrlModuleMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputFile/amd/sourcerootUrlModuleMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputFile/node/sourcerootUrlModuleMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputFile/node/sourcerootUrlModuleMultifolderSpecifyOutputFile.errors.txt index 8d5143f60ad82..85d7886a09778 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputFile/node/sourcerootUrlModuleMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputFile/node/sourcerootUrlModuleMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputFile/amd/sourcerootUrlModuleSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputFile/amd/sourcerootUrlModuleSimpleSpecifyOutputFile.errors.txt index 3d31526af0a6b..f1b4df6081185 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputFile/amd/sourcerootUrlModuleSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputFile/amd/sourcerootUrlModuleSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputFile/node/sourcerootUrlModuleSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputFile/node/sourcerootUrlModuleSimpleSpecifyOutputFile.errors.txt index 2e947050950b0..6b1d504fe02e1 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputFile/node/sourcerootUrlModuleSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputFile/node/sourcerootUrlModuleSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputFile/amd/sourcerootUrlModuleSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputFile/amd/sourcerootUrlModuleSubfolderSpecifyOutputFile.errors.txt index 5336de40839f2..48adcd38d98bb 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputFile/amd/sourcerootUrlModuleSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputFile/amd/sourcerootUrlModuleSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputFile/node/sourcerootUrlModuleSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputFile/node/sourcerootUrlModuleSubfolderSpecifyOutputFile.errors.txt index bc6455bd40ffe..fed47cab32b85 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputFile/node/sourcerootUrlModuleSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputFile/node/sourcerootUrlModuleSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/amd/sourcerootUrlMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/amd/sourcerootUrlMultifolderSpecifyOutputFile.errors.txt index 7319ec3d03e3d..83f4874e25f73 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/amd/sourcerootUrlMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/amd/sourcerootUrlMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/node/sourcerootUrlMultifolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/node/sourcerootUrlMultifolderSpecifyOutputFile.errors.txt index 979a434de92b0..71e416c72292c 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/node/sourcerootUrlMultifolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/node/sourcerootUrlMultifolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/amd/sourcerootUrlSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/amd/sourcerootUrlSimpleSpecifyOutputFile.errors.txt index 477be2decfcb0..af2fb429a4b48 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/amd/sourcerootUrlSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/amd/sourcerootUrlSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/node/sourcerootUrlSimpleSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/node/sourcerootUrlSimpleSpecifyOutputFile.errors.txt index 7e7a851c111e4..2a5604f1fb3fc 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/node/sourcerootUrlSimpleSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/node/sourcerootUrlSimpleSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/amd/sourcerootUrlSingleFileSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/amd/sourcerootUrlSingleFileSpecifyOutputFile.errors.txt index 0d25528f041b5..c082deade4022 100644 --- a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/amd/sourcerootUrlSingleFileSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/amd/sourcerootUrlSingleFileSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== test.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/node/sourcerootUrlSingleFileSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/node/sourcerootUrlSingleFileSpecifyOutputFile.errors.txt index 17a2812a8c151..418f27071208b 100644 --- a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/node/sourcerootUrlSingleFileSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/node/sourcerootUrlSingleFileSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== test.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/amd/sourcerootUrlSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/amd/sourcerootUrlSubfolderSpecifyOutputFile.errors.txt index babb41566a553..654b3679c2e9c 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/amd/sourcerootUrlSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/amd/sourcerootUrlSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/node/sourcerootUrlSubfolderSpecifyOutputFile.errors.txt b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/node/sourcerootUrlSubfolderSpecifyOutputFile.errors.txt index f174bdb49dd18..ddaa61fed3755 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/node/sourcerootUrlSubfolderSpecifyOutputFile.errors.txt +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/node/sourcerootUrlSubfolderSpecifyOutputFile.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/m1.ts (0 errors) ==== diff --git a/tests/baselines/reference/requireOfJsonFileWithModuleNodeResolutionEmitAmdOutFile.errors.txt b/tests/baselines/reference/requireOfJsonFileWithModuleNodeResolutionEmitAmdOutFile.errors.txt index 8c407e1b674c1..6eda865ff38ec 100644 --- a/tests/baselines/reference/requireOfJsonFileWithModuleNodeResolutionEmitAmdOutFile.errors.txt +++ b/tests/baselines/reference/requireOfJsonFileWithModuleNodeResolutionEmitAmdOutFile.errors.txt @@ -1,8 +1,10 @@ error TS5095: Option 'bundler' can only be used when 'module' is set to 'preserve', 'commonjs', or 'es2015' or later. +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5095: Option 'bundler' can only be used when 'module' is set to 'preserve', 'commonjs', or 'es2015' or later. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== file1.ts (0 errors) ==== import * as b from './b.json'; diff --git a/tests/baselines/reference/signaturesUseJSDocForOptionalParameters.errors.txt b/tests/baselines/reference/signaturesUseJSDocForOptionalParameters.errors.txt new file mode 100644 index 0000000000000..d130c106d247e --- /dev/null +++ b/tests/baselines/reference/signaturesUseJSDocForOptionalParameters.errors.txt @@ -0,0 +1,20 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== jsDocOptionality.js (0 errors) ==== + function MyClass() { + this.prop = null; + } + /** + * @param {string} required + * @param {string} [notRequired] + * @returns {MyClass} + */ + MyClass.prototype.optionalParam = function(required, notRequired) { + return this; + }; + let pInst = new MyClass(); + let c1 = pInst.optionalParam('hello') + let c2 = pInst.optionalParam('hello', null) + \ No newline at end of file diff --git a/tests/baselines/reference/signaturesUseJSDocForOptionalParameters.types b/tests/baselines/reference/signaturesUseJSDocForOptionalParameters.types index 1058363a7df61..f3b0d2bdf9d59 100644 --- a/tests/baselines/reference/signaturesUseJSDocForOptionalParameters.types +++ b/tests/baselines/reference/signaturesUseJSDocForOptionalParameters.types @@ -9,6 +9,7 @@ function MyClass() { >this.prop = null : null > : ^^^^ >this.prop : any +> : ^^^ >this : this > : ^^^^ >prop : any @@ -23,6 +24,7 @@ MyClass.prototype.optionalParam = function(required, notRequired) { >MyClass.prototype.optionalParam = function(required, notRequired) { return this;} : (required: string, notRequired?: string) => MyClass > : ^ ^^ ^^ ^^^ ^^^^^ >MyClass.prototype.optionalParam : any +> : ^^^ >MyClass.prototype : any > : ^^^ >MyClass : typeof MyClass diff --git a/tests/baselines/reference/sourceMapWithCaseSensitiveFileNames.errors.txt b/tests/baselines/reference/sourceMapWithCaseSensitiveFileNames.errors.txt new file mode 100644 index 0000000000000..77593edcc4140 --- /dev/null +++ b/tests/baselines/reference/sourceMapWithCaseSensitiveFileNames.errors.txt @@ -0,0 +1,14 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== testFiles/app.ts (0 errors) ==== + // Note in the out result we are using same folder name only different in casing + // Since this is case sensitive, the folders are different and hence the relative paths in sourcemap shouldn't be just app.ts or app2.ts + class c { + } + +==== testFiles/app2.ts (0 errors) ==== + class d { + } + \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapWithMultipleFilesWithCopyright.errors.txt b/tests/baselines/reference/sourceMapWithMultipleFilesWithCopyright.errors.txt new file mode 100644 index 0000000000000..e2a69e291be62 --- /dev/null +++ b/tests/baselines/reference/sourceMapWithMultipleFilesWithCopyright.errors.txt @@ -0,0 +1,22 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== b.ts (0 errors) ==== + /*-------------------------------------------------------------------------- + Copyright + ---------------------------------------------------------------------------*/ + + /// + var y = x; + +==== a.ts (0 errors) ==== + /*-------------------------------------------------------------------------- + Copyright + ---------------------------------------------------------------------------*/ + + var x = { + a: 10, + b: 20 + }; + \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapWithMultipleFilesWithFileEndingWithInterface.errors.txt b/tests/baselines/reference/sourceMapWithMultipleFilesWithFileEndingWithInterface.errors.txt new file mode 100644 index 0000000000000..92a900c2f0d07 --- /dev/null +++ b/tests/baselines/reference/sourceMapWithMultipleFilesWithFileEndingWithInterface.errors.txt @@ -0,0 +1,21 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== a.ts (0 errors) ==== + namespace M { + export var X = 1; + } + interface Navigator { + getGamepads(func?: any): any; + webkitGetGamepads(func?: any): any + msGetGamepads(func?: any): any; + webkitGamepads(func?: any): any; + } + +==== b.ts (0 errors) ==== + namespace m1 { + export class c1 { + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapWithMultipleFilesWithFileEndingWithInterface.types b/tests/baselines/reference/sourceMapWithMultipleFilesWithFileEndingWithInterface.types index 82bcd5200afca..acae73ea6e1cd 100644 --- a/tests/baselines/reference/sourceMapWithMultipleFilesWithFileEndingWithInterface.types +++ b/tests/baselines/reference/sourceMapWithMultipleFilesWithFileEndingWithInterface.types @@ -16,21 +16,25 @@ interface Navigator { >getGamepads : { (): (Gamepad | null)[]; (func?: any): any; } > : ^^^^^^ ^^^ ^^^ ^^^ ^^^ >func : any +> : ^^^ webkitGetGamepads(func?: any): any >webkitGetGamepads : (func?: any) => any > : ^ ^^^ ^^^^^ >func : any +> : ^^^ msGetGamepads(func?: any): any; >msGetGamepads : (func?: any) => any > : ^ ^^^ ^^^^^ >func : any +> : ^^^ webkitGamepads(func?: any): any; >webkitGamepads : (func?: any) => any > : ^ ^^^ ^^^^^ >func : any +> : ^^^ } === b.ts === diff --git a/tests/baselines/reference/sourceMapWithNonCaseSensitiveFileNames.errors.txt b/tests/baselines/reference/sourceMapWithNonCaseSensitiveFileNames.errors.txt new file mode 100644 index 0000000000000..79c379e345b84 --- /dev/null +++ b/tests/baselines/reference/sourceMapWithNonCaseSensitiveFileNames.errors.txt @@ -0,0 +1,14 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== testFiles/app.ts (0 errors) ==== + // Note in the out result we are using same folder name only different in casing + // Since this is non case sensitive, the relative paths should be just app.ts and app2.ts in the sourcemap + class c { + } + +==== testFiles/app2.ts (0 errors) ==== + class d { + } + \ No newline at end of file diff --git a/tests/baselines/reference/topLevelThisAssignment.errors.txt b/tests/baselines/reference/topLevelThisAssignment.errors.txt new file mode 100644 index 0000000000000..1ff33aa63944a --- /dev/null +++ b/tests/baselines/reference/topLevelThisAssignment.errors.txt @@ -0,0 +1,13 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== a.js (0 errors) ==== + this.a = 10; + this.a; + a; + +==== b.js (0 errors) ==== + this.a; + a; + \ 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 6f4321710bfa2..22487ede7b739 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 @@ -87,6 +87,11 @@ Output:: 4 "module": "amd",    ~~~~~ +lib/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +9 "outFile": "module.js" +   ~~~~~~~~~ + [HH:MM:SS AM] Project 'app/tsconfig.json' is out of date because output file 'app/module.tsbuildinfo' does not exist [HH:MM:SS AM] Building project '/home/src/workspaces/soltion/app/tsconfig.json'... @@ -96,8 +101,13 @@ Output:: 4 "module": "amd",    ~~~~~ +app/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +9 "outFile": "module.js" +   ~~~~~~~~~ + -Found 2 errors. +Found 4 errors. @@ -672,6 +682,11 @@ Output:: 4 "module": "amd",    ~~~~~ +lib/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +9 "outFile": "module.js" +   ~~~~~~~~~ + [HH:MM:SS AM] Project 'app/tsconfig.json' is out of date because buildinfo file 'app/module.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/workspaces/soltion/app/tsconfig.json'... @@ -681,8 +696,13 @@ Output:: 4 "module": "amd",    ~~~~~ +app/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +9 "outFile": "module.js" +   ~~~~~~~~~ + -Found 2 errors. +Found 4 errors. 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 22235dcc05e4d..98bef9901008b 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/prepend-reports-deprecation-error.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/prepend-reports-deprecation-error.js @@ -88,6 +88,11 @@ Output:: 4 "module": "amd",    ~~~~~ +lib/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +9 "outFile": "module.js" +   ~~~~~~~~~ + [HH:MM:SS AM] Project 'app/tsconfig.json' is out of date because output file 'app/module.tsbuildinfo' does not exist [HH:MM:SS AM] Building project '/home/src/workspaces/soltion/app/tsconfig.json'... @@ -97,6 +102,11 @@ Output:: 4 "module": "amd",    ~~~~~ +app/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +9 "outFile": "module.js" +   ~~~~~~~~~ + app/tsconfig.json:15:5 - error TS5102: Option 'prepend' has been removed. Please remove it from your configuration. 15 { @@ -109,7 +119,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. @@ -684,6 +694,11 @@ Output:: 4 "module": "amd",    ~~~~~ +lib/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +9 "outFile": "module.js" +   ~~~~~~~~~ + [HH:MM:SS AM] Project 'app/tsconfig.json' is out of date because buildinfo file 'app/module.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/workspaces/soltion/app/tsconfig.json'... @@ -693,6 +708,11 @@ Output:: 4 "module": "amd",    ~~~~~ +app/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +9 "outFile": "module.js" +   ~~~~~~~~~ + app/tsconfig.json:15:5 - error TS5102: Option 'prepend' has been removed. Please remove it from your configuration. 15 { @@ -705,7 +725,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. 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 de4af543d4a6b..dd29029253ac5 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 @@ -87,6 +87,11 @@ Output:: 4 "module": "amd",    ~~~~~ +lib/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +9 "outFile": "../module.js", "rootDir": "../" +   ~~~~~~~~~ + [HH:MM:SS AM] Project 'app/tsconfig.json' is out of date because output file 'app/module.tsbuildinfo' does not exist [HH:MM:SS AM] Building project '/home/src/workspaces/soltion/app/tsconfig.json'... @@ -96,8 +101,13 @@ Output:: 4 "module": "amd",    ~~~~~ +app/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +9 "outFile": "module.js" +   ~~~~~~~~~ + -Found 2 errors. +Found 4 errors. diff --git a/tests/baselines/reference/tsbuild/commandLine/outFile/different-options-with-incremental.js b/tests/baselines/reference/tsbuild/commandLine/outFile/different-options-with-incremental.js index 8b78ce9f0633b..df084ccd3f4cc 100644 --- a/tests/baselines/reference/tsbuild/commandLine/outFile/different-options-with-incremental.js +++ b/tests/baselines/reference/tsbuild/commandLine/outFile/different-options-with-incremental.js @@ -45,13 +45,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -188,13 +193,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -336,13 +346,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -479,13 +494,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -610,13 +630,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -746,13 +771,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -800,13 +830,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -943,13 +978,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -1063,13 +1103,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -1114,13 +1159,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -1259,13 +1309,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -1407,13 +1462,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -1550,13 +1610,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -1670,13 +1735,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. diff --git a/tests/baselines/reference/tsbuild/commandLine/outFile/different-options.js b/tests/baselines/reference/tsbuild/commandLine/outFile/different-options.js index cd667d402a4a0..fb9f0732876c4 100644 --- a/tests/baselines/reference/tsbuild/commandLine/outFile/different-options.js +++ b/tests/baselines/reference/tsbuild/commandLine/outFile/different-options.js @@ -45,13 +45,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -206,13 +211,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -357,13 +367,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -503,13 +518,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -555,13 +575,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -606,13 +631,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -745,13 +775,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -877,13 +912,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -929,13 +969,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -983,13 +1028,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -1129,13 +1179,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -1181,13 +1236,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -1329,13 +1389,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. diff --git a/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental.js b/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental.js index 9a4063ef8cb37..a500899c6b6ac 100644 --- a/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental.js +++ b/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental.js @@ -73,6 +73,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd", @@ -82,6 +87,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd", @@ -97,7 +107,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. @@ -327,6 +337,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd", @@ -336,6 +351,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd", @@ -351,7 +371,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. @@ -428,6 +448,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd", @@ -437,6 +462,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd", @@ -452,7 +482,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. @@ -592,6 +622,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd", @@ -601,6 +636,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd", @@ -616,7 +656,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. @@ -870,6 +910,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd", @@ -879,6 +924,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd", @@ -894,7 +944,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. @@ -968,6 +1018,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd", @@ -977,6 +1032,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd", @@ -992,7 +1052,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. @@ -1069,6 +1129,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd", @@ -1078,6 +1143,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd", @@ -1093,7 +1163,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. diff --git a/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-false-on-commandline-with-declaration.js b/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-false-on-commandline-with-declaration.js index 544aff866e2af..59e3a82a7fea1 100644 --- a/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-false-on-commandline-with-declaration.js +++ b/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-false-on-commandline-with-declaration.js @@ -71,6 +71,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -80,6 +85,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -95,7 +105,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. @@ -225,6 +235,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -234,6 +249,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -249,7 +269,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. @@ -330,6 +350,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -339,6 +364,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -354,7 +384,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. @@ -432,6 +462,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -441,6 +476,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -456,7 +496,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. @@ -585,6 +625,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -594,6 +639,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -609,7 +659,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. @@ -687,6 +737,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -696,6 +751,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -711,7 +771,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. @@ -794,6 +854,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -803,6 +868,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -818,7 +888,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. diff --git a/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-false-on-commandline.js b/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-false-on-commandline.js index eab8ed7331472..2658d09332b86 100644 --- a/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-false-on-commandline.js +++ b/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-false-on-commandline.js @@ -71,6 +71,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd", @@ -80,13 +85,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd",    ~~~~~ -Found 2 errors. +Found 4 errors. @@ -318,6 +328,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd", @@ -327,13 +342,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd",    ~~~~~ -Found 2 errors. +Found 4 errors. @@ -408,6 +428,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd", @@ -417,13 +442,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd",    ~~~~~ -Found 2 errors. +Found 4 errors. @@ -562,6 +592,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd", @@ -571,13 +606,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd",    ~~~~~ -Found 2 errors. +Found 4 errors. @@ -833,6 +873,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd", @@ -842,13 +887,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd",    ~~~~~ -Found 2 errors. +Found 4 errors. @@ -920,6 +970,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd", @@ -929,13 +984,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd",    ~~~~~ -Found 2 errors. +Found 4 errors. @@ -1010,6 +1070,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd", @@ -1019,13 +1084,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd",    ~~~~~ -Found 2 errors. +Found 4 errors. diff --git a/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-on-commandline-with-declaration-and-incremental.js b/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-on-commandline-with-declaration-and-incremental.js index 3aa93da46bb56..99a2abbe62330 100644 --- a/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-on-commandline-with-declaration-and-incremental.js +++ b/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-on-commandline-with-declaration-and-incremental.js @@ -71,6 +71,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -80,6 +85,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -95,7 +105,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. @@ -325,6 +335,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -334,6 +349,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -349,7 +369,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. @@ -426,6 +446,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -435,6 +460,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -450,7 +480,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. @@ -593,6 +623,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -602,6 +637,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -617,7 +657,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. @@ -837,6 +877,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -846,6 +891,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -861,7 +911,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. @@ -1112,6 +1162,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -1121,6 +1176,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -1136,7 +1196,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. @@ -1213,6 +1273,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -1222,6 +1287,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -1237,7 +1307,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. @@ -1409,6 +1479,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -1418,6 +1493,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -1433,7 +1513,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. @@ -1576,6 +1656,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -1585,6 +1670,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -1600,7 +1690,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. @@ -1824,6 +1914,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -1833,6 +1928,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -1848,7 +1948,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. diff --git a/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-on-commandline-with-declaration.js b/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-on-commandline-with-declaration.js index 261f974a69333..6d7fc5e1bba59 100644 --- a/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-on-commandline-with-declaration.js +++ b/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-on-commandline-with-declaration.js @@ -69,6 +69,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -78,6 +83,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -93,7 +103,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. @@ -223,6 +233,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -232,6 +247,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -247,7 +267,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. @@ -328,6 +348,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -337,6 +362,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -352,7 +382,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. @@ -433,6 +463,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -442,6 +477,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -457,7 +497,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. @@ -550,6 +590,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -559,6 +604,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -574,7 +624,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. @@ -702,6 +752,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -711,6 +766,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -726,7 +786,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. @@ -807,6 +867,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -816,6 +881,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -831,7 +901,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. @@ -943,6 +1013,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -952,6 +1027,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -967,7 +1047,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. @@ -1048,6 +1128,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -1057,6 +1142,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -1072,7 +1162,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. @@ -1169,6 +1259,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -1178,6 +1273,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -1193,7 +1293,7 @@ Output::   ~~~~~ -Found 3 errors. +Found 5 errors. diff --git a/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-on-commandline.js b/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-on-commandline.js index 3a649d5537421..63a674d058e6b 100644 --- a/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-on-commandline.js +++ b/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-on-commandline.js @@ -69,6 +69,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -78,13 +83,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 2 errors. +Found 4 errors. @@ -316,6 +326,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -325,13 +340,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 2 errors. +Found 4 errors. @@ -406,6 +426,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -415,13 +440,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 2 errors. +Found 4 errors. @@ -563,6 +593,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -572,13 +607,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 2 errors. +Found 4 errors. @@ -799,6 +839,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -808,13 +853,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 2 errors. +Found 4 errors. @@ -1067,6 +1117,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -1076,13 +1131,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 2 errors. +Found 4 errors. @@ -1157,6 +1217,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -1166,13 +1231,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 2 errors. +Found 4 errors. @@ -1343,6 +1413,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -1352,13 +1427,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 2 errors. +Found 4 errors. @@ -1500,6 +1580,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -1509,13 +1594,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 2 errors. +Found 4 errors. @@ -1740,6 +1830,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project1/src/tsconfig.json'... +project1/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project1/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -1749,13 +1844,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/src/tsconfig.json'... +project2/src/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + project2/src/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 2 errors. +Found 4 errors. diff --git a/tests/baselines/reference/tsbuild/configFileErrors/outFile/reports-syntax-errors-in-config-file.js b/tests/baselines/reference/tsbuild/configFileErrors/outFile/reports-syntax-errors-in-config-file.js index 7da423b2683d2..57db1041e4a5e 100644 --- a/tests/baselines/reference/tsbuild/configFileErrors/outFile/reports-syntax-errors-in-config-file.js +++ b/tests/baselines/reference/tsbuild/configFileErrors/outFile/reports-syntax-errors-in-config-file.js @@ -37,6 +37,11 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js --b Output:: +tsconfig.json:4:3 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:13 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -48,7 +53,7 @@ Output::    ~~~~~~ -Found 2 errors. +Found 3 errors. @@ -150,6 +155,11 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --b Output:: +tsconfig.json:5:3 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:13 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -161,7 +171,7 @@ Output::    ~~~~~~ -Found 2 errors. +Found 3 errors. @@ -177,6 +187,11 @@ export function foo() { }export function fooBar() { } /home/src/tslibs/TS/Lib/tsc.js --b Output:: +tsconfig.json:5:3 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:13 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -188,7 +203,7 @@ Output::    ~~~~~~ -Found 2 errors. +Found 3 errors. @@ -279,6 +294,11 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --b Output:: +tsconfig.json:5:3 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:13 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -290,7 +310,7 @@ Output::    ~~~~~~ -Found 2 errors. +Found 3 errors. @@ -317,13 +337,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --b Output:: +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. diff --git a/tests/baselines/reference/tsbuild/declarationEmit/outFile/reports-dts-generation-errors-with-incremental.js b/tests/baselines/reference/tsbuild/declarationEmit/outFile/reports-dts-generation-errors-with-incremental.js index a16c343766c08..beafe33dac994 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/outFile/reports-dts-generation-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/outFile/reports-dts-generation-errors-with-incremental.js @@ -62,6 +62,11 @@ Output:: 3 "module": "amd",    ~~~~~ +tsconfig.json:8:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +8 "outFile": "./outFile.js" +   ~~~~~~~~~ + TSFILE: /home/src/workspaces/project/outFile.js TSFILE: /home/src/workspaces/project/outFile.tsbuildinfo ../../tslibs/TS/Lib/lib.d.ts @@ -71,7 +76,7 @@ ky.d.ts src/index.ts Matched by include pattern 'src' in 'tsconfig.json' -Found 2 errors. +Found 3 errors. @@ -174,6 +179,11 @@ Output:: 3 "module": "amd",    ~~~~~ +tsconfig.json:8:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +8 "outFile": "./outFile.js" +   ~~~~~~~~~ + ../../tslibs/TS/Lib/lib.d.ts Default library for target 'es5' ky.d.ts @@ -181,7 +191,7 @@ ky.d.ts src/index.ts Matched by include pattern 'src' in 'tsconfig.json' -Found 2 errors. +Found 3 errors. diff --git a/tests/baselines/reference/tsbuild/declarationEmit/outFile/reports-dts-generation-errors.js b/tests/baselines/reference/tsbuild/declarationEmit/outFile/reports-dts-generation-errors.js index 91dc0a9777687..95d64dc2bc1c3 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/outFile/reports-dts-generation-errors.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/outFile/reports-dts-generation-errors.js @@ -61,6 +61,11 @@ Output:: 3 "module": "amd",    ~~~~~ +tsconfig.json:7:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +7 "outFile": "./outFile.js" +   ~~~~~~~~~ + TSFILE: /home/src/workspaces/project/outFile.js TSFILE: /home/src/workspaces/project/outFile.tsbuildinfo ../../tslibs/TS/Lib/lib.d.ts @@ -72,7 +77,7 @@ src/index.ts [HH:MM:SS AM] Updating unchanged output timestamps of project '/home/src/workspaces/project/tsconfig.json'... -Found 2 errors. +Found 3 errors. @@ -128,6 +133,11 @@ Output:: 3 "module": "amd",    ~~~~~ +tsconfig.json:7:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +7 "outFile": "./outFile.js" +   ~~~~~~~~~ + TSFILE: /home/src/workspaces/project/outFile.js TSFILE: /home/src/workspaces/project/outFile.tsbuildinfo ../../tslibs/TS/Lib/lib.d.ts @@ -139,7 +149,7 @@ src/index.ts [HH:MM:SS AM] Updating unchanged output timestamps of project '/home/src/workspaces/project/tsconfig.json'... -Found 2 errors. +Found 3 errors. diff --git a/tests/baselines/reference/tsbuild/fileDelete/outFile/deleted-file-without-composite.js b/tests/baselines/reference/tsbuild/fileDelete/outFile/deleted-file-without-composite.js index 4672a8a05ce02..589ef057404d7 100644 --- a/tests/baselines/reference/tsbuild/fileDelete/outFile/deleted-file-without-composite.js +++ b/tests/baselines/reference/tsbuild/fileDelete/outFile/deleted-file-without-composite.js @@ -48,6 +48,11 @@ Output:: Module resolution kind is not specified, using 'Classic'. File '/home/src/workspaces/solution/child/child2.ts' exists - use it as a name resolution result. ======== Module name '../child/child2' was successfully resolved to '/home/src/workspaces/solution/child/child2.ts'. ======== +child/tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../childResult.js", +   ~~~~~~~~~ + child/tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd" @@ -61,7 +66,7 @@ child/child2.ts child/child.ts Matched by default include pattern '**/*' -Found 1 error. +Found 2 errors. @@ -122,6 +127,11 @@ File '/home/src/workspaces/solution/child/child2.d.ts' does not exist. File '/home/src/workspaces/solution/child/child2.js' does not exist. File '/home/src/workspaces/solution/child/child2.jsx' does not exist. ======== Module name '../child/child2' was not resolved. ======== +child/tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../childResult.js", +   ~~~~~~~~~ + child/tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd" @@ -132,7 +142,7 @@ File '/home/src/workspaces/solution/child/child2.jsx' does not exist. child/child.ts Matched by default include pattern '**/*' -Found 1 error. +Found 2 errors. diff --git a/tests/baselines/reference/tsbuild/fileDelete/outFile/detects-deleted-file.js b/tests/baselines/reference/tsbuild/fileDelete/outFile/detects-deleted-file.js index c0459fea5a1ea..e46aa983a25b3 100644 --- a/tests/baselines/reference/tsbuild/fileDelete/outFile/detects-deleted-file.js +++ b/tests/baselines/reference/tsbuild/fileDelete/outFile/detects-deleted-file.js @@ -71,6 +71,11 @@ Output:: Module resolution kind is not specified, using 'Classic'. File '/home/src/workspaces/solution/child/child2.ts' exists - use it as a name resolution result. ======== Module name '../child/child2' was successfully resolved to '/home/src/workspaces/solution/child/child2.ts'. ======== +child/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../childResult.js", +   ~~~~~~~~~ + child/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -127,6 +132,11 @@ File '/home/child.jsx' does not exist. File '/child.js' does not exist. File '/child.jsx' does not exist. ======== Module name 'child' was not resolved. ======== +main/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../mainResult.js", +   ~~~~~~~~~ + main/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -139,7 +149,7 @@ childResult.d.ts main/main.ts Matched by default include pattern '**/*' -Found 2 errors. +Found 4 errors. @@ -309,6 +319,11 @@ File '/home/src/workspaces/solution/child/child2.d.ts' does not exist. File '/home/src/workspaces/solution/child/child2.js' does not exist. File '/home/src/workspaces/solution/child/child2.jsx' does not exist. ======== Module name '../child/child2' was not resolved. ======== +child/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../childResult.js", +   ~~~~~~~~~ + child/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -362,6 +377,11 @@ File '/home/child.jsx' does not exist. File '/child.js' does not exist. File '/child.jsx' does not exist. ======== Module name 'child' was not resolved. ======== +main/tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../mainResult.js", +   ~~~~~~~~~ + main/tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -374,7 +394,7 @@ childResult.d.ts main/main.ts Matched by default include pattern '**/*' -Found 2 errors. +Found 4 errors. diff --git a/tests/baselines/reference/tsbuild/noCheck/outFile/dts-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noCheck/outFile/dts-errors-with-incremental.js index 6ccf068c0fb44..89fa4d559c78c 100644 --- a/tests/baselines/reference/tsbuild/noCheck/outFile/dts-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noCheck/outFile/dts-errors-with-incremental.js @@ -55,8 +55,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 2 errors. +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 3 errors. @@ -215,8 +220,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error. +Found 2 errors. @@ -353,8 +363,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error. + +Found 2 errors. @@ -449,8 +464,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error. + +Found 2 errors. @@ -526,8 +546,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 2 errors. +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 3 errors. @@ -693,8 +718,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 2 errors. +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 3 errors. @@ -815,8 +845,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error. +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors. @@ -929,8 +964,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error. + +Found 2 errors. @@ -1028,8 +1068,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error. + +Found 2 errors. @@ -1181,8 +1226,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 2 errors. +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 3 errors. @@ -1342,8 +1392,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error. +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors. @@ -1473,8 +1528,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error. +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors. @@ -1596,8 +1656,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error. + +Found 2 errors. diff --git a/tests/baselines/reference/tsbuild/noCheck/outFile/dts-errors.js b/tests/baselines/reference/tsbuild/noCheck/outFile/dts-errors.js index 5d554bd98bff9..1ab891c870575 100644 --- a/tests/baselines/reference/tsbuild/noCheck/outFile/dts-errors.js +++ b/tests/baselines/reference/tsbuild/noCheck/outFile/dts-errors.js @@ -54,10 +54,15 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + [HH:MM:SS AM] Updating unchanged output timestamps of project '/home/src/workspaces/project/tsconfig.json'... -Found 2 errors. +Found 3 errors. @@ -149,10 +154,15 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + [HH:MM:SS AM] Updating unchanged output timestamps of project '/home/src/workspaces/project/tsconfig.json'... -Found 2 errors. +Found 3 errors. @@ -205,8 +215,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error. +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors. @@ -295,8 +310,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error. +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors. @@ -358,8 +378,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error. + +Found 2 errors. @@ -438,10 +463,15 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + [HH:MM:SS AM] Updating unchanged output timestamps of project '/home/src/workspaces/project/tsconfig.json'... -Found 2 errors. +Found 3 errors. @@ -550,10 +580,15 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + [HH:MM:SS AM] Updating unchanged output timestamps of project '/home/src/workspaces/project/tsconfig.json'... -Found 2 errors. +Found 3 errors. @@ -618,8 +653,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error. +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors. @@ -697,8 +737,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error. +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors. @@ -763,8 +808,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error. +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors. @@ -873,10 +923,15 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + [HH:MM:SS AM] Updating unchanged output timestamps of project '/home/src/workspaces/project/tsconfig.json'... -Found 2 errors. +Found 3 errors. @@ -971,8 +1026,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error. + +Found 2 errors. @@ -1045,8 +1105,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error. + +Found 2 errors. @@ -1127,8 +1192,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error. + +Found 2 errors. diff --git a/tests/baselines/reference/tsbuild/noCheck/outFile/semantic-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noCheck/outFile/semantic-errors-with-incremental.js index 272860dfe5d74..daa04897d2af2 100644 --- a/tests/baselines/reference/tsbuild/noCheck/outFile/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noCheck/outFile/semantic-errors-with-incremental.js @@ -45,8 +45,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error. +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors. @@ -186,8 +191,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error. +Found 2 errors. @@ -310,8 +320,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error. +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors. @@ -406,8 +421,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error. + +Found 2 errors. @@ -473,8 +493,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error. +Found 2 errors. @@ -597,8 +622,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error. +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors. @@ -696,8 +726,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error. + +Found 2 errors. @@ -804,8 +839,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error. + +Found 2 errors. @@ -903,8 +943,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error. + +Found 2 errors. @@ -1046,8 +1091,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error. +Found 2 errors. @@ -1171,8 +1221,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error. +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors. @@ -1293,8 +1348,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error. + +Found 2 errors. @@ -1416,8 +1476,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error. +Found 2 errors. diff --git a/tests/baselines/reference/tsbuild/noCheck/outFile/semantic-errors.js b/tests/baselines/reference/tsbuild/noCheck/outFile/semantic-errors.js index b6360482a8884..e8cd1e21ad7f9 100644 --- a/tests/baselines/reference/tsbuild/noCheck/outFile/semantic-errors.js +++ b/tests/baselines/reference/tsbuild/noCheck/outFile/semantic-errors.js @@ -44,8 +44,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error. +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors. @@ -150,8 +155,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error. +Found 2 errors. @@ -226,8 +236,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error. +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors. @@ -289,8 +304,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error. + +Found 2 errors. @@ -359,8 +379,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error. +Found 2 errors. @@ -448,8 +473,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error. +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors. @@ -514,8 +544,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error. + +Found 2 errors. @@ -587,8 +622,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error. + +Found 2 errors. @@ -653,8 +693,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error. + +Found 2 errors. @@ -753,8 +798,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error. +Found 2 errors. @@ -835,8 +885,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error. +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors. @@ -900,8 +955,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error. + +Found 2 errors. @@ -982,8 +1042,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error. +Found 2 errors. diff --git a/tests/baselines/reference/tsbuild/noCheck/outFile/syntax-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noCheck/outFile/syntax-errors-with-incremental.js index 2eba32763e7a9..1af603fb1f81d 100644 --- a/tests/baselines/reference/tsbuild/noCheck/outFile/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noCheck/outFile/syntax-errors-with-incremental.js @@ -186,8 +186,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error. + +Found 2 errors. @@ -316,8 +321,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error. +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors. @@ -412,8 +422,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error. +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors. @@ -708,8 +723,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error. + +Found 2 errors. @@ -822,8 +842,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error. + +Found 2 errors. @@ -921,8 +946,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error. +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors. @@ -1198,8 +1228,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error. +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors. @@ -1329,8 +1364,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error. +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors. @@ -1452,8 +1492,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error. +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors. diff --git a/tests/baselines/reference/tsbuild/noCheck/outFile/syntax-errors.js b/tests/baselines/reference/tsbuild/noCheck/outFile/syntax-errors.js index bfb5962318e77..95a100db4e85d 100644 --- a/tests/baselines/reference/tsbuild/noCheck/outFile/syntax-errors.js +++ b/tests/baselines/reference/tsbuild/noCheck/outFile/syntax-errors.js @@ -150,8 +150,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error. + +Found 2 errors. @@ -232,8 +237,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error. +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors. @@ -295,8 +305,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error. +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors. @@ -526,8 +541,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error. + +Found 2 errors. @@ -605,8 +625,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error. + +Found 2 errors. @@ -671,8 +696,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error. +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors. @@ -862,8 +892,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error. +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors. @@ -936,8 +971,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error. +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors. @@ -1018,8 +1058,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error. +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors. diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/changes-composite.js b/tests/baselines/reference/tsbuild/noEmit/outFile/changes-composite.js index aca35ce903e0d..d3f116793fafe 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/changes-composite.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/changes-composite.js @@ -60,13 +60,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -236,13 +241,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -262,13 +272,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -293,13 +308,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -377,13 +397,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -484,13 +509,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -510,13 +540,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -536,13 +571,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -562,13 +602,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -593,13 +638,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -769,13 +819,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -795,13 +850,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -821,13 +881,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -847,13 +912,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -878,13 +948,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -957,13 +1032,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -1133,13 +1213,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -1159,13 +1244,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -1185,13 +1275,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/changes-incremental-declaration.js b/tests/baselines/reference/tsbuild/noEmit/outFile/changes-incremental-declaration.js index e3b8cfca0d7e1..2435860165d6c 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/changes-incremental-declaration.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/changes-incremental-declaration.js @@ -61,13 +61,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -235,13 +240,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -261,13 +271,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -292,13 +307,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -374,13 +394,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -480,13 +505,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -506,13 +536,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -532,13 +567,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -558,13 +598,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -589,13 +634,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -763,13 +813,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -789,13 +844,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -815,13 +875,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -841,13 +906,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -872,13 +942,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -949,13 +1024,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -1123,13 +1203,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -1149,13 +1234,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -1175,13 +1265,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/changes-incremental.js b/tests/baselines/reference/tsbuild/noEmit/outFile/changes-incremental.js index 10dac7542edd4..9804cf4429d0e 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/changes-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/changes-incremental.js @@ -60,13 +60,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -213,13 +218,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -239,13 +249,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -270,13 +285,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -351,13 +371,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -455,13 +480,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -481,13 +511,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -507,13 +542,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -533,13 +573,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -564,13 +609,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -717,13 +767,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -743,13 +798,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -769,13 +829,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -795,13 +860,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -826,13 +896,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -902,13 +977,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -1055,13 +1135,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -1081,13 +1166,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -1107,13 +1197,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/changes-with-initial-noEmit-composite.js b/tests/baselines/reference/tsbuild/noEmit/outFile/changes-with-initial-noEmit-composite.js index cba73748f6d41..265c54ce47dc5 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/changes-with-initial-noEmit-composite.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/changes-with-initial-noEmit-composite.js @@ -60,13 +60,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -143,13 +148,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -324,13 +334,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -505,13 +520,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -584,13 +604,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/changes-with-initial-noEmit-incremental-declaration.js b/tests/baselines/reference/tsbuild/noEmit/outFile/changes-with-initial-noEmit-incremental-declaration.js index ff4b44068dc7d..1ee18de2f0f43 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/changes-with-initial-noEmit-incremental-declaration.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/changes-with-initial-noEmit-incremental-declaration.js @@ -61,13 +61,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -144,13 +149,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -323,13 +333,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -502,13 +517,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -579,13 +599,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/changes-with-initial-noEmit-incremental.js b/tests/baselines/reference/tsbuild/noEmit/outFile/changes-with-initial-noEmit-incremental.js index c03f1c0eed7f8..18a12af753733 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/changes-with-initial-noEmit-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/changes-with-initial-noEmit-incremental.js @@ -60,13 +60,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -142,13 +147,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -300,13 +310,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -458,13 +473,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. @@ -534,13 +554,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error. +Found 2 errors. diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-incremental-as-modules.js b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-incremental-as-modules.js index 5919e2af67c87..26ade643379c1 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-incremental-as-modules.js @@ -39,13 +39,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -125,13 +130,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -173,13 +183,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -261,13 +276,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -351,13 +371,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -409,13 +434,18 @@ Output::    ~ Add a type annotation to the variable a. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors. +Found 3 errors. @@ -551,13 +581,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -635,13 +670,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -721,13 +761,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-incremental-discrepancies.js index 14daa5f6604f9..081a74d7b0a56 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-incremental-discrepancies.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-incremental-discrepancies.js @@ -41,41 +41,4 @@ IncrementalBuild: 7:: With declaration and declarationMap noEmit Clean build will have declaration and declarationMap Incremental build will have previous buildInfo so will have declaration and declarationMap -TsBuild info text without affectedFilesPendingEmit:: /home/src/projects/outfile.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "fileInfos": { - "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "./project/a.ts": "9520728827-const a = class { public p = 10; };" - }, - "root": [ - [ - 2, - "./project/a.ts" - ] - ], - "options": { - "declaration": true, - "declarationMap": true, - "outFile": "./outFile.js" - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "fileInfos": { - "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "./project/a.ts": "9520728827-const a = class { public p = 10; };" - }, - "root": [ - [ - 2, - "./project/a.ts" - ] - ], - "options": { - "declaration": true, - "outFile": "./outFile.js" - }, - "version": "FakeTSVersion" -} \ No newline at end of file +*** Supplied discrepancy explanation but didnt find any difference \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-incremental.js b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-incremental.js index edae96aabe77b..020d52163065f 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-incremental.js @@ -35,10 +35,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error. + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -59,12 +67,12 @@ Output:: "options": { "outFile": "./outFile.js" }, - "pendingEmit": [ - "Js", - false + "changeFileSet": [ + "./project/a.ts", + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 619 + "size": 621 } @@ -83,13 +91,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: no-change-run @@ -100,12 +106,41 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'a.ts' is older than output '../outFile.tsbuildinfo' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... + +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +Found 1 error. + + + + +Program root files: [ + "/home/src/projects/project/a.ts" +] +Program options: { + "outFile": "/home/src/projects/outFile.js", + "incremental": true, + "noEmit": true, + "tscBuild": true, + "configFilePath": "/home/src/projects/project/tsconfig.json" +} +Program structureReused: Not +Program files:: +/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: +No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: With declaration enabled noEmit - Should report errors @@ -116,19 +151,14 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates there is change in compilerOptions +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS4094: Property 'p' of exported anonymous class type may not be private or protected. - -1 const a = class { private p = 10; }; -   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. - a.ts:1:7 - 1 const a = class { private p = 10; }; -    ~ - Add a type annotation to the variable a. +3 "outFile": "../outFile.js", +   ~~~~~~~~~ Found 1 error. @@ -136,7 +166,7 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"pendingEmit":17,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -158,35 +188,12 @@ Found 1 error. "declaration": true, "outFile": "./outFile.js" }, - "emitDiagnosticsPerFile": [ - [ - "./project/a.ts", - [ - { - "start": 6, - "length": 1, - "messageText": "Property 'p' of exported anonymous class type may not be private or protected.", - "category": 1, - "code": 4094, - "relatedInformation": [ - { - "start": 6, - "length": 1, - "messageText": "Add a type annotation to the variable a.", - "category": 1, - "code": 9027 - } - ] - } - ] - ] - ], - "pendingEmit": [ - "Js | DtsEmit", - 17 + "changeFileSet": [ + "./project/a.ts", + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 939 + "size": 640 } @@ -206,7 +213,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -225,15 +232,10 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS4094: Property 'p' of exported anonymous class type may not be private or protected. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a = class { private p = 10; }; -   ~ - - a.ts:1:7 - 1 const a = class { private p = 10; }; -    ~ - Add a type annotation to the variable a. +3 "outFile": "../outFile.js", +   ~~~~~~~~~ Found 1 error. @@ -241,7 +243,7 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"declarationMap":true,"outFile":"./outFile.js"},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"pendingEmit":49,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"declarationMap":true,"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -264,35 +266,12 @@ Found 1 error. "declarationMap": true, "outFile": "./outFile.js" }, - "emitDiagnosticsPerFile": [ - [ - "./project/a.ts", - [ - { - "start": 6, - "length": 1, - "messageText": "Property 'p' of exported anonymous class type may not be private or protected.", - "category": 1, - "code": 4094, - "relatedInformation": [ - { - "start": 6, - "length": 1, - "messageText": "Add a type annotation to the variable a.", - "category": 1, - "code": 9027 - } - ] - } - ] - ] - ], - "pendingEmit": [ - "Js | DtsEmit | DtsMap", - 49 + "changeFileSet": [ + "./project/a.ts", + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 961 + "size": 662 } @@ -313,7 +292,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -328,12 +307,41 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'a.ts' is older than output '../outFile.tsbuildinfo' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... + +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +Found 1 error. + + + + +Program root files: [ + "/home/src/projects/project/a.ts" +] +Program options: { + "outFile": "/home/src/projects/outFile.js", + "incremental": true, + "noEmit": true, + "tscBuild": true, + "configFilePath": "/home/src/projects/project/tsconfig.json" +} +Program structureReused: Not +Program files:: +/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: +No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: Dts Emit with error @@ -358,13 +366,18 @@ Output::    ~ Add a type annotation to the variable a. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ -Found 1 error. + +Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -386,6 +399,16 @@ Found 1 error. "declaration": true, "outFile": "./outFile.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./project/a.ts", + "not cached or not changed" + ] + ], "emitDiagnosticsPerFile": [ [ "./project/a.ts", @@ -410,7 +433,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 922 + "size": 957 } //// [/home/src/projects/outFile.js] @@ -438,7 +461,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -456,14 +479,22 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../outFile.tsbuildinfo' is older than input 'a.ts' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error. + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","9520728827-const a = class { public p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","9520728827-const a = class { public p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -484,9 +515,8 @@ Output:: "options": { "outFile": "./outFile.js" }, - "pendingEmit": [ - "Js", - false + "changeFileSet": [ + "./project/a.ts" ], "version": "FakeTSVersion", "size": 618 @@ -508,13 +538,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: With declaration enabled noEmit @@ -525,14 +553,22 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates there is change in compilerOptions +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error. + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","9520728827-const a = class { public p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"pendingEmit":17,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","9520728827-const a = class { public p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -554,12 +590,11 @@ Output:: "declaration": true, "outFile": "./outFile.js" }, - "pendingEmit": [ - "Js | DtsEmit", - 17 + "changeFileSet": [ + "./project/a.ts" ], "version": "FakeTSVersion", - "size": 634 + "size": 637 } @@ -579,11 +614,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: With declaration and declarationMap noEmit @@ -594,9 +629,71 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'a.ts' is older than output '../outFile.tsbuildinfo' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... + +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +Found 1 error. + + + +//// [/home/src/projects/outFile.tsbuildinfo] +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","9520728827-const a = class { public p = 10; };"],"root":[2],"options":{"declaration":true,"declarationMap":true,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} + +//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] +{ + "fileNames": [ + "../tslibs/ts/lib/lib.d.ts", + "./project/a.ts" + ], + "fileInfos": { + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "9520728827-const a = class { public p = 10; };" + }, + "root": [ + [ + 2, + "./project/a.ts" + ] + ], + "options": { + "declaration": true, + "declarationMap": true, + "outFile": "./outFile.js" + }, + "changeFileSet": [ + "./project/a.ts" + ], + "version": "FakeTSVersion", + "size": 659 +} + + +Program root files: [ + "/home/src/projects/project/a.ts" +] +Program options: { + "outFile": "/home/src/projects/outFile.js", + "incremental": true, + "declaration": true, + "declarationMap": true, + "noEmit": true, + "tscBuild": true, + "configFilePath": "/home/src/projects/project/tsconfig.json" +} +Program structureReused: Not +Program files:: +/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: +No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-multiple-files.js b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-multiple-files.js index 063b9b86b1cb9..c691a6a26e7c0 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-multiple-files.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-multiple-files.js @@ -45,13 +45,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -145,13 +150,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -197,13 +207,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -299,13 +314,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -403,13 +423,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -485,13 +510,18 @@ Output::    ~ Add a type annotation to the variable d. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 4 errors. +Found 5 errors. @@ -711,13 +741,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -807,13 +842,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -905,13 +945,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -1008,13 +1053,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes.js b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes.js index 354d3ae0433fb..ddb56267d229e 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes.js @@ -34,18 +34,27 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error. + //// [/home/src/projects/outFile.tsbuildinfo] -{"root":["./project/a.ts"],"version":"FakeTSVersion"} +{"root":["./project/a.ts"],"errors":true,"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "root": [ "./project/a.ts" ], + "errors": true, "version": "FakeTSVersion", - "size": 53 + "size": 67 } @@ -63,13 +72,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: no-change-run @@ -80,10 +87,18 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output file '../outFile.js' does not exist +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error. + //// [/home/src/projects/outFile.tsbuildinfo] file written with same contents @@ -103,13 +118,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: With declaration enabled noEmit - Should report errors @@ -120,38 +133,22 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output file '../outFile.js' does not exist +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS4094: Property 'p' of exported anonymous class type may not be private or protected. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a = class { private p = 10; }; -   ~ - - a.ts:1:7 - 1 const a = class { private p = 10; }; -    ~ - Add a type annotation to the variable a. +3 "outFile": "../outFile.js" +   ~~~~~~~~~ Found 1 error. -//// [/home/src/projects/outFile.tsbuildinfo] -{"root":["./project/a.ts"],"errors":true,"version":"FakeTSVersion"} - -//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] -{ - "root": [ - "./project/a.ts" - ], - "errors": true, - "version": "FakeTSVersion", - "size": 67 -} - +//// [/home/src/projects/outFile.tsbuildinfo] file written with same contents +//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents Program root files: [ "/home/src/projects/project/a.ts" @@ -168,9 +165,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -189,15 +184,10 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS4094: Property 'p' of exported anonymous class type may not be private or protected. - -1 const a = class { private p = 10; }; -   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. - a.ts:1:7 - 1 const a = class { private p = 10; }; -    ~ - Add a type annotation to the variable a. +3 "outFile": "../outFile.js" +   ~~~~~~~~~ Found 1 error. @@ -223,9 +213,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -244,20 +232,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error. + -//// [/home/src/projects/outFile.tsbuildinfo] -{"root":["./project/a.ts"],"version":"FakeTSVersion"} - -//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] -{ - "root": [ - "./project/a.ts" - ], - "version": "FakeTSVersion", - "size": 53 -} - +//// [/home/src/projects/outFile.tsbuildinfo] file written with same contents +//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents Program root files: [ "/home/src/projects/project/a.ts" @@ -273,13 +259,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: Dts Emit with error @@ -290,7 +274,7 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output file '../outFile.js' does not exist +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... @@ -304,26 +288,20 @@ Output::    ~ Add a type annotation to the variable a. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + [HH:MM:SS AM] Updating unchanged output timestamps of project '/home/src/projects/project/tsconfig.json'... -Found 1 error. +Found 2 errors. -//// [/home/src/projects/outFile.tsbuildinfo] -{"root":["./project/a.ts"],"errors":true,"version":"FakeTSVersion"} - -//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] -{ - "root": [ - "./project/a.ts" - ], - "errors": true, - "version": "FakeTSVersion", - "size": 67 -} - +//// [/home/src/projects/outFile.tsbuildinfo] file written with same contents +//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/outFile.js] var a = /** @class */ (function () { function class_1() { @@ -348,9 +326,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -372,20 +348,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error. + -//// [/home/src/projects/outFile.tsbuildinfo] -{"root":["./project/a.ts"],"version":"FakeTSVersion"} - -//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] -{ - "root": [ - "./project/a.ts" - ], - "version": "FakeTSVersion", - "size": 53 -} - +//// [/home/src/projects/outFile.tsbuildinfo] file written with same contents +//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents Program root files: [ "/home/src/projects/project/a.ts" @@ -401,13 +375,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: With declaration enabled noEmit @@ -418,10 +390,18 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../outFile.js' is older than input 'a.ts' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error. + //// [/home/src/projects/outFile.tsbuildinfo] file written with same contents @@ -442,13 +422,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: With declaration and declarationMap noEmit @@ -459,10 +437,18 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../outFile.js' is older than input 'a.ts' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error. + //// [/home/src/projects/outFile.tsbuildinfo] file written with same contents @@ -484,10 +470,8 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-incremental-as-modules.js b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-incremental-as-modules.js index fddf6ae22e533..dd0446789b1b6 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-incremental-as-modules.js @@ -40,13 +40,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -128,13 +133,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -180,13 +190,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -268,13 +283,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -317,13 +337,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -437,13 +462,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -489,13 +519,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -585,13 +620,18 @@ Output::    ~ Add a type annotation to the variable a. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors. +Found 3 errors. @@ -724,13 +764,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-incremental-discrepancies.js new file mode 100644 index 0000000000000..66153cdb54a8b --- /dev/null +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-incremental-discrepancies.js @@ -0,0 +1,84 @@ +7:: no-change-run +*** Needs explanation +Incremental build contains ./project/a.ts file has emit errors, clean build does not have errors or does not mark is as pending emit: /home/src/projects/outfile.tsbuildinfo.readable.baseline.txt:: +Incremental buildInfoText:: { + "fileNames": [ + "../tslibs/ts/lib/lib.d.ts", + "./project/a.ts" + ], + "fileInfos": { + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "7752727223-const a = class { private p = 10; };" + }, + "root": [ + [ + 2, + "./project/a.ts" + ] + ], + "options": { + "declaration": true, + "outFile": "./outFile.js" + }, + "semanticDiagnosticsPerFile": [ + [ + "../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./project/a.ts", + "not cached or not changed" + ] + ], + "emitDiagnosticsPerFile": [ + [ + "./project/a.ts", + [ + { + "start": 6, + "length": 1, + "messageText": "Property 'p' of exported anonymous class type may not be private or protected.", + "category": 1, + "code": 4094, + "relatedInformation": [ + { + "start": 6, + "length": 1, + "messageText": "Add a type annotation to the variable a.", + "category": 1, + "code": 9027 + } + ] + } + ] + ] + ], + "version": "FakeTSVersion", + "size": 957 +} +Clean buildInfoText:: { + "fileNames": [ + "../tslibs/ts/lib/lib.d.ts", + "./project/a.ts" + ], + "fileInfos": { + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "7752727223-const a = class { private p = 10; };" + }, + "root": [ + [ + 2, + "./project/a.ts" + ] + ], + "options": { + "declaration": true, + "outFile": "./outFile.js" + }, + "changeFileSet": [ + "./project/a.ts", + "../tslibs/ts/lib/lib.d.ts" + ], + "version": "FakeTSVersion", + "size": 640 +} \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-incremental.js index e9afeb5e78bbd..f2d69f3dc3087 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-incremental.js @@ -36,15 +36,10 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS4094: Property 'p' of exported anonymous class type may not be private or protected. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a = class { private p = 10; }; -   ~ - - a.ts:1:7 - 1 const a = class { private p = 10; }; -    ~ - Add a type annotation to the variable a. +3 "outFile": "../outFile.js", +   ~~~~~~~~~ Found 1 error. @@ -52,7 +47,7 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"pendingEmit":17,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -74,35 +69,12 @@ Found 1 error. "declaration": true, "outFile": "./outFile.js" }, - "emitDiagnosticsPerFile": [ - [ - "./project/a.ts", - [ - { - "start": 6, - "length": 1, - "messageText": "Property 'p' of exported anonymous class type may not be private or protected.", - "category": 1, - "code": 4094, - "relatedInformation": [ - { - "start": 6, - "length": 1, - "messageText": "Add a type annotation to the variable a.", - "category": 1, - "code": 9027 - } - ] - } - ] - ] - ], - "pendingEmit": [ - "Js | DtsEmit", - 17 + "changeFileSet": [ + "./project/a.ts", + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 939 + "size": 640 } @@ -122,9 +94,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -143,15 +113,10 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS4094: Property 'p' of exported anonymous class type may not be private or protected. - -1 const a = class { private p = 10; }; -   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. - a.ts:1:7 - 1 const a = class { private p = 10; }; -    ~ - Add a type annotation to the variable a. +3 "outFile": "../outFile.js", +   ~~~~~~~~~ Found 1 error. @@ -175,7 +140,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -197,10 +162,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error. + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"pendingEmit":17,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -222,12 +195,12 @@ Output:: "declaration": true, "outFile": "./outFile.js" }, - "pendingEmit": [ - "Js | DtsEmit", - 17 + "changeFileSet": [ + "./project/a.ts", + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 619 + "size": 624 } @@ -247,13 +220,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: no-change-run @@ -264,12 +235,42 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'a.ts' is older than output '../outFile.tsbuildinfo' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... + +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error. + + + + +Program root files: [ + "/home/src/projects/project/a.ts" +] +Program options: { + "outFile": "/home/src/projects/outFile.js", + "incremental": true, + "declaration": true, + "noEmit": true, + "tscBuild": true, + "configFilePath": "/home/src/projects/project/tsconfig.json" +} +Program structureReused: Not +Program files:: +/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: +No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: Emit after fixing error @@ -280,14 +281,22 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that some of the changes were not emitted +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error. + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -309,8 +318,18 @@ Output:: "declaration": true, "outFile": "./outFile.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./project/a.ts", + "not cached or not changed" + ] + ], "version": "FakeTSVersion", - "size": 602 + "size": 637 } //// [/home/src/projects/outFile.js] @@ -337,11 +356,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: no-change-run @@ -352,12 +371,42 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'a.ts' is older than output '../outFile.tsbuildinfo' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... + +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +Found 1 error. + + + + +Program root files: [ + "/home/src/projects/project/a.ts" +] +Program options: { + "outFile": "/home/src/projects/outFile.js", + "incremental": true, + "declaration": true, + "noEmit": true, + "tscBuild": true, + "configFilePath": "/home/src/projects/project/tsconfig.json" +} +Program structureReused: Not +Program files:: +/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: +No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: Introduce error @@ -371,19 +420,14 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../outFile.tsbuildinfo' is older than input 'a.ts' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS4094: Property 'p' of exported anonymous class type may not be private or protected. - -1 const a = class { private p = 10; }; -   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. - a.ts:1:7 - 1 const a = class { private p = 10; }; -    ~ - Add a type annotation to the variable a. +3 "outFile": "../outFile.js", +   ~~~~~~~~~ Found 1 error. @@ -391,7 +435,7 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"pendingEmit":17,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -413,35 +457,11 @@ Found 1 error. "declaration": true, "outFile": "./outFile.js" }, - "emitDiagnosticsPerFile": [ - [ - "./project/a.ts", - [ - { - "start": 6, - "length": 1, - "messageText": "Property 'p' of exported anonymous class type may not be private or protected.", - "category": 1, - "code": 4094, - "relatedInformation": [ - { - "start": 6, - "length": 1, - "messageText": "Add a type annotation to the variable a.", - "category": 1, - "code": 9027 - } - ] - } - ] - ] - ], - "pendingEmit": [ - "Js | DtsEmit", - 17 + "changeFileSet": [ + "./project/a.ts" ], "version": "FakeTSVersion", - "size": 939 + "size": 638 } @@ -461,9 +481,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -492,13 +510,18 @@ Output::    ~ Add a type annotation to the variable a. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error. +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -520,6 +543,16 @@ Found 1 error. "declaration": true, "outFile": "./outFile.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./project/a.ts", + "not cached or not changed" + ] + ], "emitDiagnosticsPerFile": [ [ "./project/a.ts", @@ -544,7 +577,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 922 + "size": 957 } //// [/home/src/projects/outFile.js] @@ -572,7 +605,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -591,15 +624,10 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS4094: Property 'p' of exported anonymous class type may not be private or protected. - -1 const a = class { private p = 10; }; -   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. - a.ts:1:7 - 1 const a = class { private p = 10; }; -    ~ - Add a type annotation to the variable a. +3 "outFile": "../outFile.js", +   ~~~~~~~~~ Found 1 error. @@ -623,7 +651,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js index 74533959dac20..b643a2cdac0a3 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js @@ -39,13 +39,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -125,13 +130,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -176,13 +186,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -262,13 +277,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -310,13 +330,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -419,13 +444,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -470,13 +500,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -554,13 +589,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -668,13 +708,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental.js b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental.js index c8b94b100679c..e94a304888a25 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental.js @@ -35,10 +35,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error. + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -59,12 +67,12 @@ Output:: "options": { "outFile": "./outFile.js" }, - "pendingEmit": [ - "Js", - false + "changeFileSet": [ + "./project/a.ts", + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 619 + "size": 621 } @@ -83,13 +91,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: no-change-run @@ -100,12 +106,41 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'a.ts' is older than output '../outFile.tsbuildinfo' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... + +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error. -exitCode:: ExitStatus.Success +Program root files: [ + "/home/src/projects/project/a.ts" +] +Program options: { + "outFile": "/home/src/projects/outFile.js", + "incremental": true, + "noEmit": true, + "tscBuild": true, + "configFilePath": "/home/src/projects/project/tsconfig.json" +} +Program structureReused: Not +Program files:: +/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/projects/project/a.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: Fix error @@ -119,14 +154,22 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../outFile.tsbuildinfo' is older than input 'a.ts' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error. + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -147,12 +190,12 @@ Output:: "options": { "outFile": "./outFile.js" }, - "pendingEmit": [ - "Js", - false + "changeFileSet": [ + "./project/a.ts", + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 603 + "size": 605 } @@ -171,13 +214,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: no-change-run @@ -188,12 +229,41 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'a.ts' is older than output '../outFile.tsbuildinfo' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... + +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error. -exitCode:: ExitStatus.Success +Program root files: [ + "/home/src/projects/project/a.ts" +] +Program options: { + "outFile": "/home/src/projects/outFile.js", + "incremental": true, + "noEmit": true, + "tscBuild": true, + "configFilePath": "/home/src/projects/project/tsconfig.json" +} +Program structureReused: Not +Program files:: +/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/projects/project/a.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: Emit after fixing error @@ -204,14 +274,22 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that some of the changes were not emitted +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error. + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -232,8 +310,18 @@ Output:: "options": { "outFile": "./outFile.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./project/a.ts", + "not cached or not changed" + ] + ], "version": "FakeTSVersion", - "size": 583 + "size": 618 } //// [/home/src/projects/outFile.js] @@ -255,11 +343,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: no-change-run @@ -270,12 +358,41 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'a.ts' is older than output '../outFile.tsbuildinfo' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... + +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error. -exitCode:: ExitStatus.Success +Program root files: [ + "/home/src/projects/project/a.ts" +] +Program options: { + "outFile": "/home/src/projects/outFile.js", + "incremental": true, + "noEmit": true, + "tscBuild": true, + "configFilePath": "/home/src/projects/project/tsconfig.json" +} +Program structureReused: Not +Program files:: +/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/projects/project/a.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: Introduce error @@ -289,14 +406,22 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../outFile.tsbuildinfo' is older than input 'a.ts' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error. + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -317,9 +442,8 @@ Output:: "options": { "outFile": "./outFile.js" }, - "pendingEmit": [ - "Js", - false + "changeFileSet": [ + "./project/a.ts" ], "version": "FakeTSVersion", "size": 619 @@ -341,13 +465,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: Emit when error @@ -358,14 +480,22 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that some of the changes were not emitted +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error. + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -386,8 +516,18 @@ Output:: "options": { "outFile": "./outFile.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./project/a.ts", + "not cached or not changed" + ] + ], "version": "FakeTSVersion", - "size": 599 + "size": 634 } //// [/home/src/projects/outFile.js] @@ -414,11 +554,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: no-change-run @@ -429,9 +569,38 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'a.ts' is older than output '../outFile.tsbuildinfo' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... + +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error. -exitCode:: ExitStatus.Success +Program root files: [ + "/home/src/projects/project/a.ts" +] +Program options: { + "outFile": "/home/src/projects/outFile.js", + "incremental": true, + "noEmit": true, + "tscBuild": true, + "configFilePath": "/home/src/projects/project/tsconfig.json" +} +Program structureReused: Not +Program files:: +/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/projects/project/a.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-without-dts-enabled.js b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-without-dts-enabled.js index 6bf5b0eb464e8..526b18fe060b3 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-without-dts-enabled.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-without-dts-enabled.js @@ -34,18 +34,27 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error. + //// [/home/src/projects/outFile.tsbuildinfo] -{"root":["./project/a.ts"],"version":"FakeTSVersion"} +{"root":["./project/a.ts"],"errors":true,"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "root": [ "./project/a.ts" ], + "errors": true, "version": "FakeTSVersion", - "size": 53 + "size": 67 } @@ -63,13 +72,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: no-change-run @@ -80,10 +87,18 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output file '../outFile.js' does not exist +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error. + //// [/home/src/projects/outFile.tsbuildinfo] file written with same contents @@ -103,13 +118,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: Fix error @@ -123,10 +136,18 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../outFile.tsbuildinfo' is older than input 'a.ts' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error. + //// [/home/src/projects/outFile.tsbuildinfo] file written with same contents @@ -146,13 +167,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: no-change-run @@ -163,10 +182,18 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output file '../outFile.js' does not exist +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error. + //// [/home/src/projects/outFile.tsbuildinfo] file written with same contents @@ -186,13 +213,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: Emit after fixing error @@ -203,10 +228,18 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output file '../outFile.js' does not exist +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error. + //// [/home/src/projects/outFile.tsbuildinfo] file written with same contents @@ -229,13 +262,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: no-change-run @@ -246,12 +277,42 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'a.ts' is older than output '../outFile.js' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... + +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + +Found 1 error. + + + +//// [/home/src/projects/outFile.tsbuildinfo] file written with same contents +//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents + +Program root files: [ + "/home/src/projects/project/a.ts" +] +Program options: { + "outFile": "/home/src/projects/outFile.js", + "noEmit": true, + "tscBuild": true, + "configFilePath": "/home/src/projects/project/tsconfig.json" +} +Program structureReused: Not +Program files:: +/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: +No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: Introduce error @@ -265,10 +326,18 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../outFile.tsbuildinfo' is older than input 'a.ts' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error. + //// [/home/src/projects/outFile.tsbuildinfo] file written with same contents @@ -288,13 +357,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: Emit when error @@ -305,10 +372,18 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../outFile.js' is older than input 'a.ts' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error. + //// [/home/src/projects/outFile.tsbuildinfo] file written with same contents @@ -336,13 +411,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: no-change-run @@ -353,9 +426,39 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'a.ts' is older than output '../outFile.js' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... + +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + +Found 1 error. + + +//// [/home/src/projects/outFile.tsbuildinfo] file written with same contents +//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents +Program root files: [ + "/home/src/projects/project/a.ts" +] +Program options: { + "outFile": "/home/src/projects/outFile.js", + "noEmit": true, + "tscBuild": true, + "configFilePath": "/home/src/projects/project/tsconfig.json" +} +Program structureReused: Not +Program files:: +/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/projects/project/a.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors.js b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors.js index a40245fb101f7..6dc24a6d845ec 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors.js @@ -35,15 +35,10 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS4094: Property 'p' of exported anonymous class type may not be private or protected. - -1 const a = class { private p = 10; }; -   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. - a.ts:1:7 - 1 const a = class { private p = 10; }; -    ~ - Add a type annotation to the variable a. +3 "outFile": "../outFile.js", +   ~~~~~~~~~ Found 1 error. @@ -79,9 +74,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -100,15 +93,10 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS4094: Property 'p' of exported anonymous class type may not be private or protected. - -1 const a = class { private p = 10; }; -   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. - a.ts:1:7 - 1 const a = class { private p = 10; }; -    ~ - Add a type annotation to the variable a. +3 "outFile": "../outFile.js", +   ~~~~~~~~~ Found 1 error. @@ -133,9 +121,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -157,20 +143,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error. + -//// [/home/src/projects/outFile.tsbuildinfo] -{"root":["./project/a.ts"],"version":"FakeTSVersion"} - -//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] -{ - "root": [ - "./project/a.ts" - ], - "version": "FakeTSVersion", - "size": 53 -} - +//// [/home/src/projects/outFile.tsbuildinfo] file written with same contents +//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents Program root files: [ "/home/src/projects/project/a.ts" @@ -187,13 +171,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: no-change-run @@ -204,10 +186,18 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output file '../outFile.js' does not exist +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error. + //// [/home/src/projects/outFile.tsbuildinfo] file written with same contents @@ -228,13 +218,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: Emit after fixing error @@ -245,10 +233,18 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output file '../outFile.js' does not exist +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error. + //// [/home/src/projects/outFile.tsbuildinfo] file written with same contents @@ -276,13 +272,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: no-change-run @@ -293,12 +287,43 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'a.ts' is older than output '../outFile.js' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... + +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +Found 1 error. + + + +//// [/home/src/projects/outFile.tsbuildinfo] file written with same contents +//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents + +Program root files: [ + "/home/src/projects/project/a.ts" +] +Program options: { + "outFile": "/home/src/projects/outFile.js", + "declaration": true, + "noEmit": true, + "tscBuild": true, + "configFilePath": "/home/src/projects/project/tsconfig.json" +} +Program structureReused: Not +Program files:: +/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: +No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: Introduce error @@ -312,38 +337,22 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../outFile.tsbuildinfo' is older than input 'a.ts' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS4094: Property 'p' of exported anonymous class type may not be private or protected. - -1 const a = class { private p = 10; }; -   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. - a.ts:1:7 - 1 const a = class { private p = 10; }; -    ~ - Add a type annotation to the variable a. +3 "outFile": "../outFile.js", +   ~~~~~~~~~ Found 1 error. -//// [/home/src/projects/outFile.tsbuildinfo] -{"root":["./project/a.ts"],"errors":true,"version":"FakeTSVersion"} - -//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] -{ - "root": [ - "./project/a.ts" - ], - "errors": true, - "version": "FakeTSVersion", - "size": 67 -} - +//// [/home/src/projects/outFile.tsbuildinfo] file written with same contents +//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents Program root files: [ "/home/src/projects/project/a.ts" @@ -360,9 +369,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -391,10 +398,15 @@ Output::    ~ Add a type annotation to the variable a. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + [HH:MM:SS AM] Updating unchanged output timestamps of project '/home/src/projects/project/tsconfig.json'... -Found 1 error. +Found 2 errors. @@ -425,9 +437,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -446,15 +456,10 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS4094: Property 'p' of exported anonymous class type may not be private or protected. - -1 const a = class { private p = 10; }; -   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. - a.ts:1:7 - 1 const a = class { private p = 10; }; -    ~ - Add a type annotation to the variable a. +3 "outFile": "../outFile.js", +   ~~~~~~~~~ Found 1 error. @@ -479,9 +484,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/semantic-errors-with-incremental-as-modules.js b/tests/baselines/reference/tsbuild/noEmit/outFile/semantic-errors-with-incremental-as-modules.js index f16f138b4c510..2af3574f27a74 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/semantic-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/semantic-errors-with-incremental-as-modules.js @@ -39,13 +39,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -125,13 +130,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -176,13 +186,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -262,13 +277,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -310,13 +330,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -419,13 +444,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -470,13 +500,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -554,13 +589,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -649,13 +689,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/semantic-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmit/outFile/semantic-errors-with-incremental.js index 3debb7b7a6519..5985796bf2ec8 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/semantic-errors-with-incremental.js @@ -35,10 +35,10 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js", +   ~~~~~~~~~ Found 1 error. @@ -46,7 +46,7 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -67,26 +67,12 @@ Found 1 error. "options": { "outFile": "./outFile.js" }, - "semanticDiagnosticsPerFile": [ - [ - "./project/a.ts", - [ - { - "start": 6, - "length": 1, - "code": 2322, - "category": 1, - "messageText": "Type 'string' is not assignable to type 'number'." - } - ] - ] - ], - "pendingEmit": [ - "Js", - false + "changeFileSet": [ + "./project/a.ts", + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 761 + "size": 612 } @@ -105,9 +91,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -126,10 +110,10 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js", +   ~~~~~~~~~ Found 1 error. @@ -152,7 +136,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -174,10 +158,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error. + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -198,12 +190,12 @@ Output:: "options": { "outFile": "./outFile.js" }, - "pendingEmit": [ - "Js", - false + "changeFileSet": [ + "./project/a.ts", + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 603 + "size": 605 } @@ -222,13 +214,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: no-change-run @@ -239,12 +229,41 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'a.ts' is older than output '../outFile.tsbuildinfo' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... + +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error. -exitCode:: ExitStatus.Success +Program root files: [ + "/home/src/projects/project/a.ts" +] +Program options: { + "outFile": "/home/src/projects/outFile.js", + "incremental": true, + "noEmit": true, + "tscBuild": true, + "configFilePath": "/home/src/projects/project/tsconfig.json" +} +Program structureReused: Not +Program files:: +/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/projects/project/a.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: Emit after fixing error @@ -255,14 +274,22 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that some of the changes were not emitted +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error. + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -283,8 +310,18 @@ Output:: "options": { "outFile": "./outFile.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./project/a.ts", + "not cached or not changed" + ] + ], "version": "FakeTSVersion", - "size": 583 + "size": 618 } //// [/home/src/projects/outFile.js] @@ -306,11 +343,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: no-change-run @@ -321,12 +358,41 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'a.ts' is older than output '../outFile.tsbuildinfo' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error. + + + + +Program root files: [ + "/home/src/projects/project/a.ts" +] +Program options: { + "outFile": "/home/src/projects/outFile.js", + "incremental": true, + "noEmit": true, + "tscBuild": true, + "configFilePath": "/home/src/projects/project/tsconfig.json" +} +Program structureReused: Not +Program files:: +/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: +No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: Introduce error @@ -340,14 +406,14 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../outFile.tsbuildinfo' is older than input 'a.ts' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js", +   ~~~~~~~~~ Found 1 error. @@ -355,7 +421,7 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -376,26 +442,11 @@ Found 1 error. "options": { "outFile": "./outFile.js" }, - "semanticDiagnosticsPerFile": [ - [ - "./project/a.ts", - [ - { - "start": 6, - "length": 1, - "code": 2322, - "category": 1, - "messageText": "Type 'string' is not assignable to type 'number'." - } - ] - ] - ], - "pendingEmit": [ - "Js", - false + "changeFileSet": [ + "./project/a.ts" ], "version": "FakeTSVersion", - "size": 761 + "size": 610 } @@ -414,9 +465,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -435,10 +484,10 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js", +   ~~~~~~~~~ Found 1 error. @@ -446,7 +495,7 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -468,21 +517,17 @@ Found 1 error. "outFile": "./outFile.js" }, "semanticDiagnosticsPerFile": [ + [ + "../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], [ "./project/a.ts", - [ - { - "start": 6, - "length": 1, - "code": 2322, - "category": 1, - "messageText": "Type 'string' is not assignable to type 'number'." - } - ] + "not cached or not changed" ] ], "version": "FakeTSVersion", - "size": 741 + "size": 625 } //// [/home/src/projects/outFile.js] file written with same contents @@ -501,7 +546,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -520,10 +565,10 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js", +   ~~~~~~~~~ Found 1 error. @@ -546,7 +591,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/semantic-errors.js b/tests/baselines/reference/tsbuild/noEmit/outFile/semantic-errors.js index 0165ecc652cf8..d2bf5b8024622 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/semantic-errors.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/semantic-errors.js @@ -34,10 +34,10 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js" +   ~~~~~~~~~ Found 1 error. @@ -72,9 +72,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -93,10 +91,10 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js" +   ~~~~~~~~~ Found 1 error. @@ -120,9 +118,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -144,20 +140,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error. + -//// [/home/src/projects/outFile.tsbuildinfo] -{"root":["./project/a.ts"],"version":"FakeTSVersion"} - -//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] -{ - "root": [ - "./project/a.ts" - ], - "version": "FakeTSVersion", - "size": 53 -} - +//// [/home/src/projects/outFile.tsbuildinfo] file written with same contents +//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents Program root files: [ "/home/src/projects/project/a.ts" @@ -173,13 +167,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: no-change-run @@ -190,10 +182,18 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output file '../outFile.js' does not exist +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error. + //// [/home/src/projects/outFile.tsbuildinfo] file written with same contents @@ -213,13 +213,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: Emit after fixing error @@ -230,10 +228,18 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output file '../outFile.js' does not exist +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error. + //// [/home/src/projects/outFile.tsbuildinfo] file written with same contents @@ -256,13 +262,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: no-change-run @@ -273,12 +277,42 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'a.ts' is older than output '../outFile.js' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... + +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error. + + +//// [/home/src/projects/outFile.tsbuildinfo] file written with same contents +//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents +Program root files: [ + "/home/src/projects/project/a.ts" +] +Program options: { + "outFile": "/home/src/projects/outFile.js", + "noEmit": true, + "tscBuild": true, + "configFilePath": "/home/src/projects/project/tsconfig.json" +} +Program structureReused: Not +Program files:: +/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/projects/project/a.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: Introduce error @@ -292,33 +326,22 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../outFile.tsbuildinfo' is older than input 'a.ts' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js" +   ~~~~~~~~~ Found 1 error. -//// [/home/src/projects/outFile.tsbuildinfo] -{"root":["./project/a.ts"],"errors":true,"version":"FakeTSVersion"} - -//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] -{ - "root": [ - "./project/a.ts" - ], - "errors": true, - "version": "FakeTSVersion", - "size": 67 -} - +//// [/home/src/projects/outFile.tsbuildinfo] file written with same contents +//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents Program root files: [ "/home/src/projects/project/a.ts" @@ -334,9 +357,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -355,10 +376,10 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js" +   ~~~~~~~~~ Found 1 error. @@ -382,9 +403,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -403,10 +422,10 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js" +   ~~~~~~~~~ Found 1 error. @@ -430,9 +449,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/syntax-errors-with-incremental-as-modules.js b/tests/baselines/reference/tsbuild/noEmit/outFile/syntax-errors-with-incremental-as-modules.js index 1057c3a035d98..02a5d82842ea7 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/syntax-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/syntax-errors-with-incremental-as-modules.js @@ -176,13 +176,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -262,13 +267,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -310,13 +320,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -419,13 +434,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/syntax-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmit/outFile/syntax-errors-with-incremental.js index 7c690529f95f2..cd3d94682ef05 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/syntax-errors-with-incremental.js @@ -158,10 +158,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error. + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -182,12 +190,12 @@ Output:: "options": { "outFile": "./outFile.js" }, - "pendingEmit": [ - "Js", - false + "changeFileSet": [ + "./project/a.ts", + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 603 + "size": 605 } @@ -206,13 +214,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: no-change-run @@ -223,12 +229,41 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'a.ts' is older than output '../outFile.tsbuildinfo' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... + +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +Found 1 error. + + + +Program root files: [ + "/home/src/projects/project/a.ts" +] +Program options: { + "outFile": "/home/src/projects/outFile.js", + "incremental": true, + "noEmit": true, + "tscBuild": true, + "configFilePath": "/home/src/projects/project/tsconfig.json" +} +Program structureReused: Not +Program files:: +/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: -exitCode:: ExitStatus.Success +No shapes updated in the builder:: + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: Emit after fixing error @@ -239,14 +274,22 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that some of the changes were not emitted +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error. + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -267,8 +310,18 @@ Output:: "options": { "outFile": "./outFile.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./project/a.ts", + "not cached or not changed" + ] + ], "version": "FakeTSVersion", - "size": 583 + "size": 618 } //// [/home/src/projects/outFile.js] @@ -290,11 +343,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: no-change-run @@ -305,12 +358,41 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'a.ts' is older than output '../outFile.tsbuildinfo' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... + +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error. -exitCode:: ExitStatus.Success +Program root files: [ + "/home/src/projects/project/a.ts" +] +Program options: { + "outFile": "/home/src/projects/outFile.js", + "incremental": true, + "noEmit": true, + "tscBuild": true, + "configFilePath": "/home/src/projects/project/tsconfig.json" +} +Program structureReused: Not +Program files:: +/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/projects/project/a.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: Introduce error @@ -324,7 +406,7 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../outFile.tsbuildinfo' is older than input 'a.ts' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/syntax-errors.js b/tests/baselines/reference/tsbuild/noEmit/outFile/syntax-errors.js index 2eab5dc0d22e6..f15bf8c13b527 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/syntax-errors.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/syntax-errors.js @@ -140,20 +140,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error. + -//// [/home/src/projects/outFile.tsbuildinfo] -{"root":["./project/a.ts"],"version":"FakeTSVersion"} - -//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] -{ - "root": [ - "./project/a.ts" - ], - "version": "FakeTSVersion", - "size": 53 -} - +//// [/home/src/projects/outFile.tsbuildinfo] file written with same contents +//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents Program root files: [ "/home/src/projects/project/a.ts" @@ -169,13 +167,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: no-change-run @@ -186,10 +182,18 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output file '../outFile.js' does not exist +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error. + //// [/home/src/projects/outFile.tsbuildinfo] file written with same contents @@ -209,13 +213,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: Emit after fixing error @@ -226,10 +228,18 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output file '../outFile.js' does not exist +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error. + //// [/home/src/projects/outFile.tsbuildinfo] file written with same contents @@ -252,13 +262,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: no-change-run @@ -269,12 +277,42 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'a.ts' is older than output '../outFile.js' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... + +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error. +//// [/home/src/projects/outFile.tsbuildinfo] file written with same contents +//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents -exitCode:: ExitStatus.Success +Program root files: [ + "/home/src/projects/project/a.ts" +] +Program options: { + "outFile": "/home/src/projects/outFile.js", + "noEmit": true, + "tscBuild": true, + "configFilePath": "/home/src/projects/project/tsconfig.json" +} +Program structureReused: Not +Program files:: +/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/projects/project/a.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: Introduce error @@ -288,7 +326,7 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../outFile.tsbuildinfo' is older than input 'a.ts' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... @@ -302,19 +340,8 @@ Found 1 error. -//// [/home/src/projects/outFile.tsbuildinfo] -{"root":["./project/a.ts"],"errors":true,"version":"FakeTSVersion"} - -//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] -{ - "root": [ - "./project/a.ts" - ], - "errors": true, - "version": "FakeTSVersion", - "size": 67 -} - +//// [/home/src/projects/outFile.tsbuildinfo] file written with same contents +//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents Program root files: [ "/home/src/projects/project/a.ts" diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/dts-errors-with-declaration-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/dts-errors-with-declaration-with-incremental.js index 6d65f93f39b08..994d32036782a 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/dts-errors-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/dts-errors-with-declaration-with-incremental.js @@ -51,13 +51,18 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -151,13 +156,18 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -207,13 +217,18 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -307,13 +322,18 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/dts-errors-with-declaration.js b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/dts-errors-with-declaration.js index 38c1815b13046..2be925ecb127f 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/dts-errors-with-declaration.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/dts-errors-with-declaration.js @@ -50,13 +50,18 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -119,13 +124,18 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -180,13 +190,18 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -236,13 +251,18 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/dts-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/dts-errors-with-incremental.js index 9ef1c63913944..5264416734cb8 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/dts-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/dts-errors-with-incremental.js @@ -50,13 +50,18 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -148,13 +153,18 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -203,13 +213,18 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -301,13 +316,18 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/dts-errors.js b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/dts-errors.js index 82d4752d1bba9..57be6bf61faf5 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/dts-errors.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/dts-errors.js @@ -49,13 +49,18 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -117,13 +122,18 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -177,13 +187,18 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -232,13 +247,18 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/semantic-errors-with-declaration-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/semantic-errors-with-declaration-with-incremental.js index 955fc8f9629b9..f9a895c718cb3 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/semantic-errors-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/semantic-errors-with-declaration-with-incremental.js @@ -55,13 +55,18 @@ Output:: 2 const a: string = 10;    ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors. +Found 3 errors. @@ -173,13 +178,18 @@ Output:: 2 const a: string = 10;    ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors. +Found 3 errors. @@ -228,13 +238,18 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -328,13 +343,18 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/semantic-errors-with-declaration.js b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/semantic-errors-with-declaration.js index fbd78fb48c6a9..247b4ecfff1e8 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/semantic-errors-with-declaration.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/semantic-errors-with-declaration.js @@ -54,13 +54,18 @@ Output:: 2 const a: string = 10;    ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors. +Found 3 errors. @@ -128,13 +133,18 @@ Output:: 2 const a: string = 10;    ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors. +Found 3 errors. @@ -188,13 +198,18 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -244,13 +259,18 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/semantic-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/semantic-errors-with-incremental.js index 0d80588b62c85..f14f2440a6178 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/semantic-errors-with-incremental.js @@ -54,13 +54,18 @@ Output:: 2 const a: string = 10;    ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors. +Found 3 errors. @@ -170,13 +175,18 @@ Output:: 2 const a: string = 10;    ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors. +Found 3 errors. @@ -224,13 +234,18 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -322,13 +337,18 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/semantic-errors.js b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/semantic-errors.js index 278dd2b2ff77c..3d46e17b85781 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/semantic-errors.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/semantic-errors.js @@ -53,13 +53,18 @@ Output:: 2 const a: string = 10;    ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors. +Found 3 errors. @@ -126,13 +131,18 @@ Output:: 2 const a: string = 10;    ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors. +Found 3 errors. @@ -185,13 +195,18 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -240,13 +255,18 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/syntax-errors-with-declaration-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/syntax-errors-with-declaration-with-incremental.js index 1b2399b57b703..d599ed33c650f 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/syntax-errors-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/syntax-errors-with-declaration-with-incremental.js @@ -58,13 +58,18 @@ Output:: 4 ;   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors. +Found 3 errors. @@ -163,13 +168,18 @@ Output:: 4 ;   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors. +Found 3 errors. @@ -220,13 +230,18 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -320,13 +335,18 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/syntax-errors-with-declaration.js b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/syntax-errors-with-declaration.js index 0a6ade00a5341..09d1fa72123dc 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/syntax-errors-with-declaration.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/syntax-errors-with-declaration.js @@ -57,13 +57,18 @@ Output:: 4 ;   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors. +Found 3 errors. @@ -131,13 +136,18 @@ Output:: 4 ;   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors. +Found 3 errors. @@ -193,13 +203,18 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -249,13 +264,18 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/syntax-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/syntax-errors-with-incremental.js index 5a7b166e6b876..d6ffc777b8f17 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/syntax-errors-with-incremental.js @@ -57,13 +57,18 @@ Output:: 4 ;   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors. +Found 3 errors. @@ -160,13 +165,18 @@ Output:: 4 ;   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors. +Found 3 errors. @@ -216,13 +226,18 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -314,13 +329,18 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/syntax-errors.js b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/syntax-errors.js index 09b9aff40858d..b3052ef1c41b1 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/syntax-errors.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/syntax-errors.js @@ -56,13 +56,18 @@ Output:: 4 ;   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors. +Found 3 errors. @@ -129,13 +134,18 @@ Output:: 4 ;   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors. +Found 3 errors. @@ -190,13 +200,18 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. @@ -245,13 +260,18 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error. +Found 2 errors. diff --git a/tests/baselines/reference/tsbuild/outFile/baseline-sectioned-sourcemaps.js b/tests/baselines/reference/tsbuild/outFile/baseline-sectioned-sourcemaps.js index 51d114c5a9e24..b07ce361eb4ca 100644 --- a/tests/baselines/reference/tsbuild/outFile/baseline-sectioned-sourcemaps.js +++ b/tests/baselines/reference/tsbuild/outFile/baseline-sectioned-sourcemaps.js @@ -139,6 +139,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/first/tsconfig.json'... +first/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +9 "outFile": "./bin/first-output.js", +   ~~~~~~~~~ + ../../tslibs/TS/Lib/lib.d.ts Default library for target 'es5' first/first_PART1.ts @@ -151,6 +156,11 @@ first/first_part3.ts [HH:MM:SS AM] Building project '/home/src/workspaces/solution/second/tsconfig.json'... +second/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +10 "outFile": "../2/second-output.js", +   ~~~~~~~~~ + ../../tslibs/TS/Lib/lib.d.ts Default library for target 'es5' second/second_part1.ts @@ -161,6 +171,11 @@ second/second_part2.ts [HH:MM:SS AM] Building project '/home/src/workspaces/solution/third/tsconfig.json'... +third/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +10 "outFile": "./thirdjs/output/third-output.js", +   ~~~~~~~~~ + ../../tslibs/TS/Lib/lib.d.ts Default library for target 'es5' first/bin/first-output.d.ts @@ -169,6 +184,9 @@ first/bin/first-output.d.ts Output from referenced project 'second/tsconfig.json' included because '--outFile' specified third/third_part1.ts Part of 'files' list in tsconfig.json + +Found 3 errors. + //// [/home/src/workspaces/solution/first/bin/first-output.js.map] @@ -198,7 +216,7 @@ declare function f(): string; //# sourceMappingURL=first-output.d.ts.map //// [/home/src/workspaces/solution/first/bin/first-output.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4],"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/first/bin/first-output.tsbuildinfo.readable.baseline.txt] { @@ -237,10 +255,28 @@ declare function f(): string; "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../first_part1.ts", + "not cached or not changed" + ], + [ + "../first_part2.ts", + "not cached or not changed" + ], + [ + "../first_part3.ts", + "not cached or not changed" + ] + ], "outSignature": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", "latestChangedDtsFile": "./first-output.d.ts", "version": "FakeTSVersion", - "size": 1233 + "size": 1272 } //// [/home/src/workspaces/solution/2/second-output.js.map] @@ -278,7 +314,7 @@ declare class C { //# sourceMappingURL=second-output.d.ts.map //// [/home/src/workspaces/solution/2/second-output.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/2/second-output.tsbuildinfo.readable.baseline.txt] { @@ -313,10 +349,24 @@ declare class C { "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../second/second_part1.ts", + "not cached or not changed" + ], + [ + "../second/second_part2.ts", + "not cached or not changed" + ] + ], "outSignature": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", "latestChangedDtsFile": "./second-output.d.ts", "version": "FakeTSVersion", - "size": 1177 + "size": 1214 } //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.js.map] @@ -335,7 +385,7 @@ declare var c: C; //# sourceMappingURL=third-output.d.ts.map //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo] -{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","7305100057-var c = new C();\nc.doSomething();\n"],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","7305100057-var c = new C();\nc.doSomething();\n"],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4],"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] { @@ -368,10 +418,28 @@ declare var c: C; "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../../../first/bin/first-output.d.ts", + "not cached or not changed" + ], + [ + "../../../2/second-output.d.ts", + "not cached or not changed" + ], + [ + "../../third_part1.ts", + "not cached or not changed" + ] + ], "outSignature": "1894672131-declare var c: C;\n", "latestChangedDtsFile": "./third-output.d.ts", "version": "FakeTSVersion", - "size": 1226 + "size": 1265 } //// [/home/src/workspaces/solution/first/bin/first-output.js.map.baseline.txt] @@ -1095,7 +1163,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.d.ts.map -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped readFiles:: { "/home/src/workspaces/solution/third/tsconfig.json": 1, @@ -1135,10 +1203,15 @@ Output:: * second/tsconfig.json * third/tsconfig.json -[HH:MM:SS AM] Project 'first/tsconfig.json' is out of date because output 'first/bin/first-output.tsbuildinfo' is older than input 'first/first_PART1.ts' +[HH:MM:SS AM] Project 'first/tsconfig.json' is out of date because buildinfo file 'first/bin/first-output.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/workspaces/solution/first/tsconfig.json'... +first/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +9 "outFile": "./bin/first-output.js", +   ~~~~~~~~~ + ../../tslibs/TS/Lib/lib.d.ts Default library for target 'es5' first/first_PART1.ts @@ -1147,12 +1220,30 @@ first/first_part2.ts Part of 'files' list in tsconfig.json first/first_part3.ts Part of 'files' list in tsconfig.json -[HH:MM:SS AM] Project 'second/tsconfig.json' is up to date because newest input 'second/second_part2.ts' is older than output '2/second-output.tsbuildinfo' +[HH:MM:SS AM] Project 'second/tsconfig.json' is out of date because buildinfo file '2/second-output.tsbuildinfo' indicates that program needs to report errors. -[HH:MM:SS AM] Project 'third/tsconfig.json' is out of date because output 'third/thirdjs/output/third-output.tsbuildinfo' is older than input 'first' +[HH:MM:SS AM] Building project '/home/src/workspaces/solution/second/tsconfig.json'... + +second/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +10 "outFile": "../2/second-output.js", +   ~~~~~~~~~ + +../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' +second/second_part1.ts + Matched by default include pattern '**/*' +second/second_part2.ts + Matched by default include pattern '**/*' +[HH:MM:SS AM] Project 'third/tsconfig.json' is out of date because buildinfo file 'third/thirdjs/output/third-output.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/workspaces/solution/third/tsconfig.json'... +third/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +10 "outFile": "./thirdjs/output/third-output.js", +   ~~~~~~~~~ + ../../tslibs/TS/Lib/lib.d.ts Default library for target 'es5' first/bin/first-output.d.ts @@ -1161,6 +1252,9 @@ first/bin/first-output.d.ts Output from referenced project 'second/tsconfig.json' included because '--outFile' specified third/third_part1.ts Part of 'files' list in tsconfig.json + +Found 3 errors. + //// [/home/src/workspaces/solution/first/bin/first-output.js.map] @@ -1190,7 +1284,7 @@ declare function f(): string; //# sourceMappingURL=first-output.d.ts.map //// [/home/src/workspaces/solution/first/bin/first-output.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-21189362626-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hola, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-14566027737-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hola, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-21189362626-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hola, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4],"outSignature":"-14566027737-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hola, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/first/bin/first-output.tsbuildinfo.readable.baseline.txt] { @@ -1229,17 +1323,35 @@ declare function f(): string; "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../first_part1.ts", + "not cached or not changed" + ], + [ + "../first_part2.ts", + "not cached or not changed" + ], + [ + "../first_part3.ts", + "not cached or not changed" + ] + ], "outSignature": "-14566027737-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hola, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", "latestChangedDtsFile": "./first-output.d.ts", "version": "FakeTSVersion", - "size": 1231 + "size": 1270 } //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.js.map] file written with same contents //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.js] file written with same contents //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.d.ts.map] file written with same contents //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo] -{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14566027737-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hola, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","7305100057-var c = new C();\nc.doSomething();\n"],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14566027737-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hola, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","7305100057-var c = new C();\nc.doSomething();\n"],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4],"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] { @@ -1272,10 +1384,28 @@ declare function f(): string; "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../../../first/bin/first-output.d.ts", + "not cached or not changed" + ], + [ + "../../../2/second-output.d.ts", + "not cached or not changed" + ], + [ + "../../third_part1.ts", + "not cached or not changed" + ] + ], "outSignature": "1894672131-declare var c: C;\n", "latestChangedDtsFile": "./third-output.d.ts", "version": "FakeTSVersion", - "size": 1225 + "size": 1264 } //// [/home/src/workspaces/solution/first/bin/first-output.js.map.baseline.txt] @@ -1555,7 +1685,7 @@ sourceFile:../first_part3.ts //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.js.map.baseline.txt] file written with same contents //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.d.ts.map.baseline.txt] file written with same contents -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped readFiles:: { "/home/src/workspaces/solution/third/tsconfig.json": 1, @@ -1566,6 +1696,8 @@ readFiles:: { "/home/src/workspaces/solution/first/first_part2.ts": 1, "/home/src/workspaces/solution/first/first_part3.ts": 1, "/home/src/workspaces/solution/2/second-output.tsbuildinfo": 1, + "/home/src/workspaces/solution/second/second_part1.ts": 1, + "/home/src/workspaces/solution/second/second_part2.ts": 1, "/home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo": 1, "/home/src/workspaces/solution/first/bin/first-output.d.ts": 1, "/home/src/workspaces/solution/2/second-output.d.ts": 1, @@ -1596,10 +1728,15 @@ Output:: * second/tsconfig.json * third/tsconfig.json -[HH:MM:SS AM] Project 'first/tsconfig.json' is out of date because output 'first/bin/first-output.tsbuildinfo' is older than input 'first/first_PART1.ts' +[HH:MM:SS AM] Project 'first/tsconfig.json' is out of date because buildinfo file 'first/bin/first-output.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/workspaces/solution/first/tsconfig.json'... +first/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +9 "outFile": "./bin/first-output.js", +   ~~~~~~~~~ + ../../tslibs/TS/Lib/lib.d.ts Default library for target 'es5' first/first_PART1.ts @@ -1608,11 +1745,40 @@ first/first_part2.ts Part of 'files' list in tsconfig.json first/first_part3.ts Part of 'files' list in tsconfig.json -[HH:MM:SS AM] Project 'second/tsconfig.json' is up to date because newest input 'second/second_part2.ts' is older than output '2/second-output.tsbuildinfo' +[HH:MM:SS AM] Project 'second/tsconfig.json' is out of date because buildinfo file '2/second-output.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/home/src/workspaces/solution/second/tsconfig.json'... + +second/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +10 "outFile": "../2/second-output.js", +   ~~~~~~~~~ + +../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' +second/second_part1.ts + Matched by default include pattern '**/*' +second/second_part2.ts + Matched by default include pattern '**/*' +[HH:MM:SS AM] Project 'third/tsconfig.json' is out of date because buildinfo file 'third/thirdjs/output/third-output.tsbuildinfo' indicates that program needs to report errors. -[HH:MM:SS AM] Project 'third/tsconfig.json' is up to date with .d.ts files from its dependencies +[HH:MM:SS AM] Building project '/home/src/workspaces/solution/third/tsconfig.json'... + +third/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +10 "outFile": "./thirdjs/output/third-output.js", +   ~~~~~~~~~ + +../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' +first/bin/first-output.d.ts + Output from referenced project 'first/tsconfig.json' included because '--outFile' specified +2/second-output.d.ts + Output from referenced project 'second/tsconfig.json' included because '--outFile' specified +third/third_part1.ts + Part of 'files' list in tsconfig.json -[HH:MM:SS AM] Updating output timestamps of project '/home/src/workspaces/solution/third/tsconfig.json'... +Found 3 errors. @@ -1631,7 +1797,7 @@ function f() { //// [/home/src/workspaces/solution/first/bin/first-output.d.ts.map] file written with same contents //// [/home/src/workspaces/solution/first/bin/first-output.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-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);","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-14566027737-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hola, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-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);","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4],"outSignature":"-14566027737-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hola, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/first/bin/first-output.tsbuildinfo.readable.baseline.txt] { @@ -1670,13 +1836,30 @@ function f() { "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../first_part1.ts", + "not cached or not changed" + ], + [ + "../first_part2.ts", + "not cached or not changed" + ], + [ + "../first_part3.ts", + "not cached or not changed" + ] + ], "outSignature": "-14566027737-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hola, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", "latestChangedDtsFile": "./first-output.d.ts", "version": "FakeTSVersion", - "size": 1246 + "size": 1285 } -//// [/home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo] file changed its modified time //// [/home/src/workspaces/solution/first/bin/first-output.js.map.baseline.txt] =================================================================== JsFile: first-output.js @@ -1850,7 +2033,7 @@ sourceFile:../first_part3.ts //// [/home/src/workspaces/solution/first/bin/first-output.d.ts.map.baseline.txt] file written with same contents -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped readFiles:: { "/home/src/workspaces/solution/third/tsconfig.json": 1, @@ -1861,5 +2044,10 @@ readFiles:: { "/home/src/workspaces/solution/first/first_part2.ts": 1, "/home/src/workspaces/solution/first/first_part3.ts": 1, "/home/src/workspaces/solution/2/second-output.tsbuildinfo": 1, - "/home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/home/src/workspaces/solution/second/second_part1.ts": 1, + "/home/src/workspaces/solution/second/second_part2.ts": 1, + "/home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/home/src/workspaces/solution/first/bin/first-output.d.ts": 1, + "/home/src/workspaces/solution/2/second-output.d.ts": 1, + "/home/src/workspaces/solution/third/third_part1.ts": 1 } \ No newline at end of file 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 5d3f001424e4b..91764e6095ba3 100644 --- a/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js @@ -129,6 +129,14 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js --build second/tsconfig.json +Output:: +second/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +10 "outFile": "../2/second-output.js", +   ~~~~~~~~~ + + + //// [/home/src/workspaces/solution/2/second-output.js.map] {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} @@ -164,7 +172,7 @@ declare class C { //# sourceMappingURL=second-output.d.ts.map //// [/home/src/workspaces/solution/2/second-output.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/2/second-output.tsbuildinfo.readable.baseline.txt] { @@ -199,11 +207,25 @@ declare class C { "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../second/second_part1.ts", + "not cached or not changed" + ], + [ + "../second/second_part2.ts", + "not cached or not changed" + ] + ], "outSignature": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", "latestChangedDtsFile": "./second-output.d.ts", "version": "FakeTSVersion", - "size": 1177 + "size": 1214 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/outFile/clean-projects.js b/tests/baselines/reference/tsbuild/outFile/clean-projects.js index a3166915c0f5e..ff2c554508859 100644 --- a/tests/baselines/reference/tsbuild/outFile/clean-projects.js +++ b/tests/baselines/reference/tsbuild/outFile/clean-projects.js @@ -154,7 +154,7 @@ declare function f(): string; //# sourceMappingURL=first-output.d.ts.map //// [/home/src/workspaces/solution/first/bin/first-output.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4],"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/first/bin/first-output.tsbuildinfo.readable.baseline.txt] { @@ -193,10 +193,28 @@ declare function f(): string; "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../first_part1.ts", + "not cached or not changed" + ], + [ + "../first_part2.ts", + "not cached or not changed" + ], + [ + "../first_part3.ts", + "not cached or not changed" + ] + ], "outSignature": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", "latestChangedDtsFile": "./first-output.d.ts", "version": "FakeTSVersion", - "size": 1233 + "size": 1272 } //// [/home/src/workspaces/solution/2/second-output.js.map] @@ -234,7 +252,7 @@ declare class C { //# sourceMappingURL=second-output.d.ts.map //// [/home/src/workspaces/solution/2/second-output.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/2/second-output.tsbuildinfo.readable.baseline.txt] { @@ -269,10 +287,24 @@ declare class C { "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../second/second_part1.ts", + "not cached or not changed" + ], + [ + "../second/second_part2.ts", + "not cached or not changed" + ] + ], "outSignature": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", "latestChangedDtsFile": "./second-output.d.ts", "version": "FakeTSVersion", - "size": 1177 + "size": 1214 } //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.js.map] @@ -291,7 +323,7 @@ declare var c: C; //# sourceMappingURL=third-output.d.ts.map //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo] -{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","7305100057-var c = new C();\nc.doSomething();\n"],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","7305100057-var c = new C();\nc.doSomething();\n"],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4],"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] { @@ -324,10 +356,28 @@ declare var c: C; "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../../../first/bin/first-output.d.ts", + "not cached or not changed" + ], + [ + "../../../2/second-output.d.ts", + "not cached or not changed" + ], + [ + "../../third_part1.ts", + "not cached or not changed" + ] + ], "outSignature": "1894672131-declare var c: C;\n", "latestChangedDtsFile": "./third-output.d.ts", "version": "FakeTSVersion", - "size": 1226 + "size": 1265 } 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 0ba6089d2fac8..73b33cee9ae93 100644 --- a/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js @@ -154,7 +154,7 @@ declare function f(): string; //# sourceMappingURL=first-output.d.ts.map //// [/home/src/workspaces/solution/first/bin/first-output.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4],"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/first/bin/first-output.tsbuildinfo.readable.baseline.txt] { @@ -193,10 +193,28 @@ declare function f(): string; "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../first_part1.ts", + "not cached or not changed" + ], + [ + "../first_part2.ts", + "not cached or not changed" + ], + [ + "../first_part3.ts", + "not cached or not changed" + ] + ], "outSignature": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", "latestChangedDtsFile": "./first-output.d.ts", "version": "FakeTSVersion", - "size": 1233 + "size": 1272 } //// [/home/src/workspaces/solution/2/second-output.js.map] @@ -234,7 +252,7 @@ declare class C { //# sourceMappingURL=second-output.d.ts.map //// [/home/src/workspaces/solution/2/second-output.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/2/second-output.tsbuildinfo.readable.baseline.txt] { @@ -269,10 +287,24 @@ declare class C { "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../second/second_part1.ts", + "not cached or not changed" + ], + [ + "../second/second_part2.ts", + "not cached or not changed" + ] + ], "outSignature": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", "latestChangedDtsFile": "./second-output.d.ts", "version": "FakeTSVersion", - "size": 1177 + "size": 1214 } //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.js.map] @@ -291,7 +323,7 @@ declare var c: C; //# sourceMappingURL=third-output.d.ts.map //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo] -{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","7305100057-var c = new C();\nc.doSomething();\n"],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","7305100057-var c = new C();\nc.doSomething();\n"],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4],"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] { @@ -324,10 +356,28 @@ declare var c: C; "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../../../first/bin/first-output.d.ts", + "not cached or not changed" + ], + [ + "../../../2/second-output.d.ts", + "not cached or not changed" + ], + [ + "../../third_part1.ts", + "not cached or not changed" + ] + ], "outSignature": "1894672131-declare var c: C;\n", "latestChangedDtsFile": "./third-output.d.ts", "version": "FakeTSVersion", - "size": 1226 + "size": 1265 } diff --git a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes-discrepancies.js b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes-discrepancies.js index 8f0a1cedeb2ab..cb19b4be1c277 100644 --- a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes-discrepancies.js +++ b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes-discrepancies.js @@ -7,6 +7,7 @@ CleanBuild: "root": [ "../../third_part1.ts" ], + "errors": true, "version": "FakeTSVersion" } IncrementalBuild: @@ -44,4 +45,240 @@ IncrementalBuild: "../../../first/bin/first-output.d.ts": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", "../../../2/second-output.d.ts": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", "../../third_part1.ts": "7305100057-var c = new C();\nc.doSomething();\n" +} +Incremental build contains ../../../../../tslibs/ts/lib/lib.d.ts file does not have semantic errors, it does not match with clean build: /home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt:: +Incremental buildInfoText:: { + "fileNames": [ + "../../../../../tslibs/ts/lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", + "../../third_part1.ts" + ], + "fileInfos": { + "../../../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../first/bin/first-output.d.ts": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", + "../../../2/second-output.d.ts": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", + "../../third_part1.ts": "7305100057-var c = new C();\nc.doSomething();\n" + }, + "root": [ + [ + 4, + "../../third_part1.ts" + ] + ], + "options": { + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 + }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../../../first/bin/first-output.d.ts", + "not cached or not changed" + ], + [ + "../../../2/second-output.d.ts", + "not cached or not changed" + ], + [ + "../../third_part1.ts", + "not cached or not changed" + ] + ], + "version": "FakeTSVersion", + "size": 1155 +} +Clean buildInfoText:: { + "root": [ + "../../third_part1.ts" + ], + "errors": true, + "version": "FakeTSVersion", + "size": 73 +} +Incremental build contains ../../../first/bin/first-output.d.ts file does not have semantic errors, it does not match with clean build: /home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt:: +Incremental buildInfoText:: { + "fileNames": [ + "../../../../../tslibs/ts/lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", + "../../third_part1.ts" + ], + "fileInfos": { + "../../../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../first/bin/first-output.d.ts": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", + "../../../2/second-output.d.ts": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", + "../../third_part1.ts": "7305100057-var c = new C();\nc.doSomething();\n" + }, + "root": [ + [ + 4, + "../../third_part1.ts" + ] + ], + "options": { + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 + }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../../../first/bin/first-output.d.ts", + "not cached or not changed" + ], + [ + "../../../2/second-output.d.ts", + "not cached or not changed" + ], + [ + "../../third_part1.ts", + "not cached or not changed" + ] + ], + "version": "FakeTSVersion", + "size": 1155 +} +Clean buildInfoText:: { + "root": [ + "../../third_part1.ts" + ], + "errors": true, + "version": "FakeTSVersion", + "size": 73 +} +Incremental build contains ../../../2/second-output.d.ts file does not have semantic errors, it does not match with clean build: /home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt:: +Incremental buildInfoText:: { + "fileNames": [ + "../../../../../tslibs/ts/lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", + "../../third_part1.ts" + ], + "fileInfos": { + "../../../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../first/bin/first-output.d.ts": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", + "../../../2/second-output.d.ts": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", + "../../third_part1.ts": "7305100057-var c = new C();\nc.doSomething();\n" + }, + "root": [ + [ + 4, + "../../third_part1.ts" + ] + ], + "options": { + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 + }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../../../first/bin/first-output.d.ts", + "not cached or not changed" + ], + [ + "../../../2/second-output.d.ts", + "not cached or not changed" + ], + [ + "../../third_part1.ts", + "not cached or not changed" + ] + ], + "version": "FakeTSVersion", + "size": 1155 +} +Clean buildInfoText:: { + "root": [ + "../../third_part1.ts" + ], + "errors": true, + "version": "FakeTSVersion", + "size": 73 +} +Incremental build contains ../../third_part1.ts file does not have semantic errors, it does not match with clean build: /home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt:: +Incremental buildInfoText:: { + "fileNames": [ + "../../../../../tslibs/ts/lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", + "../../third_part1.ts" + ], + "fileInfos": { + "../../../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../first/bin/first-output.d.ts": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", + "../../../2/second-output.d.ts": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", + "../../third_part1.ts": "7305100057-var c = new C();\nc.doSomething();\n" + }, + "root": [ + [ + 4, + "../../third_part1.ts" + ] + ], + "options": { + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 + }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../../../first/bin/first-output.d.ts", + "not cached or not changed" + ], + [ + "../../../2/second-output.d.ts", + "not cached or not changed" + ], + [ + "../../third_part1.ts", + "not cached or not changed" + ] + ], + "version": "FakeTSVersion", + "size": 1155 +} +Clean buildInfoText:: { + "root": [ + "../../third_part1.ts" + ], + "errors": true, + "version": "FakeTSVersion", + "size": 73 } \ No newline at end of file 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 39f7ee234c5ce..e6e5adb4d5cf7 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 @@ -139,14 +139,32 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/first/tsconfig.json'... +first/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +9 "outFile": "./bin/first-output.js", +   ~~~~~~~~~ + [HH:MM:SS AM] Project 'second/tsconfig.json' is out of date because output file '2/second-output.tsbuildinfo' does not exist [HH:MM:SS AM] Building project '/home/src/workspaces/solution/second/tsconfig.json'... +second/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +10 "outFile": "../2/second-output.js", +   ~~~~~~~~~ + [HH:MM:SS AM] Project 'third/tsconfig.json' is out of date because output file 'third/thirdjs/output/third-output.tsbuildinfo' does not exist [HH:MM:SS AM] Building project '/home/src/workspaces/solution/third/tsconfig.json'... +third/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +10 "outFile": "./thirdjs/output/third-output.js", +   ~~~~~~~~~ + + +Found 3 errors. + //// [/home/src/workspaces/solution/first/bin/first-output.js.map] @@ -176,7 +194,7 @@ declare function f(): string; //# sourceMappingURL=first-output.d.ts.map //// [/home/src/workspaces/solution/first/bin/first-output.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4],"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/first/bin/first-output.tsbuildinfo.readable.baseline.txt] { @@ -215,10 +233,28 @@ declare function f(): string; "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../first_part1.ts", + "not cached or not changed" + ], + [ + "../first_part2.ts", + "not cached or not changed" + ], + [ + "../first_part3.ts", + "not cached or not changed" + ] + ], "outSignature": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", "latestChangedDtsFile": "./first-output.d.ts", "version": "FakeTSVersion", - "size": 1233 + "size": 1272 } //// [/home/src/workspaces/solution/2/second-output.js.map] @@ -256,7 +292,7 @@ declare class C { //# sourceMappingURL=second-output.d.ts.map //// [/home/src/workspaces/solution/2/second-output.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/2/second-output.tsbuildinfo.readable.baseline.txt] { @@ -291,10 +327,24 @@ declare class C { "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../second/second_part1.ts", + "not cached or not changed" + ], + [ + "../second/second_part2.ts", + "not cached or not changed" + ] + ], "outSignature": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", "latestChangedDtsFile": "./second-output.d.ts", "version": "FakeTSVersion", - "size": 1177 + "size": 1214 } //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.js.map] @@ -313,7 +363,7 @@ declare var c: C; //# sourceMappingURL=third-output.d.ts.map //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo] -{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","7305100057-var c = new C();\nc.doSomething();\n"],"root":[4],"options":{"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"version":"FakeTSVersion"} +{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","7305100057-var c = new C();\nc.doSomething();\n"],"root":[4],"options":{"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] { @@ -345,12 +395,30 @@ declare var c: C; "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../../../first/bin/first-output.d.ts", + "not cached or not changed" + ], + [ + "../../../2/second-output.d.ts", + "not cached or not changed" + ], + [ + "../../third_part1.ts", + "not cached or not changed" + ] + ], "version": "FakeTSVersion", - "size": 1116 + "size": 1155 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: Make non incremental build with change in file that doesnt affect dts @@ -377,16 +445,31 @@ Output:: * second/tsconfig.json * third/tsconfig.json -[HH:MM:SS AM] Project 'first/tsconfig.json' is out of date because output 'first/bin/first-output.tsbuildinfo' is older than input 'first/first_PART1.ts' +[HH:MM:SS AM] Project 'first/tsconfig.json' is out of date because buildinfo file 'first/bin/first-output.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/workspaces/solution/first/tsconfig.json'... -[HH:MM:SS AM] Project 'second/tsconfig.json' is up to date because newest input 'second/second_part2.ts' is older than output '2/second-output.tsbuildinfo' +first/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +9 "outFile": "./bin/first-output.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Project 'second/tsconfig.json' is out of date because buildinfo file '2/second-output.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/home/src/workspaces/solution/second/tsconfig.json'... + +second/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +10 "outFile": "../2/second-output.js", +   ~~~~~~~~~ [HH:MM:SS AM] Project 'third/tsconfig.json' is up to date with .d.ts files from its dependencies [HH:MM:SS AM] Updating output timestamps of project '/home/src/workspaces/solution/third/tsconfig.json'... + +Found 2 errors. + //// [/home/src/workspaces/solution/first/bin/first-output.js.map] @@ -404,7 +487,7 @@ function f() { //// [/home/src/workspaces/solution/first/bin/first-output.d.ts.map] file written with same contents //// [/home/src/workspaces/solution/first/bin/first-output.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-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);","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-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);","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4],"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/first/bin/first-output.tsbuildinfo.readable.baseline.txt] { @@ -443,10 +526,28 @@ function f() { "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../first_part1.ts", + "not cached or not changed" + ], + [ + "../first_part2.ts", + "not cached or not changed" + ], + [ + "../first_part3.ts", + "not cached or not changed" + ] + ], "outSignature": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", "latestChangedDtsFile": "./first-output.d.ts", "version": "FakeTSVersion", - "size": 1248 + "size": 1287 } //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.js.map] file changed its modified time @@ -455,7 +556,7 @@ function f() { //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.d.ts] file changed its modified time //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo] file changed its modified time -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: Make incremental build with change in file that doesnt affect dts @@ -482,15 +583,35 @@ Output:: * second/tsconfig.json * third/tsconfig.json -[HH:MM:SS AM] Project 'first/tsconfig.json' is out of date because output 'first/bin/first-output.tsbuildinfo' is older than input 'first/first_PART1.ts' +[HH:MM:SS AM] Project 'first/tsconfig.json' is out of date because buildinfo file 'first/bin/first-output.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/workspaces/solution/first/tsconfig.json'... -[HH:MM:SS AM] Project 'second/tsconfig.json' is up to date because newest input 'second/second_part2.ts' is older than output '2/second-output.tsbuildinfo' +first/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -[HH:MM:SS AM] Project 'third/tsconfig.json' is up to date with .d.ts files from its dependencies +9 "outFile": "./bin/first-output.js", +   ~~~~~~~~~ -[HH:MM:SS AM] Updating output timestamps of project '/home/src/workspaces/solution/third/tsconfig.json'... +[HH:MM:SS AM] Project 'second/tsconfig.json' is out of date because buildinfo file '2/second-output.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/home/src/workspaces/solution/second/tsconfig.json'... + +second/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +10 "outFile": "../2/second-output.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Project 'third/tsconfig.json' is out of date because buildinfo file 'third/thirdjs/output/third-output.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/home/src/workspaces/solution/third/tsconfig.json'... + +third/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +10 "outFile": "./thirdjs/output/third-output.js", +   ~~~~~~~~~ + + +Found 3 errors. @@ -510,7 +631,7 @@ function f() { //// [/home/src/workspaces/solution/first/bin/first-output.d.ts.map] file written with same contents //// [/home/src/workspaces/solution/first/bin/first-output.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-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);","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-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);","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4],"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/first/bin/first-output.tsbuildinfo.readable.baseline.txt] { @@ -549,12 +670,29 @@ function f() { "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../first_part1.ts", + "not cached or not changed" + ], + [ + "../first_part2.ts", + "not cached or not changed" + ], + [ + "../first_part3.ts", + "not cached or not changed" + ] + ], "outSignature": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", "latestChangedDtsFile": "./first-output.d.ts", "version": "FakeTSVersion", - "size": 1263 + "size": 1302 } -//// [/home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo] file changed its modified time -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped 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 be7a9278db13a..97a64e0dfd689 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 @@ -154,7 +154,7 @@ declare function f(): string; //# sourceMappingURL=first-output.d.ts.map //// [/home/src/workspaces/solution/first/bin/first-output.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4],"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/first/bin/first-output.tsbuildinfo.readable.baseline.txt] { @@ -193,10 +193,28 @@ declare function f(): string; "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../first_part1.ts", + "not cached or not changed" + ], + [ + "../first_part2.ts", + "not cached or not changed" + ], + [ + "../first_part3.ts", + "not cached or not changed" + ] + ], "outSignature": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", "latestChangedDtsFile": "./first-output.d.ts", "version": "FakeTSVersion", - "size": 1233 + "size": 1272 } //// [/home/src/workspaces/solution/2/second-output.js.map] @@ -234,7 +252,7 @@ declare class C { //# sourceMappingURL=second-output.d.ts.map //// [/home/src/workspaces/solution/2/second-output.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/2/second-output.tsbuildinfo.readable.baseline.txt] { @@ -269,10 +287,24 @@ declare class C { "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../second/second_part1.ts", + "not cached or not changed" + ], + [ + "../second/second_part2.ts", + "not cached or not changed" + ] + ], "outSignature": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", "latestChangedDtsFile": "./second-output.d.ts", "version": "FakeTSVersion", - "size": 1177 + "size": 1214 } //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.js.map] @@ -291,7 +323,7 @@ declare var c: C; //# sourceMappingURL=third-output.d.ts.map //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo] -{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","7305100057-var c = new C();\nc.doSomething();\n"],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","7305100057-var c = new C();\nc.doSomething();\n"],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4],"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] { @@ -324,10 +356,28 @@ declare var c: C; "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../../../first/bin/first-output.d.ts", + "not cached or not changed" + ], + [ + "../../../2/second-output.d.ts", + "not cached or not changed" + ], + [ + "../../third_part1.ts", + "not cached or not changed" + ] + ], "outSignature": "1894672131-declare var c: C;\n", "latestChangedDtsFile": "./third-output.d.ts", "version": "FakeTSVersion", - "size": 1226 + "size": 1265 } @@ -342,14 +392,29 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/first/tsconfig.json'... +first/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +9 "outFile": "./bin/first-output.js", +   ~~~~~~~~~ + [HH:MM:SS AM] Project 'second/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' [HH:MM:SS AM] Building project '/home/src/workspaces/solution/second/tsconfig.json'... +second/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +10 "outFile": "../2/second-output.js", +   ~~~~~~~~~ + [HH:MM:SS AM] Project 'third/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' [HH:MM:SS AM] Building project '/home/src/workspaces/solution/third/tsconfig.json'... +third/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +10 "outFile": "./thirdjs/output/third-output.js", +   ~~~~~~~~~ + //// [/home/src/workspaces/solution/first/bin/first-output.js.map] file written with same contents @@ -357,7 +422,7 @@ Output:: //// [/home/src/workspaces/solution/first/bin/first-output.d.ts.map] file written with same contents //// [/home/src/workspaces/solution/first/bin/first-output.d.ts] file written with same contents //// [/home/src/workspaces/solution/first/bin/first-output.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts","version":"FakeTSCurrentVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4],"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts","version":"FakeTSCurrentVersion"} //// [/home/src/workspaces/solution/first/bin/first-output.tsbuildinfo.readable.baseline.txt] { @@ -396,10 +461,28 @@ Output:: "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../first_part1.ts", + "not cached or not changed" + ], + [ + "../first_part2.ts", + "not cached or not changed" + ], + [ + "../first_part3.ts", + "not cached or not changed" + ] + ], "outSignature": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", "latestChangedDtsFile": "./first-output.d.ts", "version": "FakeTSCurrentVersion", - "size": 1240 + "size": 1279 } //// [/home/src/workspaces/solution/2/second-output.js.map] file written with same contents @@ -407,7 +490,7 @@ Output:: //// [/home/src/workspaces/solution/2/second-output.d.ts.map] file written with same contents //// [/home/src/workspaces/solution/2/second-output.d.ts] file written with same contents //// [/home/src/workspaces/solution/2/second-output.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts","version":"FakeTSCurrentVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts","version":"FakeTSCurrentVersion"} //// [/home/src/workspaces/solution/2/second-output.tsbuildinfo.readable.baseline.txt] { @@ -442,10 +525,24 @@ Output:: "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../second/second_part1.ts", + "not cached or not changed" + ], + [ + "../second/second_part2.ts", + "not cached or not changed" + ] + ], "outSignature": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", "latestChangedDtsFile": "./second-output.d.ts", "version": "FakeTSCurrentVersion", - "size": 1184 + "size": 1221 } //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.js.map] file written with same contents @@ -453,7 +550,7 @@ Output:: //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.d.ts.map] file written with same contents //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.d.ts] file written with same contents //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo] -{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","7305100057-var c = new C();\nc.doSomething();\n"],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts","version":"FakeTSCurrentVersion"} +{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","7305100057-var c = new C();\nc.doSomething();\n"],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4],"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts","version":"FakeTSCurrentVersion"} //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] { @@ -486,11 +583,29 @@ Output:: "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../../../first/bin/first-output.d.ts", + "not cached or not changed" + ], + [ + "../../../2/second-output.d.ts", + "not cached or not changed" + ], + [ + "../../third_part1.ts", + "not cached or not changed" + ] + ], "outSignature": "1894672131-declare var c: C;\n", "latestChangedDtsFile": "./third-output.d.ts", "version": "FakeTSCurrentVersion", - "size": 1233 + "size": 1272 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped 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 8ea9ffce93382..f7f4bb6953e83 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 @@ -139,14 +139,32 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/first/tsconfig.json'... +first/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +9 "outFile": "./bin/first-output.js", +   ~~~~~~~~~ + [HH:MM:SS AM] Project 'second/tsconfig.json' is out of date because output file '2/second-output.tsbuildinfo' does not exist [HH:MM:SS AM] Building project '/home/src/workspaces/solution/second/tsconfig.json'... +second/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +10 "outFile": "../2/second-output.js", +   ~~~~~~~~~ + [HH:MM:SS AM] Project 'third/tsconfig.json' is out of date because output file 'third/thirdjs/output/third-output.tsbuildinfo' does not exist [HH:MM:SS AM] Building project '/home/src/workspaces/solution/third/tsconfig.json'... +third/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +10 "outFile": "./thirdjs/output/third-output.js", +   ~~~~~~~~~ + + +Found 3 errors. + //// [/home/src/workspaces/solution/first/bin/first-output.js.map] @@ -176,7 +194,7 @@ declare function f(): string; //# sourceMappingURL=first-output.d.ts.map //// [/home/src/workspaces/solution/first/bin/first-output.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4],"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/first/bin/first-output.tsbuildinfo.readable.baseline.txt] { @@ -215,10 +233,28 @@ declare function f(): string; "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../first_part1.ts", + "not cached or not changed" + ], + [ + "../first_part2.ts", + "not cached or not changed" + ], + [ + "../first_part3.ts", + "not cached or not changed" + ] + ], "outSignature": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", "latestChangedDtsFile": "./first-output.d.ts", "version": "FakeTSVersion", - "size": 1233 + "size": 1272 } //// [/home/src/workspaces/solution/2/second-output.js.map] @@ -256,7 +292,7 @@ declare class C { //# sourceMappingURL=second-output.d.ts.map //// [/home/src/workspaces/solution/2/second-output.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/2/second-output.tsbuildinfo.readable.baseline.txt] { @@ -291,10 +327,24 @@ declare class C { "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../second/second_part1.ts", + "not cached or not changed" + ], + [ + "../second/second_part2.ts", + "not cached or not changed" + ] + ], "outSignature": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", "latestChangedDtsFile": "./second-output.d.ts", "version": "FakeTSVersion", - "size": 1177 + "size": 1214 } //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.js.map] @@ -313,16 +363,17 @@ declare var c: C; //# sourceMappingURL=third-output.d.ts.map //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo] -{"root":["../../third_part1.ts"],"version":"FakeTSVersion"} +{"root":["../../third_part1.ts"],"errors":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] { "root": [ "../../third_part1.ts" ], + "errors": true, "version": "FakeTSVersion", - "size": 59 + "size": 73 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped 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 ea2bc590604e0..a961831dce855 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 @@ -190,10 +190,28 @@ declare function f(): string; "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../first_part1.ts", + "not cached or not changed" + ], + [ + "../first_part2.ts", + "not cached or not changed" + ], + [ + "../first_part3.ts", + "not cached or not changed" + ] + ], "outSignature": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", "latestChangedDtsFile": "./first-output.d.ts", "version": "FakeTSVersion", - "size": 1233 + "size": 1272 } //// [/home/src/workspaces/solution/2/second-output.js.map] @@ -231,7 +249,7 @@ declare class C { //# sourceMappingURL=second-output.d.ts.map //// [/home/src/workspaces/solution/2/second-output.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/2/second-output.tsbuildinfo.readable.baseline.txt] { @@ -266,10 +284,24 @@ declare class C { "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../second/second_part1.ts", + "not cached or not changed" + ], + [ + "../second/second_part2.ts", + "not cached or not changed" + ] + ], "outSignature": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", "latestChangedDtsFile": "./second-output.d.ts", "version": "FakeTSVersion", - "size": 1177 + "size": 1214 } //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.js.map] @@ -288,7 +320,7 @@ declare var c: C; //# sourceMappingURL=third-output.d.ts.map //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo] -{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","7305100057-var c = new C();\nc.doSomething();\n"],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","7305100057-var c = new C();\nc.doSomething();\n"],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4],"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] { @@ -321,10 +353,28 @@ declare var c: C; "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../../../first/bin/first-output.d.ts", + "not cached or not changed" + ], + [ + "../../../2/second-output.d.ts", + "not cached or not changed" + ], + [ + "../../third_part1.ts", + "not cached or not changed" + ] + ], "outSignature": "1894672131-declare var c: C;\n", "latestChangedDtsFile": "./third-output.d.ts", "version": "FakeTSVersion", - "size": 1226 + "size": 1265 } @@ -339,13 +389,31 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/first/tsconfig.json'... -[HH:MM:SS AM] Project 'second/tsconfig.json' is up to date because newest input 'second/second_part2.ts' is older than output '2/second-output.tsbuildinfo' +first/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -[HH:MM:SS AM] Project 'third/tsconfig.json' is out of date because output 'third/thirdjs/output/third-output.tsbuildinfo' is older than input 'first' +9 "outFile": "./bin/first-output.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Project 'second/tsconfig.json' is out of date because buildinfo file '2/second-output.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/home/src/workspaces/solution/second/tsconfig.json'... + +second/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +10 "outFile": "../2/second-output.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Project 'third/tsconfig.json' is out of date because buildinfo file 'third/thirdjs/output/third-output.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/workspaces/solution/third/tsconfig.json'... -[HH:MM:SS AM] Updating unchanged output timestamps of project '/home/src/workspaces/solution/third/tsconfig.json'... +third/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +10 "outFile": "./thirdjs/output/third-output.js", +   ~~~~~~~~~ + + +Found 3 errors. @@ -354,9 +422,8 @@ Output:: //// [/home/src/workspaces/solution/first/bin/first-output.d.ts.map] file written with same contents //// [/home/src/workspaces/solution/first/bin/first-output.d.ts] file written with same contents //// [/home/src/workspaces/solution/first/bin/first-output.tsbuildinfo.readable.baseline.txt] file written with same contents -//// [/home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo] file changed its modified time //// [/home/src/workspaces/solution/first/bin/first-output.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4],"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts","version":"FakeTSVersion"} -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped 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 38e231c18371f..1820c3295a23b 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 @@ -139,14 +139,32 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/first/tsconfig.json'... +first/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +9 "outFile": "./bin/first-output.js", +   ~~~~~~~~~ + [HH:MM:SS AM] Project 'second/tsconfig.json' is out of date because output file '2/second-output.tsbuildinfo' does not exist [HH:MM:SS AM] Building project '/home/src/workspaces/solution/second/tsconfig.json'... +second/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +10 "outFile": "../2/second-output.js", +   ~~~~~~~~~ + [HH:MM:SS AM] Project 'third/tsconfig.json' is out of date because output file 'third/thirdjs/output/third-output.tsbuildinfo' does not exist [HH:MM:SS AM] Building project '/home/src/workspaces/solution/third/tsconfig.json'... +third/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +10 "outFile": "./thirdjs/output/third-output.js", +   ~~~~~~~~~ + + +Found 3 errors. + //// [/home/src/workspaces/solution/first/bin/first-output.js.map] @@ -176,7 +194,7 @@ declare function f(): string; //# sourceMappingURL=first-output.d.ts.map //// [/home/src/workspaces/solution/first/bin/first-output.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4],"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/first/bin/first-output.tsbuildinfo.readable.baseline.txt] { @@ -215,10 +233,28 @@ declare function f(): string; "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../first_part1.ts", + "not cached or not changed" + ], + [ + "../first_part2.ts", + "not cached or not changed" + ], + [ + "../first_part3.ts", + "not cached or not changed" + ] + ], "outSignature": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", "latestChangedDtsFile": "./first-output.d.ts", "version": "FakeTSVersion", - "size": 1233 + "size": 1272 } //// [/home/src/workspaces/solution/2/second-output.js.map] @@ -256,7 +292,7 @@ declare class C { //# sourceMappingURL=second-output.d.ts.map //// [/home/src/workspaces/solution/2/second-output.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/2/second-output.tsbuildinfo.readable.baseline.txt] { @@ -291,10 +327,24 @@ declare class C { "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../second/second_part1.ts", + "not cached or not changed" + ], + [ + "../second/second_part2.ts", + "not cached or not changed" + ] + ], "outSignature": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", "latestChangedDtsFile": "./second-output.d.ts", "version": "FakeTSVersion", - "size": 1177 + "size": 1214 } //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.js.map] @@ -313,7 +363,7 @@ declare var c: C; //# sourceMappingURL=third-output.d.ts.map //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo] -{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","7305100057-var c = new C();\nc.doSomething();\n"],"root":[4],"options":{"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"version":"FakeTSVersion"} +{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","7305100057-var c = new C();\nc.doSomething();\n"],"root":[4],"options":{"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] { @@ -345,8 +395,26 @@ declare var c: C; "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../../../first/bin/first-output.d.ts", + "not cached or not changed" + ], + [ + "../../../2/second-output.d.ts", + "not cached or not changed" + ], + [ + "../../third_part1.ts", + "not cached or not changed" + ] + ], "version": "FakeTSVersion", - "size": 1116 + "size": 1155 } //// [/home/src/workspaces/solution/first/bin/first-output.js.map.baseline.txt] @@ -1070,4 +1138,4 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.d.ts.map -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped 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 29811ff8b920a..7187eb8cdd2f9 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 @@ -139,14 +139,32 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/first/tsconfig.json'... +first/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +9 "outFile": "./bin/first-output.js", +   ~~~~~~~~~ + [HH:MM:SS AM] Project 'second/tsconfig.json' is out of date because output file '2/second-output.tsbuildinfo' does not exist [HH:MM:SS AM] Building project '/home/src/workspaces/solution/second/tsconfig.json'... +second/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +10 "outFile": "../2/second-output.js", +   ~~~~~~~~~ + [HH:MM:SS AM] Project 'third/tsconfig.json' is out of date because output file 'third/thirdjs/output/third-output.tsbuildinfo' does not exist [HH:MM:SS AM] Building project '/home/src/workspaces/solution/third/tsconfig.json'... +third/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +10 "outFile": "./thirdjs/output/third-output.js", +   ~~~~~~~~~ + + +Found 3 errors. + //// [/home/src/workspaces/solution/first/bin/first-output.js.map] @@ -176,7 +194,7 @@ declare function f(): string; //# sourceMappingURL=first-output.d.ts.map //// [/home/src/workspaces/solution/first/bin/first-output.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4],"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/first/bin/first-output.tsbuildinfo.readable.baseline.txt] { @@ -215,10 +233,28 @@ declare function f(): string; "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../first_part1.ts", + "not cached or not changed" + ], + [ + "../first_part2.ts", + "not cached or not changed" + ], + [ + "../first_part3.ts", + "not cached or not changed" + ] + ], "outSignature": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", "latestChangedDtsFile": "./first-output.d.ts", "version": "FakeTSVersion", - "size": 1233 + "size": 1272 } //// [/home/src/workspaces/solution/2/second-output.js.map] @@ -256,7 +292,7 @@ declare class C { //# sourceMappingURL=second-output.d.ts.map //// [/home/src/workspaces/solution/2/second-output.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/2/second-output.tsbuildinfo.readable.baseline.txt] { @@ -291,10 +327,24 @@ declare class C { "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../second/second_part1.ts", + "not cached or not changed" + ], + [ + "../second/second_part2.ts", + "not cached or not changed" + ] + ], "outSignature": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", "latestChangedDtsFile": "./second-output.d.ts", "version": "FakeTSVersion", - "size": 1177 + "size": 1214 } //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.js.map] @@ -313,15 +363,16 @@ declare var c: C; //# sourceMappingURL=third-output.d.ts.map //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo] -{"root":["../../third_part1.ts"],"version":"FakeTSVersion"} +{"root":["../../third_part1.ts"],"errors":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] { "root": [ "../../third_part1.ts" ], + "errors": true, "version": "FakeTSVersion", - "size": 59 + "size": 73 } //// [/home/src/workspaces/solution/first/bin/first-output.js.map.baseline.txt] @@ -1045,7 +1096,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.d.ts.map -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: incremental-declaration-doesnt-change @@ -1072,15 +1123,35 @@ Output:: * second/tsconfig.json * third/tsconfig.json -[HH:MM:SS AM] Project 'first/tsconfig.json' is out of date because output 'first/bin/first-output.tsbuildinfo' is older than input 'first/first_PART1.ts' +[HH:MM:SS AM] Project 'first/tsconfig.json' is out of date because buildinfo file 'first/bin/first-output.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/workspaces/solution/first/tsconfig.json'... -[HH:MM:SS AM] Project 'second/tsconfig.json' is up to date because newest input 'second/second_part2.ts' is older than output '2/second-output.tsbuildinfo' +first/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +9 "outFile": "./bin/first-output.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Project 'second/tsconfig.json' is out of date because buildinfo file '2/second-output.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/home/src/workspaces/solution/second/tsconfig.json'... + +second/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +10 "outFile": "../2/second-output.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Project 'third/tsconfig.json' is out of date because buildinfo file 'third/thirdjs/output/third-output.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/home/src/workspaces/solution/third/tsconfig.json'... + +third/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +10 "outFile": "./thirdjs/output/third-output.js", +   ~~~~~~~~~ -[HH:MM:SS AM] Project 'third/tsconfig.json' is up to date with .d.ts files from its dependencies -[HH:MM:SS AM] Updating output timestamps of project '/home/src/workspaces/solution/third/tsconfig.json'... +Found 3 errors. @@ -1099,7 +1170,7 @@ function f() { //// [/home/src/workspaces/solution/first/bin/first-output.d.ts.map] file written with same contents //// [/home/src/workspaces/solution/first/bin/first-output.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-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);","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-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);","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4],"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/first/bin/first-output.tsbuildinfo.readable.baseline.txt] { @@ -1138,17 +1209,36 @@ function f() { "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../first_part1.ts", + "not cached or not changed" + ], + [ + "../first_part2.ts", + "not cached or not changed" + ], + [ + "../first_part3.ts", + "not cached or not changed" + ] + ], "outSignature": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", "latestChangedDtsFile": "./first-output.d.ts", "version": "FakeTSVersion", - "size": 1248 + "size": 1287 } -//// [/home/src/workspaces/solution/third/thirdjs/output/third-output.js.map] file changed its modified time -//// [/home/src/workspaces/solution/third/thirdjs/output/third-output.js] file changed its modified time -//// [/home/src/workspaces/solution/third/thirdjs/output/third-output.d.ts.map] file changed its modified time -//// [/home/src/workspaces/solution/third/thirdjs/output/third-output.d.ts] file changed its modified time -//// [/home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo] file changed its modified time +//// [/home/src/workspaces/solution/third/thirdjs/output/third-output.js.map] file written with same contents +//// [/home/src/workspaces/solution/third/thirdjs/output/third-output.js] file written with same contents +//// [/home/src/workspaces/solution/third/thirdjs/output/third-output.d.ts.map] file written with same contents +//// [/home/src/workspaces/solution/third/thirdjs/output/third-output.d.ts] file written with same contents +//// [/home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo] file written with same contents +//// [/home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/workspaces/solution/first/bin/first-output.js.map.baseline.txt] =================================================================== JsFile: first-output.js @@ -1321,5 +1411,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/home/src/workspaces/solution/first/bin/first-output.d.ts.map.baseline.txt] file written with same contents +//// [/home/src/workspaces/solution/third/thirdjs/output/third-output.js.map.baseline.txt] file written with same contents +//// [/home/src/workspaces/solution/third/thirdjs/output/third-output.d.ts.map.baseline.txt] file written with same contents -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped 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 25031dea4c7fd..0961072bacee6 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 @@ -140,14 +140,32 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/first/tsconfig.json'... +first/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +9 "outFile": "./bin/first-output.js", +   ~~~~~~~~~ + [HH:MM:SS AM] Project 'second/tsconfig.json' is out of date because output file '2/second-output.tsbuildinfo' does not exist [HH:MM:SS AM] Building project '/home/src/workspaces/solution/second/tsconfig.json'... +second/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +10 "outFile": "../2/second-output.js", +   ~~~~~~~~~ + [HH:MM:SS AM] Project 'third/tsconfig.json' is out of date because output file 'third/thirdjs/output/third.tsbuildinfo' does not exist [HH:MM:SS AM] Building project '/home/src/workspaces/solution/third/tsconfig.json'... +third/tsconfig.json:11:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +11 "outFile": "./thirdjs/output/third-output.js", +   ~~~~~~~~~ + + +Found 3 errors. + //// [/home/src/workspaces/solution/first/bin/first-output.js.map] @@ -177,7 +195,7 @@ declare function f(): string; //# sourceMappingURL=first-output.d.ts.map //// [/home/src/workspaces/solution/first/bin/first-output.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4],"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/first/bin/first-output.tsbuildinfo.readable.baseline.txt] { @@ -216,10 +234,28 @@ declare function f(): string; "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../first_part1.ts", + "not cached or not changed" + ], + [ + "../first_part2.ts", + "not cached or not changed" + ], + [ + "../first_part3.ts", + "not cached or not changed" + ] + ], "outSignature": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", "latestChangedDtsFile": "./first-output.d.ts", "version": "FakeTSVersion", - "size": 1233 + "size": 1272 } //// [/home/src/workspaces/solution/2/second-output.js.map] @@ -257,7 +293,7 @@ declare class C { //# sourceMappingURL=second-output.d.ts.map //// [/home/src/workspaces/solution/2/second-output.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/2/second-output.tsbuildinfo.readable.baseline.txt] { @@ -292,10 +328,24 @@ declare class C { "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../second/second_part1.ts", + "not cached or not changed" + ], + [ + "../second/second_part2.ts", + "not cached or not changed" + ] + ], "outSignature": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", "latestChangedDtsFile": "./second-output.d.ts", "version": "FakeTSVersion", - "size": 1177 + "size": 1214 } //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.js.map] @@ -314,7 +364,7 @@ declare var c: C; //# sourceMappingURL=third-output.d.ts.map //// [/home/src/workspaces/solution/third/thirdjs/output/third.tsbuildinfo] -{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","7305100057-var c = new C();\nc.doSomething();\n"],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1,"tsBuildInfoFile":"./third.tsbuildinfo"},"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","7305100057-var c = new C();\nc.doSomething();\n"],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1,"tsBuildInfoFile":"./third.tsbuildinfo"},"semanticDiagnosticsPerFile":[1,2,3,4],"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/third/thirdjs/output/third.tsbuildinfo.readable.baseline.txt] { @@ -348,10 +398,28 @@ declare var c: C; "target": 1, "tsBuildInfoFile": "./third.tsbuildinfo" }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../../../first/bin/first-output.d.ts", + "not cached or not changed" + ], + [ + "../../../2/second-output.d.ts", + "not cached or not changed" + ], + [ + "../../third_part1.ts", + "not cached or not changed" + ] + ], "outSignature": "1894672131-declare var c: C;\n", "latestChangedDtsFile": "./third-output.d.ts", "version": "FakeTSVersion", - "size": 1266 + "size": 1305 } //// [/home/src/workspaces/solution/first/bin/first-output.js.map.baseline.txt] @@ -1075,4 +1143,4 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.d.ts.map -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped 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 dbe63c8ce37e1..d34331c964ac3 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 @@ -139,14 +139,32 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/first/tsconfig.json'... +first/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +9 "outFile": "./bin/first-output.js", +   ~~~~~~~~~ + [HH:MM:SS AM] Project 'second/tsconfig.json' is out of date because output file '2/second-output.tsbuildinfo' does not exist [HH:MM:SS AM] Building project '/home/src/workspaces/solution/second/tsconfig.json'... +second/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +10 "outFile": "../2/second-output.js", +   ~~~~~~~~~ + [HH:MM:SS AM] Project 'third/tsconfig.json' is out of date because output file 'third/thirdjs/output/third-output.tsbuildinfo' does not exist [HH:MM:SS AM] Building project '/home/src/workspaces/solution/third/tsconfig.json'... +third/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +10 "outFile": "./thirdjs/output/third-output.js", +   ~~~~~~~~~ + + +Found 3 errors. + //// [/home/src/workspaces/solution/first/bin/first-output.js.map] @@ -176,7 +194,7 @@ declare function f(): string; //# sourceMappingURL=first-output.d.ts.map //// [/home/src/workspaces/solution/first/bin/first-output.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4],"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/first/bin/first-output.tsbuildinfo.readable.baseline.txt] { @@ -215,10 +233,28 @@ declare function f(): string; "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../first_part1.ts", + "not cached or not changed" + ], + [ + "../first_part2.ts", + "not cached or not changed" + ], + [ + "../first_part3.ts", + "not cached or not changed" + ] + ], "outSignature": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", "latestChangedDtsFile": "./first-output.d.ts", "version": "FakeTSVersion", - "size": 1233 + "size": 1272 } //// [/home/src/workspaces/solution/2/second-output.js.map] @@ -256,7 +292,7 @@ declare class C { //# sourceMappingURL=second-output.d.ts.map //// [/home/src/workspaces/solution/2/second-output.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/2/second-output.tsbuildinfo.readable.baseline.txt] { @@ -291,10 +327,24 @@ declare class C { "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../second/second_part1.ts", + "not cached or not changed" + ], + [ + "../second/second_part2.ts", + "not cached or not changed" + ] + ], "outSignature": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", "latestChangedDtsFile": "./second-output.d.ts", "version": "FakeTSVersion", - "size": 1177 + "size": 1214 } //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.js.map] @@ -313,7 +363,7 @@ declare var c: C; //# sourceMappingURL=third-output.d.ts.map //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo] -{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","7305100057-var c = new C();\nc.doSomething();\n"],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","7305100057-var c = new C();\nc.doSomething();\n"],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4],"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] { @@ -346,14 +396,32 @@ declare var c: C; "strict": false, "target": 1 }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../../../first/bin/first-output.d.ts", + "not cached or not changed" + ], + [ + "../../../2/second-output.d.ts", + "not cached or not changed" + ], + [ + "../../third_part1.ts", + "not cached or not changed" + ] + ], "outSignature": "1894672131-declare var c: C;\n", "latestChangedDtsFile": "./third-output.d.ts", "version": "FakeTSVersion", - "size": 1226 + "size": 1265 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: upstream project changes without changing file text @@ -367,19 +435,37 @@ Output:: * second/tsconfig.json * third/tsconfig.json -[HH:MM:SS AM] Project 'first/tsconfig.json' is up to date but needs to update timestamps of output files that are older than input files +[HH:MM:SS AM] Project 'first/tsconfig.json' is out of date because buildinfo file 'first/bin/first-output.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/home/src/workspaces/solution/first/tsconfig.json'... + +first/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +9 "outFile": "./bin/first-output.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Project 'second/tsconfig.json' is out of date because buildinfo file '2/second-output.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/home/src/workspaces/solution/second/tsconfig.json'... + +second/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +10 "outFile": "../2/second-output.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Project 'third/tsconfig.json' is out of date because buildinfo file 'third/thirdjs/output/third-output.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/home/src/workspaces/solution/third/tsconfig.json'... -[HH:MM:SS AM] Updating output timestamps of project '/home/src/workspaces/solution/first/tsconfig.json'... +third/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -[HH:MM:SS AM] Project 'second/tsconfig.json' is up to date because newest input 'second/second_part2.ts' is older than output '2/second-output.tsbuildinfo' +10 "outFile": "./thirdjs/output/third-output.js", +   ~~~~~~~~~ -[HH:MM:SS AM] Project 'third/tsconfig.json' is up to date with .d.ts files from its dependencies -[HH:MM:SS AM] Updating output timestamps of project '/home/src/workspaces/solution/third/tsconfig.json'... +Found 3 errors. -//// [/home/src/workspaces/solution/first/bin/first-output.tsbuildinfo] file changed its modified time -//// [/home/src/workspaces/solution/third/thirdjs/output/third-output.tsbuildinfo] file changed its modified time -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuildWatch/configFileErrors/outFile/reports-syntax-errors-in-config-file.js b/tests/baselines/reference/tsbuildWatch/configFileErrors/outFile/reports-syntax-errors-in-config-file.js index b619dce91dc8f..f1c5eefb8d828 100644 --- a/tests/baselines/reference/tsbuildWatch/configFileErrors/outFile/reports-syntax-errors-in-config-file.js +++ b/tests/baselines/reference/tsbuildWatch/configFileErrors/outFile/reports-syntax-errors-in-config-file.js @@ -40,6 +40,11 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... +tsconfig.json:4:3 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:13 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd" @@ -50,7 +55,7 @@ Output:: 10 "b.ts"    ~~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 3 errors. Watching for file changes. @@ -192,6 +197,11 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:5:3 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:13 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -202,7 +212,7 @@ Output:: 11 "b.ts"    ~~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 3 errors. Watching for file changes. @@ -252,6 +262,11 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:5:3 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:13 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -262,7 +277,7 @@ Output:: 11 "b.ts"    ~~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 3 errors. Watching for file changes. @@ -385,6 +400,11 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:5:3 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:13 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd" @@ -395,7 +415,7 @@ Output:: 11 "b.ts"    ~~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 3 errors. Watching for file changes. @@ -456,12 +476,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js index 78bd1cd226772..04e83e413f79b 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js @@ -42,12 +42,17 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/myproject/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../out.js" +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/user/username/projects/out.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./myproject/a.js","./myproject/b.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","5381-","5381-"],"root":[2,3],"options":{"allowJs":true,"outFile":"./out.js"},"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./myproject/a.js","./myproject/b.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","5381-","5381-"],"root":[2,3],"options":{"allowJs":true,"outFile":"./out.js"},"changeFileSet":[1,2,3],"version":"FakeTSVersion"} //// [/user/username/projects/out.tsbuildinfo.readable.baseline.txt] { @@ -75,12 +80,13 @@ Output:: "allowJs": true, "outFile": "./out.js" }, - "pendingEmit": [ - "Js", - false + "changeFileSet": [ + "../../../home/src/tslibs/ts/lib/lib.d.ts", + "./myproject/a.js", + "./myproject/b.ts" ], "version": "FakeTSVersion", - "size": 634 + "size": 638 } @@ -115,10 +121,7 @@ Program files:: /user/username/projects/myproject/a.js /user/username/projects/myproject/b.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/user/username/projects/myproject/a.js -/user/username/projects/myproject/b.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -141,13 +144,43 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'tsconfig.json' is up to date but needs to update timestamps of output files that are older than input files +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../out.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/user/username/projects/myproject/tsconfig.json'... + +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +5 "outFile": "../out.js" +   ~~~~~~~~~ +[HH:MM:SS AM] Found 1 error. Watching for file changes. + + + +Program root files: [ + "/user/username/projects/myproject/a.js", + "/user/username/projects/myproject/b.ts" +] +Program options: { + "allowJs": true, + "noEmit": true, + "outFile": "/user/username/projects/out.js", + "watch": true, + "incremental": true, + "tscBuild": true, + "configFilePath": "/user/username/projects/myproject/tsconfig.json" +} +Program structureReused: Not +Program files:: +/home/src/tslibs/TS/Lib/lib.d.ts +/user/username/projects/myproject/a.js +/user/username/projects/myproject/b.ts + +No cached semantic diagnostics in the builder:: +No shapes updated in the builder:: exitCode:: ExitStatus.undefined @@ -170,16 +203,21 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../out.tsbuildinfo' is older than input 'a.js' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../out.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/user/username/projects/myproject/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../out.js" +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/user/username/projects/out.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./myproject/a.js","./myproject/b.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","5029505981-const x = 10;","5381-"],"root":[2,3],"options":{"allowJs":true,"outFile":"./out.js"},"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./myproject/a.js","./myproject/b.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","5029505981-const x = 10;","5381-"],"root":[2,3],"options":{"allowJs":true,"outFile":"./out.js"},"changeFileSet":[1,2,3],"version":"FakeTSVersion"} //// [/user/username/projects/out.tsbuildinfo.readable.baseline.txt] { @@ -207,12 +245,13 @@ Output:: "allowJs": true, "outFile": "./out.js" }, - "pendingEmit": [ - "Js", - false + "changeFileSet": [ + "../../../home/src/tslibs/ts/lib/lib.d.ts", + "./myproject/a.js", + "./myproject/b.ts" ], "version": "FakeTSVersion", - "size": 653 + "size": 657 } @@ -236,10 +275,7 @@ Program files:: /user/username/projects/myproject/a.js /user/username/projects/myproject/b.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/user/username/projects/myproject/a.js -/user/username/projects/myproject/b.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js index 959cb778844ba..90311c88e3750 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js @@ -42,12 +42,17 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/myproject/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../out.js" +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/user/username/projects/out.tsbuildinfo] -{"root":["./myproject/a.js","./myproject/b.ts"],"version":"FakeTSVersion"} +{"root":["./myproject/a.js","./myproject/b.ts"],"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/out.tsbuildinfo.readable.baseline.txt] { @@ -55,8 +60,9 @@ Output:: "./myproject/a.js", "./myproject/b.ts" ], + "errors": true, "version": "FakeTSVersion", - "size": 74 + "size": 88 } @@ -90,10 +96,7 @@ Program files:: /user/username/projects/myproject/a.js /user/username/projects/myproject/b.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/user/username/projects/myproject/a.js -/user/username/projects/myproject/b.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -116,11 +119,16 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../out.tsbuildinfo' is older than input 'a.js' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../out.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/user/username/projects/myproject/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../out.js" +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -144,7 +152,7 @@ Program files:: /user/username/projects/myproject/a.js /user/username/projects/myproject/b.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -169,11 +177,16 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../out.tsbuildinfo' is older than input 'a.js' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../out.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/user/username/projects/myproject/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../out.js" +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -199,10 +212,7 @@ Program files:: /user/username/projects/myproject/a.js /user/username/projects/myproject/b.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/user/username/projects/myproject/a.js -/user/username/projects/myproject/b.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-with-incremental-as-modules.js b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-with-incremental-as-modules.js index bf543dca91868..bb41749b27833 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-with-incremental-as-modules.js @@ -44,12 +44,17 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -154,12 +159,17 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -260,12 +270,17 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -399,12 +414,17 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -459,12 +479,17 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -573,12 +598,17 @@ Output::    ~ Add a type annotation to the variable a. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 3 errors. Watching for file changes. @@ -731,12 +761,17 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-with-incremental.js index 213a90080ba05..e9f064f8835a9 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-with-incremental.js @@ -40,22 +40,17 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS4094: Property 'p' of exported anonymous class type may not be private or protected. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a = class { private p = 10; }; -   ~ - - a.ts:1:7 - 1 const a = class { private p = 10; }; -    ~ - Add a type annotation to the variable a. +3 "outFile": "../outFile.js", +   ~~~~~~~~~ [HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"pendingEmit":17,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -77,35 +72,12 @@ Output:: "declaration": true, "outFile": "./outFile.js" }, - "emitDiagnosticsPerFile": [ - [ - "./project/a.ts", - [ - { - "start": 6, - "length": 1, - "messageText": "Property 'p' of exported anonymous class type may not be private or protected.", - "category": 1, - "code": 4094, - "relatedInformation": [ - { - "start": 6, - "length": 1, - "messageText": "Add a type annotation to the variable a.", - "category": 1, - "code": 9027 - } - ] - } - ] - ] - ], - "pendingEmit": [ - "Js | DtsEmit", - 17 + "changeFileSet": [ + "./project/a.ts", + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 939 + "size": 640 } @@ -136,9 +108,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -167,12 +137,17 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"pendingEmit":17,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -194,12 +169,12 @@ Output:: "declaration": true, "outFile": "./outFile.js" }, - "pendingEmit": [ - "Js | DtsEmit", - 17 + "changeFileSet": [ + "./project/a.ts", + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 619 + "size": 624 } @@ -221,9 +196,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -254,16 +227,21 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that some of the changes were not emitted +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -285,8 +263,18 @@ Output:: "declaration": true, "outFile": "./outFile.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./project/a.ts", + "not cached or not changed" + ] + ], "version": "FakeTSVersion", - "size": 602 + "size": 637 } //// [/home/src/projects/outFile.js] @@ -315,7 +303,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -347,11 +335,16 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../outFile.tsbuildinfo' is older than input 'tsconfig.json' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -374,7 +367,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -399,26 +392,21 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../outFile.tsbuildinfo' is older than input 'a.ts' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS4094: Property 'p' of exported anonymous class type may not be private or protected. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a = class { private p = 10; }; -   ~ - - a.ts:1:7 - 1 const a = class { private p = 10; }; -    ~ - Add a type annotation to the variable a. +3 "outFile": "../outFile.js", +   ~~~~~~~~~ [HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"pendingEmit":17,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -440,35 +428,11 @@ Output:: "declaration": true, "outFile": "./outFile.js" }, - "emitDiagnosticsPerFile": [ - [ - "./project/a.ts", - [ - { - "start": 6, - "length": 1, - "messageText": "Property 'p' of exported anonymous class type may not be private or protected.", - "category": 1, - "code": 4094, - "relatedInformation": [ - { - "start": 6, - "length": 1, - "messageText": "Add a type annotation to the variable a.", - "category": 1, - "code": 9027 - } - ] - } - ] - ] - ], - "pendingEmit": [ - "Js | DtsEmit", - 17 + "changeFileSet": [ + "./project/a.ts" ], "version": "FakeTSVersion", - "size": 939 + "size": 638 } @@ -490,9 +454,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -537,12 +499,17 @@ Output::    ~ Add a type annotation to the variable a. -[HH:MM:SS AM] Found 1 error. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 2 errors. Watching for file changes. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -564,6 +531,16 @@ Output:: "declaration": true, "outFile": "./outFile.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./project/a.ts", + "not cached or not changed" + ] + ], "emitDiagnosticsPerFile": [ [ "./project/a.ts", @@ -588,7 +565,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 922 + "size": 957 } //// [/home/src/projects/outFile.js] @@ -618,7 +595,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -654,15 +631,10 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS4094: Property 'p' of exported anonymous class type may not be private or protected. - -1 const a = class { private p = 10; }; -   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. - a.ts:1:7 - 1 const a = class { private p = 10; }; -    ~ - Add a type annotation to the variable a. +3 "outFile": "../outFile.js", +   ~~~~~~~~~ [HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -687,7 +659,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js index 1e1d7f21d4db6..4036280adaba3 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js @@ -43,12 +43,17 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -151,12 +156,17 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -254,12 +264,17 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -381,12 +396,17 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -440,12 +460,17 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -541,12 +566,17 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -673,12 +703,17 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental.js index fe8e947946bca..7fb7c72bd2cfc 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental.js @@ -39,12 +39,17 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -65,12 +70,12 @@ Output:: "options": { "outFile": "./outFile.js" }, - "pendingEmit": [ - "Js", - false + "changeFileSet": [ + "./project/a.ts", + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 619 + "size": 621 } @@ -100,9 +105,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -127,16 +130,21 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../outFile.tsbuildinfo' is older than input 'a.ts' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -157,12 +165,12 @@ Output:: "options": { "outFile": "./outFile.js" }, - "pendingEmit": [ - "Js", - false + "changeFileSet": [ + "./project/a.ts", + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 603 + "size": 605 } @@ -183,9 +191,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -215,16 +221,21 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that some of the changes were not emitted +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -245,8 +256,18 @@ Output:: "options": { "outFile": "./outFile.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./project/a.ts", + "not cached or not changed" + ] + ], "version": "FakeTSVersion", - "size": 583 + "size": 618 } //// [/home/src/projects/outFile.js] @@ -270,7 +291,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -301,11 +322,16 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../outFile.tsbuildinfo' is older than input 'tsconfig.json' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -327,7 +353,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -352,16 +378,21 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../outFile.tsbuildinfo' is older than input 'a.ts' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -382,9 +413,8 @@ Output:: "options": { "outFile": "./outFile.js" }, - "pendingEmit": [ - "Js", - false + "changeFileSet": [ + "./project/a.ts" ], "version": "FakeTSVersion", "size": 619 @@ -408,9 +438,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -440,16 +468,21 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that some of the changes were not emitted +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -470,8 +503,18 @@ Output:: "options": { "outFile": "./outFile.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./project/a.ts", + "not cached or not changed" + ] + ], "version": "FakeTSVersion", - "size": 599 + "size": 634 } //// [/home/src/projects/outFile.js] @@ -500,7 +543,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -531,11 +574,16 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../outFile.tsbuildinfo' is older than input 'tsconfig.json' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -557,7 +605,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-without-dts-enabled.js b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-without-dts-enabled.js index c6cdbd91fb645..ac2c86429352a 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-without-dts-enabled.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-without-dts-enabled.js @@ -38,20 +38,26 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/home/src/projects/outFile.tsbuildinfo] -{"root":["./project/a.ts"],"version":"FakeTSVersion"} +{"root":["./project/a.ts"],"errors":true,"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "root": [ "./project/a.ts" ], + "errors": true, "version": "FakeTSVersion", - "size": 53 + "size": 67 } @@ -80,9 +86,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -107,11 +111,16 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../outFile.tsbuildinfo' is older than input 'a.ts' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -134,9 +143,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -165,11 +172,16 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output file '../outFile.js' does not exist +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -195,7 +207,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -225,11 +237,16 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../outFile.tsbuildinfo' is older than input 'tsconfig.json' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -250,7 +267,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -275,11 +292,16 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../outFile.tsbuildinfo' is older than input 'a.ts' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -302,9 +324,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -333,11 +353,16 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../outFile.js' is older than input 'a.ts' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -368,7 +393,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -398,11 +423,16 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../outFile.tsbuildinfo' is older than input 'tsconfig.json' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -423,7 +453,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors.js b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors.js index 53863fb96bde4..0059841fd9d41 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors.js @@ -39,15 +39,10 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS4094: Property 'p' of exported anonymous class type may not be private or protected. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a = class { private p = 10; }; -   ~ - - a.ts:1:7 - 1 const a = class { private p = 10; }; -    ~ - Add a type annotation to the variable a. +3 "outFile": "../outFile.js", +   ~~~~~~~~~ [HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -93,9 +88,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -124,22 +117,17 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. -//// [/home/src/projects/outFile.tsbuildinfo] -{"root":["./project/a.ts"],"version":"FakeTSVersion"} - -//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] -{ - "root": [ - "./project/a.ts" - ], - "version": "FakeTSVersion", - "size": 53 -} - +//// [/home/src/projects/outFile.tsbuildinfo] file written with same contents +//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents Program root files: [ @@ -158,9 +146,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -190,11 +176,16 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output file '../outFile.js' does not exist +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -225,7 +216,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -256,11 +247,16 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../outFile.tsbuildinfo' is older than input 'tsconfig.json' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -282,7 +278,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -307,37 +303,21 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../outFile.tsbuildinfo' is older than input 'a.ts' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS4094: Property 'p' of exported anonymous class type may not be private or protected. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a = class { private p = 10; }; -   ~ - - a.ts:1:7 - 1 const a = class { private p = 10; }; -    ~ - Add a type annotation to the variable a. +3 "outFile": "../outFile.js", +   ~~~~~~~~~ [HH:MM:SS AM] Found 1 error. Watching for file changes. -//// [/home/src/projects/outFile.tsbuildinfo] -{"root":["./project/a.ts"],"errors":true,"version":"FakeTSVersion"} - -//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] -{ - "root": [ - "./project/a.ts" - ], - "errors": true, - "version": "FakeTSVersion", - "size": 67 -} - +//// [/home/src/projects/outFile.tsbuildinfo] file written with same contents +//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents Program root files: [ @@ -356,9 +336,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -402,9 +380,14 @@ Output::    ~ Add a type annotation to the variable a. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + [HH:MM:SS AM] Updating unchanged output timestamps of project '/home/src/projects/project/tsconfig.json'... -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -437,7 +420,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -472,15 +455,10 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS4094: Property 'p' of exported anonymous class type may not be private or protected. - -1 const a = class { private p = 10; }; -   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. - a.ts:1:7 - 1 const a = class { private p = 10; }; -    ~ - Add a type annotation to the variable a. +3 "outFile": "../outFile.js", +   ~~~~~~~~~ [HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -504,7 +482,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/semantic-errors-with-incremental-as-modules.js b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/semantic-errors-with-incremental-as-modules.js index cf431ef204fb3..eff098df4a817 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/semantic-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/semantic-errors-with-incremental-as-modules.js @@ -43,12 +43,17 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -151,12 +156,17 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -254,12 +264,17 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -381,12 +396,17 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -440,12 +460,17 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -541,12 +566,17 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -654,12 +684,17 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/semantic-errors-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/semantic-errors-with-incremental.js index 8137c90c59915..50dd988ff4862 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/semantic-errors-with-incremental.js @@ -39,17 +39,17 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js", +   ~~~~~~~~~ [HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -70,26 +70,12 @@ Output:: "options": { "outFile": "./outFile.js" }, - "semanticDiagnosticsPerFile": [ - [ - "./project/a.ts", - [ - { - "start": 6, - "length": 1, - "code": 2322, - "category": 1, - "messageText": "Type 'string' is not assignable to type 'number'." - } - ] - ] - ], - "pendingEmit": [ - "Js", - false + "changeFileSet": [ + "./project/a.ts", + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 761 + "size": 612 } @@ -119,9 +105,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -150,12 +134,17 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -176,12 +165,12 @@ Output:: "options": { "outFile": "./outFile.js" }, - "pendingEmit": [ - "Js", - false + "changeFileSet": [ + "./project/a.ts", + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 603 + "size": 605 } @@ -202,9 +191,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -234,16 +221,21 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that some of the changes were not emitted +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -264,8 +256,18 @@ Output:: "options": { "outFile": "./outFile.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./project/a.ts", + "not cached or not changed" + ] + ], "version": "FakeTSVersion", - "size": 583 + "size": 618 } //// [/home/src/projects/outFile.js] @@ -289,7 +291,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -320,11 +322,16 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../outFile.tsbuildinfo' is older than input 'tsconfig.json' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -346,7 +353,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -371,21 +378,21 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../outFile.tsbuildinfo' is older than input 'a.ts' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js", +   ~~~~~~~~~ [HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -406,26 +413,11 @@ Output:: "options": { "outFile": "./outFile.js" }, - "semanticDiagnosticsPerFile": [ - [ - "./project/a.ts", - [ - { - "start": 6, - "length": 1, - "code": 2322, - "category": 1, - "messageText": "Type 'string' is not assignable to type 'number'." - } - ] - ] - ], - "pendingEmit": [ - "Js", - false + "changeFileSet": [ + "./project/a.ts" ], "version": "FakeTSVersion", - "size": 761 + "size": 610 } @@ -446,9 +438,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -482,17 +472,17 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js", +   ~~~~~~~~~ [HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -514,21 +504,17 @@ Output:: "outFile": "./outFile.js" }, "semanticDiagnosticsPerFile": [ + [ + "../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], [ "./project/a.ts", - [ - { - "start": 6, - "length": 1, - "code": 2322, - "category": 1, - "messageText": "Type 'string' is not assignable to type 'number'." - } - ] + "not cached or not changed" ] ], "version": "FakeTSVersion", - "size": 741 + "size": 625 } //// [/home/src/projects/outFile.js] file written with same contents @@ -549,7 +535,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -584,10 +570,10 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js", +   ~~~~~~~~~ [HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -611,7 +597,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/semantic-errors.js b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/semantic-errors.js index d24fa1a85c4a9..b3fba3fddb143 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/semantic-errors.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/semantic-errors.js @@ -38,10 +38,10 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js", +   ~~~~~~~~~ [HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -86,9 +86,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -117,22 +115,17 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. -//// [/home/src/projects/outFile.tsbuildinfo] -{"root":["./project/a.ts"],"version":"FakeTSVersion"} - -//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] -{ - "root": [ - "./project/a.ts" - ], - "version": "FakeTSVersion", - "size": 53 -} - +//// [/home/src/projects/outFile.tsbuildinfo] file written with same contents +//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents Program root files: [ @@ -150,9 +143,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -181,11 +172,16 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output file '../outFile.js' does not exist +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -211,7 +207,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -241,11 +237,16 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../outFile.tsbuildinfo' is older than input 'tsconfig.json' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -266,7 +267,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -291,32 +292,21 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../outFile.tsbuildinfo' is older than input 'a.ts' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js", +   ~~~~~~~~~ [HH:MM:SS AM] Found 1 error. Watching for file changes. -//// [/home/src/projects/outFile.tsbuildinfo] -{"root":["./project/a.ts"],"errors":true,"version":"FakeTSVersion"} - -//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] -{ - "root": [ - "./project/a.ts" - ], - "errors": true, - "version": "FakeTSVersion", - "size": 67 -} - +//// [/home/src/projects/outFile.tsbuildinfo] file written with same contents +//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents Program root files: [ @@ -334,9 +324,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -369,10 +357,10 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js" +   ~~~~~~~~~ [HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -397,7 +385,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -431,10 +419,10 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js", +   ~~~~~~~~~ [HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -457,7 +445,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/syntax-errors-with-incremental-as-modules.js b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/syntax-errors-with-incremental-as-modules.js index 0116597087301..76425e70cead2 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/syntax-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/syntax-errors-with-incremental-as-modules.js @@ -151,12 +151,17 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -254,12 +259,17 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -381,12 +391,17 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/syntax-errors-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/syntax-errors-with-incremental.js index ed95ef242a99f..1da1f7f877411 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/syntax-errors-with-incremental.js @@ -134,12 +134,17 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -160,12 +165,12 @@ Output:: "options": { "outFile": "./outFile.js" }, - "pendingEmit": [ - "Js", - false + "changeFileSet": [ + "./project/a.ts", + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 603 + "size": 605 } @@ -186,9 +191,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -218,16 +221,21 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that some of the changes were not emitted +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -248,8 +256,18 @@ Output:: "options": { "outFile": "./outFile.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./project/a.ts", + "not cached or not changed" + ] + ], "version": "FakeTSVersion", - "size": 583 + "size": 618 } //// [/home/src/projects/outFile.js] @@ -273,7 +291,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -304,11 +322,16 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../outFile.tsbuildinfo' is older than input 'tsconfig.json' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -330,7 +353,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -355,7 +378,7 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../outFile.tsbuildinfo' is older than input 'a.ts' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/syntax-errors.js b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/syntax-errors.js index e116c4f6d1d9f..008cd87df2e58 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/syntax-errors.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/syntax-errors.js @@ -115,22 +115,17 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. -//// [/home/src/projects/outFile.tsbuildinfo] -{"root":["./project/a.ts"],"version":"FakeTSVersion"} - -//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] -{ - "root": [ - "./project/a.ts" - ], - "version": "FakeTSVersion", - "size": 53 -} - +//// [/home/src/projects/outFile.tsbuildinfo] file written with same contents +//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents Program root files: [ @@ -148,9 +143,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -179,11 +172,16 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output file '../outFile.js' does not exist +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -209,7 +207,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -239,11 +237,16 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../outFile.tsbuildinfo' is older than input 'tsconfig.json' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -264,7 +267,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -289,7 +292,7 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output '../outFile.tsbuildinfo' is older than input 'a.ts' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/projects/project/tsconfig.json'... @@ -302,19 +305,8 @@ Output:: -//// [/home/src/projects/outFile.tsbuildinfo] -{"root":["./project/a.ts"],"errors":true,"version":"FakeTSVersion"} - -//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] -{ - "root": [ - "./project/a.ts" - ], - "errors": true, - "version": "FakeTSVersion", - "size": 67 -} - +//// [/home/src/projects/outFile.tsbuildinfo] file written with same contents +//// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents Program root files: [ diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError-with-declaration-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError-with-declaration-with-incremental.js index c97ebe2a69001..4f360cee97449 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError-with-declaration-with-incremental.js @@ -61,12 +61,17 @@ Output:: 4 ;   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 3 errors. Watching for file changes. @@ -188,12 +193,17 @@ Output:: 4 ;   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 3 errors. Watching for file changes. @@ -253,12 +263,17 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -362,12 +377,17 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -430,12 +450,17 @@ Output:: 2 const a: string = 10;    ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 3 errors. Watching for file changes. @@ -557,12 +582,17 @@ Output:: 2 const a: string = 10;    ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 3 errors. Watching for file changes. @@ -620,12 +650,17 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -729,12 +764,17 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -793,12 +833,17 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -902,12 +947,17 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -966,12 +1016,17 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -1075,12 +1130,17 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError-with-declaration.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError-with-declaration.js index 0b2fa97983ea0..d90d1bebdd4d5 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError-with-declaration.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError-with-declaration.js @@ -60,12 +60,17 @@ Output:: 4 ;   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 3 errors. Watching for file changes. @@ -156,12 +161,17 @@ Output:: 4 ;   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 3 errors. Watching for file changes. @@ -220,12 +230,17 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -285,12 +300,17 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -352,12 +372,17 @@ Output:: 2 const a: string = 10;    ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 3 errors. Watching for file changes. @@ -422,12 +447,17 @@ Output:: 2 const a: string = 10;    ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 3 errors. Watching for file changes. @@ -484,12 +514,17 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -549,12 +584,17 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -612,12 +652,17 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -677,12 +722,17 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -740,12 +790,17 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -805,12 +860,17 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError-with-incremental.js index d8b66df7dd8de..9d90adca29d41 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError-with-incremental.js @@ -60,12 +60,17 @@ Output:: 4 ;   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 3 errors. Watching for file changes. @@ -185,12 +190,17 @@ Output:: 4 ;   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 3 errors. Watching for file changes. @@ -249,12 +259,17 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -356,12 +371,17 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -423,12 +443,17 @@ Output:: 2 const a: string = 10;    ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 3 errors. Watching for file changes. @@ -548,12 +573,17 @@ Output:: 2 const a: string = 10;    ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 3 errors. Watching for file changes. @@ -610,12 +640,17 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -717,12 +752,17 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -780,12 +820,17 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -887,12 +932,17 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -950,12 +1000,17 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -1057,12 +1112,17 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError.js index f9a370379ea4a..217af9c06486c 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError.js @@ -59,12 +59,17 @@ Output:: 4 ;   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 3 errors. Watching for file changes. @@ -154,12 +159,17 @@ Output:: 4 ;   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 3 errors. Watching for file changes. @@ -217,12 +227,17 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -281,12 +296,17 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -347,12 +367,17 @@ Output:: 2 const a: string = 10;    ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 3 errors. Watching for file changes. @@ -416,12 +441,17 @@ Output:: 2 const a: string = 10;    ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 3 errors. Watching for file changes. @@ -477,12 +507,17 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -541,12 +576,17 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -603,12 +643,17 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -667,12 +712,17 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -729,12 +779,17 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -793,12 +848,17 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. 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 7ac19420e040c..f06a250a0ebcf 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 @@ -49,7 +49,17 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +sample1/core/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "index.js" +   ~~~~~~~~~ + +sample1/logic/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "index.js" +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -62,7 +72,7 @@ declare function foo(): number; //// [/user/username/workspaces/solution/sample1/core/index.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","5450201652-function foo() { return 10; }"],"root":[2],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"outSignature":"517738360-declare function foo(): number;\n","latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","5450201652-function foo() { return 10; }"],"root":[2],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"semanticDiagnosticsPerFile":[1,2],"outSignature":"517738360-declare function foo(): number;\n","latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/workspaces/solution/sample1/core/index.tsbuildinfo.readable.baseline.txt] { @@ -85,10 +95,20 @@ declare function foo(): number; "declaration": true, "outFile": "./index.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./index.ts", + "not cached or not changed" + ] + ], "outSignature": "517738360-declare function foo(): number;\n", "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 745 + "size": 780 } //// [/user/username/workspaces/solution/sample1/logic/index.js] @@ -101,7 +121,7 @@ declare function bar(): number; //// [/user/username/workspaces/solution/sample1/logic/index.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","./index.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","517738360-declare function foo(): number;\n","5542925109-function bar() { return foo() + 1 };"],"root":[3],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"outSignature":"1113083433-declare function bar(): number;\n","latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","./index.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","517738360-declare function foo(): number;\n","5542925109-function bar() { return foo() + 1 };"],"root":[3],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"1113083433-declare function bar(): number;\n","latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/workspaces/solution/sample1/logic/index.tsbuildinfo.readable.baseline.txt] { @@ -126,10 +146,24 @@ declare function bar(): number; "declaration": true, "outFile": "./index.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../core/index.d.ts", + "not cached or not changed" + ], + [ + "./index.ts", + "not cached or not changed" + ] + ], "outSignature": "1113083433-declare function bar(): number;\n", "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 820 + "size": 857 } @@ -165,9 +199,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspaces/solution/sample1/core/index.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/user/username/workspaces/solution/sample1/core/index.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -188,10 +220,7 @@ Program files:: /user/username/workspaces/solution/sample1/core/index.d.ts /user/username/workspaces/solution/sample1/logic/index.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/user/username/workspaces/solution/sample1/core/index.d.ts -/user/username/workspaces/solution/sample1/logic/index.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -217,6 +246,11 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +sample1/core/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "index.js" +   ~~~~~~~~~ + //// [/user/username/workspaces/solution/sample1/core/index.js] @@ -230,7 +264,7 @@ declare function myFunc(): number; //// [/user/username/workspaces/solution/sample1/core/index.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-3957203077-function foo() { return 10; }\nfunction myFunc() { return 10; }"],"root":[2],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"outSignature":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-3957203077-function foo() { return 10; }\nfunction myFunc() { return 10; }"],"root":[2],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"semanticDiagnosticsPerFile":[1,2],"outSignature":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/workspaces/solution/sample1/core/index.tsbuildinfo.readable.baseline.txt] { @@ -253,10 +287,20 @@ declare function myFunc(): number; "declaration": true, "outFile": "./index.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./index.ts", + "not cached or not changed" + ] + ], "outSignature": "2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n", "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 817 + "size": 852 } @@ -280,9 +324,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspaces/solution/sample1/core/index.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/user/username/workspaces/solution/sample1/core/index.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -298,13 +340,18 @@ Before running Timeout callback:: count: 1 Host is moving to new time After running Timeout callback:: count: 0 Output:: -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +sample1/logic/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "index.js" +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 2 errors. Watching for file changes. //// [/user/username/workspaces/solution/sample1/logic/index.js] file written with same contents //// [/user/username/workspaces/solution/sample1/logic/index.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","./index.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","5542925109-function bar() { return foo() + 1 };"],"root":[3],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"outSignature":"1113083433-declare function bar(): number;\n","latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","./index.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","5542925109-function bar() { return foo() + 1 };"],"root":[3],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"1113083433-declare function bar(): number;\n","latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/workspaces/solution/sample1/logic/index.tsbuildinfo.readable.baseline.txt] { @@ -329,10 +376,24 @@ Output:: "declaration": true, "outFile": "./index.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../core/index.d.ts", + "not cached or not changed" + ], + [ + "./index.ts", + "not cached or not changed" + ] + ], "outSignature": "1113083433-declare function bar(): number;\n", "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 857 + "size": 894 } @@ -354,10 +415,7 @@ Program files:: /user/username/workspaces/solution/sample1/core/index.d.ts /user/username/workspaces/solution/sample1/logic/index.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/user/username/workspaces/solution/sample1/core/index.d.ts -/user/username/workspaces/solution/sample1/logic/index.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -378,12 +436,15 @@ Before running Timeout callback:: count: 1 3: timerToBuildInvalidatedProject Host is moving to new time -After running Timeout callback:: count: 0 +After running Timeout callback:: count: 1 Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +sample1/core/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "index.js" +   ~~~~~~~~~ @@ -393,7 +454,7 @@ function myFunc() { return 100; } //// [/user/username/workspaces/solution/sample1/core/index.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6034018805-function foo() { return 10; }\nfunction myFunc() { return 100; }"],"root":[2],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"outSignature":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6034018805-function foo() { return 10; }\nfunction myFunc() { return 100; }"],"root":[2],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"semanticDiagnosticsPerFile":[1,2],"outSignature":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/workspaces/solution/sample1/core/index.tsbuildinfo.readable.baseline.txt] { @@ -416,13 +477,25 @@ function myFunc() { return 100; } "declaration": true, "outFile": "./index.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./index.ts", + "not cached or not changed" + ] + ], "outSignature": "2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n", "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 818 + "size": 853 } -//// [/user/username/workspaces/solution/sample1/logic/index.tsbuildinfo] file changed its modified time + +Timeout callback:: count: 1 +4: timerToBuildInvalidatedProject *new* Program root files: [ @@ -441,9 +514,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspaces/solution/sample1/core/index.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/user/username/workspaces/solution/sample1/core/index.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -453,9 +524,43 @@ Change:: Build logic Input:: -Before running Timeout callback:: count: 0 +Before running Timeout callback:: count: 1 +4: timerToBuildInvalidatedProject +Host is moving to new time After running Timeout callback:: count: 0 +Output:: +sample1/logic/tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "index.js" +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 2 errors. Watching for file changes. + + + +//// [/user/username/workspaces/solution/sample1/logic/index.tsbuildinfo] file changed its modified time + +Program root files: [ + "/user/username/workspaces/solution/sample1/logic/index.ts" +] +Program options: { + "composite": true, + "declaration": true, + "outFile": "/user/username/workspaces/solution/sample1/logic/index.js", + "watch": true, + "tscBuild": true, + "configFilePath": "/user/username/workspaces/solution/sample1/logic/tsconfig.json" +} +Program structureReused: Not +Program files:: +/home/src/tslibs/TS/Lib/lib.d.ts +/user/username/workspaces/solution/sample1/core/index.d.ts +/user/username/workspaces/solution/sample1/logic/index.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tsc/declarationEmit/outFile/reports-dts-generation-errors-with-incremental.js b/tests/baselines/reference/tsc/declarationEmit/outFile/reports-dts-generation-errors-with-incremental.js index bc60471054c50..61fa0184eb915 100644 --- a/tests/baselines/reference/tsc/declarationEmit/outFile/reports-dts-generation-errors-with-incremental.js +++ b/tests/baselines/reference/tsc/declarationEmit/outFile/reports-dts-generation-errors-with-incremental.js @@ -55,6 +55,11 @@ Output:: 3 "module": "amd",    ~~~~~ +tsconfig.json:8:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +8 "outFile": "./outFile.js" +   ~~~~~~~~~ + TSFILE: /home/src/workspaces/project/outFile.js TSFILE: /home/src/workspaces/project/outFile.tsbuildinfo ../../tslibs/TS/Lib/lib.d.ts @@ -64,11 +69,11 @@ ky.d.ts src/index.ts Matched by include pattern 'src' in 'tsconfig.json' -Found 2 errors in 2 files. +Found 3 errors in 2 files. Errors Files 1 src/index.ts:2 - 1 tsconfig.json:3 + 2 tsconfig.json:3 //// [/home/src/workspaces/project/outFile.js] @@ -163,6 +168,11 @@ Output:: 3 "module": "amd",    ~~~~~ +tsconfig.json:8:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +8 "outFile": "./outFile.js" +   ~~~~~~~~~ + ../../tslibs/TS/Lib/lib.d.ts Default library for target 'es5' ky.d.ts @@ -170,11 +180,11 @@ ky.d.ts src/index.ts Matched by include pattern 'src' in 'tsconfig.json' -Found 2 errors in 2 files. +Found 3 errors in 2 files. Errors Files 1 src/index.ts:2 - 1 tsconfig.json:3 + 2 tsconfig.json:3 @@ -203,6 +213,11 @@ Output:: 3 "module": "amd",    ~~~~~ +tsconfig.json:8:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +8 "outFile": "./outFile.js" +   ~~~~~~~~~ + ../../tslibs/TS/Lib/lib.d.ts Default library for target 'es5' ky.d.ts @@ -210,7 +225,7 @@ ky.d.ts src/index.ts Matched by include pattern 'src' in 'tsconfig.json' -Found 2 errors. +Found 3 errors. diff --git a/tests/baselines/reference/tsc/declarationEmit/outFile/reports-dts-generation-errors.js b/tests/baselines/reference/tsc/declarationEmit/outFile/reports-dts-generation-errors.js index c09c0c85bc8de..2aee03d0547de 100644 --- a/tests/baselines/reference/tsc/declarationEmit/outFile/reports-dts-generation-errors.js +++ b/tests/baselines/reference/tsc/declarationEmit/outFile/reports-dts-generation-errors.js @@ -54,6 +54,11 @@ Output:: 3 "module": "amd",    ~~~~~ +tsconfig.json:7:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +7 "outFile": "./outFile.js" +   ~~~~~~~~~ + TSFILE: /home/src/workspaces/project/outFile.js ../../tslibs/TS/Lib/lib.d.ts Default library for target 'es5' @@ -62,11 +67,11 @@ ky.d.ts src/index.ts Matched by include pattern 'src' in 'tsconfig.json' -Found 2 errors in 2 files. +Found 3 errors in 2 files. Errors Files 1 src/index.ts:2 - 1 tsconfig.json:3 + 2 tsconfig.json:3 //// [/home/src/workspaces/project/outFile.js] @@ -101,6 +106,11 @@ Output:: 3 "module": "amd",    ~~~~~ +tsconfig.json:7:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +7 "outFile": "./outFile.js" +   ~~~~~~~~~ + TSFILE: /home/src/workspaces/project/outFile.js ../../tslibs/TS/Lib/lib.d.ts Default library for target 'es5' @@ -109,11 +119,11 @@ ky.d.ts src/index.ts Matched by include pattern 'src' in 'tsconfig.json' -Found 2 errors in 2 files. +Found 3 errors in 2 files. Errors Files 1 src/index.ts:2 - 1 tsconfig.json:3 + 2 tsconfig.json:3 //// [/home/src/workspaces/project/outFile.js] file written with same contents @@ -143,6 +153,11 @@ Output:: 3 "module": "amd",    ~~~~~ +tsconfig.json:7:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +7 "outFile": "./outFile.js" +   ~~~~~~~~~ + TSFILE: /home/src/workspaces/project/outFile.js TSFILE: /home/src/workspaces/project/outFile.tsbuildinfo ../../tslibs/TS/Lib/lib.d.ts @@ -154,7 +169,7 @@ src/index.ts [HH:MM:SS AM] Updating unchanged output timestamps of project '/home/src/workspaces/project/tsconfig.json'... -Found 2 errors. +Found 3 errors. diff --git a/tests/baselines/reference/tsc/incremental/outFile/different-options-with-incremental.js b/tests/baselines/reference/tsc/incremental/outFile/different-options-with-incremental.js index c2498be43deb2..3760aa1194cc5 100644 --- a/tests/baselines/reference/tsc/incremental/outFile/different-options-with-incremental.js +++ b/tests/baselines/reference/tsc/incremental/outFile/different-options-with-incremental.js @@ -38,13 +38,18 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -173,13 +178,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --sourceMap Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -313,13 +323,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -448,13 +463,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --declaration Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -571,13 +591,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --declaration --declarationMap Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -699,13 +724,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -745,13 +775,18 @@ export const a = 10;const aLocal = 100; /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -880,13 +915,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --declaration --declarationMap Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -992,13 +1032,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -1035,13 +1080,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --inlineSourceMap Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -1172,13 +1222,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --sourceMap Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -1312,13 +1367,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -1447,13 +1507,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --declaration --declarationMap Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -1559,13 +1624,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --declaration --declarationMap Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 diff --git a/tests/baselines/reference/tsc/incremental/outFile/different-options.js b/tests/baselines/reference/tsc/incremental/outFile/different-options.js index f99fe7b6c4423..71295b12474f1 100644 --- a/tests/baselines/reference/tsc/incremental/outFile/different-options.js +++ b/tests/baselines/reference/tsc/incremental/outFile/different-options.js @@ -38,13 +38,18 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -191,13 +196,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --sourceMap Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -334,13 +344,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -472,13 +487,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --declaration Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -516,13 +536,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -559,13 +584,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --declaration --declarationMap Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -690,13 +720,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -814,13 +849,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --emitDeclarationOnly Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -858,13 +898,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -904,13 +949,18 @@ export const a = 10;const aLocal = 100; /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -1042,13 +1092,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --declaration Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -1086,13 +1141,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --inlineSourceMap Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -1226,13 +1286,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --sourceMap Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -1379,13 +1444,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -1535,13 +1605,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --sourceMap Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 diff --git a/tests/baselines/reference/tsc/noCheck/outFile/dts-errors-with-incremental.js b/tests/baselines/reference/tsc/noCheck/outFile/dts-errors-with-incremental.js index 9cf2e8be15a3a..cd2409a31e826 100644 --- a/tests/baselines/reference/tsc/noCheck/outFile/dts-errors-with-incremental.js +++ b/tests/baselines/reference/tsc/noCheck/outFile/dts-errors-with-incremental.js @@ -48,12 +48,17 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 2 errors in 2 files. +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 3 errors in 2 files. Errors Files 1 a.ts:1 - 1 tsconfig.json:5 + 2 tsconfig.json:5 //// [/home/src/workspaces/outFile.js] @@ -194,12 +199,17 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 2 errors in 2 files. + +Found 3 errors in 2 files. Errors Files 1 a.ts:1 - 1 tsconfig.json:5 + 2 tsconfig.json:5 @@ -241,8 +251,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:5 + +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -355,8 +370,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:5 + +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -396,8 +416,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:5 + +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -484,8 +509,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -524,8 +554,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -627,12 +662,17 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 2 errors in 2 files. +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 3 errors in 2 files. Errors Files 1 a.ts:1 - 1 tsconfig.json:5 + 2 tsconfig.json:5 //// [/home/src/workspaces/outFile.js] @@ -773,12 +813,17 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 2 errors in 2 files. +Found 3 errors in 2 files. Errors Files 1 a.ts:1 - 1 tsconfig.json:5 + 2 tsconfig.json:5 @@ -827,12 +872,17 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 2 errors in 2 files. +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 3 errors in 2 files. Errors Files 1 a.ts:1 - 1 tsconfig.json:5 + 2 tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] @@ -944,8 +994,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:5 + +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -1050,8 +1105,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:5 + +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -1141,8 +1201,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:5 + +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -1286,12 +1351,17 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 2 errors in 2 files. + +Found 3 errors in 2 files. Errors Files 1 a.ts:1 - 1 tsconfig.json:5 + 2 tsconfig.json:5 //// [/home/src/workspaces/outFile.js] @@ -1442,8 +1512,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -1565,8 +1640,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -1664,8 +1744,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error in tsconfig.json:5 +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -1765,8 +1850,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:5 diff --git a/tests/baselines/reference/tsc/noCheck/outFile/dts-errors.js b/tests/baselines/reference/tsc/noCheck/outFile/dts-errors.js index b36f651a0c5d9..9acd2c7349e3b 100644 --- a/tests/baselines/reference/tsc/noCheck/outFile/dts-errors.js +++ b/tests/baselines/reference/tsc/noCheck/outFile/dts-errors.js @@ -47,12 +47,17 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 2 errors in 2 files. +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 3 errors in 2 files. Errors Files 1 a.ts:1 - 1 tsconfig.json:4 + 2 tsconfig.json:4 //// [/home/src/workspaces/outFile.js] @@ -116,12 +121,17 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 2 errors in 2 files. + +Found 3 errors in 2 files. Errors Files 1 a.ts:1 - 1 tsconfig.json:4 + 2 tsconfig.json:4 //// [/home/src/workspaces/outFile.js] file written with same contents @@ -159,8 +169,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:4 + +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -219,8 +234,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:4 + +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -257,8 +277,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:4 + +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -294,8 +319,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -331,8 +361,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -382,12 +417,17 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 2 errors in 2 files. +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 3 errors in 2 files. Errors Files 1 a.ts:1 - 1 tsconfig.json:4 + 2 tsconfig.json:4 //// [/home/src/workspaces/outFile.js] @@ -451,12 +491,17 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 2 errors in 2 files. +Found 3 errors in 2 files. Errors Files 1 a.ts:1 - 1 tsconfig.json:4 + 2 tsconfig.json:4 //// [/home/src/workspaces/outFile.js] file written with same contents @@ -501,12 +546,17 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 2 errors in 2 files. +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 3 errors in 2 files. Errors Files 1 a.ts:1 - 1 tsconfig.json:4 + 2 tsconfig.json:4 //// [/home/src/workspaces/outFile.js] file written with same contents @@ -543,8 +593,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:4 + +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -595,8 +650,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:4 + +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -635,8 +695,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:4 + +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -718,12 +783,17 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 2 errors in 2 files. + +Found 3 errors in 2 files. Errors Files 1 a.ts:1 - 1 tsconfig.json:4 + 2 tsconfig.json:4 //// [/home/src/workspaces/outFile.js] @@ -788,8 +858,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -848,8 +923,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -887,8 +967,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error in tsconfig.json:4 +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -927,8 +1012,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:4 diff --git a/tests/baselines/reference/tsc/noCheck/outFile/semantic-errors-with-incremental.js b/tests/baselines/reference/tsc/noCheck/outFile/semantic-errors-with-incremental.js index 330d3db3625c2..ba440986f58de 100644 --- a/tests/baselines/reference/tsc/noCheck/outFile/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsc/noCheck/outFile/semantic-errors-with-incremental.js @@ -38,8 +38,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error in tsconfig.json:5 +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -152,8 +157,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:5 + +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -196,8 +206,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:5 + +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -296,8 +311,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:5 + +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -337,8 +357,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:5 + +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -425,8 +450,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -465,8 +495,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -558,8 +593,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error in tsconfig.json:5 +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -658,8 +698,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -699,8 +744,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error in tsconfig.json:5 +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -790,8 +840,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:5 + +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -890,8 +945,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:5 + +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -981,8 +1041,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:5 + +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -1116,8 +1181,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:5 + +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -1233,8 +1303,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -1347,8 +1422,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -1446,8 +1526,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error in tsconfig.json:5 +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -1547,8 +1632,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:5 diff --git a/tests/baselines/reference/tsc/noCheck/outFile/semantic-errors.js b/tests/baselines/reference/tsc/noCheck/outFile/semantic-errors.js index 3d2ea9b5f3199..0cc3cb327199c 100644 --- a/tests/baselines/reference/tsc/noCheck/outFile/semantic-errors.js +++ b/tests/baselines/reference/tsc/noCheck/outFile/semantic-errors.js @@ -37,8 +37,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error in tsconfig.json:4 +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -97,8 +102,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:4 + +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -138,8 +148,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:4 + +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -184,8 +199,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:4 + +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -222,8 +242,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:4 + +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -259,8 +284,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -296,8 +326,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -337,8 +372,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error in tsconfig.json:4 +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -383,8 +423,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -421,8 +466,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error in tsconfig.json:4 +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -461,8 +511,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:4 + +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -507,8 +562,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:4 + +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -547,8 +607,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:4 + +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -620,8 +685,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:4 + +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -674,8 +744,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -725,8 +800,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -764,8 +844,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error in tsconfig.json:4 +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -804,8 +889,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:4 diff --git a/tests/baselines/reference/tsc/noCheck/outFile/syntax-errors-with-incremental.js b/tests/baselines/reference/tsc/noCheck/outFile/syntax-errors-with-incremental.js index 8f28da86ef503..f19b215f8af29 100644 --- a/tests/baselines/reference/tsc/noCheck/outFile/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsc/noCheck/outFile/syntax-errors-with-incremental.js @@ -196,8 +196,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error in tsconfig.json:5 +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -302,8 +307,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:5 + +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -343,8 +353,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -431,8 +446,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error in tsconfig.json:5 +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -471,8 +491,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:5 + +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -802,8 +827,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -908,8 +938,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error in tsconfig.json:5 +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -999,8 +1034,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:5 + +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -1260,8 +1300,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -1383,8 +1428,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error in tsconfig.json:5 +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -1482,8 +1532,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:5 + +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -1583,8 +1638,13 @@ Output:: 5 "module": "amd",    ~~~~~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:5 diff --git a/tests/baselines/reference/tsc/noCheck/outFile/syntax-errors.js b/tests/baselines/reference/tsc/noCheck/outFile/syntax-errors.js index 025d3cef3fe85..8d0d095b788ea 100644 --- a/tests/baselines/reference/tsc/noCheck/outFile/syntax-errors.js +++ b/tests/baselines/reference/tsc/noCheck/outFile/syntax-errors.js @@ -138,8 +138,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error in tsconfig.json:4 +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -190,8 +195,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:4 + +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -228,8 +238,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -265,8 +280,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error in tsconfig.json:4 +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -302,8 +322,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:4 + +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -473,8 +498,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -525,8 +555,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error in tsconfig.json:4 +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -565,8 +600,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:4 + +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -701,8 +741,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -761,8 +806,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -Found 1 error in tsconfig.json:4 +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -800,8 +850,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in tsconfig.json:4 + +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -840,8 +895,13 @@ Output:: 4 "module": "amd",    ~~~~~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js" +   ~~~~~~~~~ + -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:4 diff --git a/tests/baselines/reference/tsc/noEmit/outFile/changes-composite.js b/tests/baselines/reference/tsc/noEmit/outFile/changes-composite.js index afa0596ef022a..0425d3b6eba90 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/changes-composite.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/changes-composite.js @@ -53,13 +53,18 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -222,13 +227,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -241,13 +251,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -265,13 +280,18 @@ export class classC { /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -342,13 +362,18 @@ export class classC { /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -442,13 +467,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -461,13 +491,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -480,13 +515,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -499,13 +539,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -523,13 +568,18 @@ export class classC { /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -692,13 +742,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -711,13 +766,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -730,13 +790,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -749,13 +814,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -773,13 +843,18 @@ export class classC { /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -845,13 +920,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -1014,13 +1094,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -1033,13 +1118,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -1052,13 +1142,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 diff --git a/tests/baselines/reference/tsc/noEmit/outFile/changes-incremental-declaration.js b/tests/baselines/reference/tsc/noEmit/outFile/changes-incremental-declaration.js index acaa8542ac49b..c556b14135c77 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/changes-incremental-declaration.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/changes-incremental-declaration.js @@ -54,13 +54,18 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:6 +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -221,13 +226,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:6 +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -240,13 +250,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:6 +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -264,13 +279,18 @@ export class classC { /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:6 +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -339,13 +359,18 @@ export class classC { /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:6 +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -438,13 +463,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:6 +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -457,13 +487,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:6 +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -476,13 +511,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:6 +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -495,13 +535,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:6 +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -519,13 +564,18 @@ export class classC { /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:6 +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -686,13 +736,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:6 +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -705,13 +760,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:6 +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -724,13 +784,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:6 +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -743,13 +808,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:6 +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -767,13 +837,18 @@ export class classC { /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:6 +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -837,13 +912,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:6 +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -1004,13 +1084,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:6 +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -1023,13 +1108,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:6 +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -1042,13 +1132,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:6 +Found 2 errors in the same file, starting at: tsconfig.json:5 diff --git a/tests/baselines/reference/tsc/noEmit/outFile/changes-incremental.js b/tests/baselines/reference/tsc/noEmit/outFile/changes-incremental.js index 064e9ac8bedd8..4df7c99593e8a 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/changes-incremental.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/changes-incremental.js @@ -53,13 +53,18 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -199,13 +204,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -218,13 +228,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -242,13 +257,18 @@ export class classC { /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -316,13 +336,18 @@ export class classC { /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -413,13 +438,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -432,13 +462,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -451,13 +486,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -470,13 +510,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -494,13 +539,18 @@ export class classC { /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -640,13 +690,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -659,13 +714,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -678,13 +738,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -697,13 +762,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -721,13 +791,18 @@ export class classC { /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -790,13 +865,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -936,13 +1016,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -955,13 +1040,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -974,13 +1064,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 diff --git a/tests/baselines/reference/tsc/noEmit/outFile/changes-with-initial-noEmit-composite.js b/tests/baselines/reference/tsc/noEmit/outFile/changes-with-initial-noEmit-composite.js index 25dad0effd0b1..b49a67552a6dd 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/changes-with-initial-noEmit-composite.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/changes-with-initial-noEmit-composite.js @@ -53,13 +53,18 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -129,13 +134,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -303,13 +313,18 @@ export class classC { /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -477,13 +492,18 @@ export class classC { /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -549,13 +569,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 diff --git a/tests/baselines/reference/tsc/noEmit/outFile/changes-with-initial-noEmit-incremental-declaration.js b/tests/baselines/reference/tsc/noEmit/outFile/changes-with-initial-noEmit-incremental-declaration.js index 81a258dd5e22a..4b797362850e9 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/changes-with-initial-noEmit-incremental-declaration.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/changes-with-initial-noEmit-incremental-declaration.js @@ -54,13 +54,18 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:6 +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -130,13 +135,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:6 +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -302,13 +312,18 @@ export class classC { /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:6 +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -474,13 +489,18 @@ export class classC { /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:6 +Found 2 errors in the same file, starting at: tsconfig.json:5 @@ -544,13 +564,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:6 +Found 2 errors in the same file, starting at: tsconfig.json:5 diff --git a/tests/baselines/reference/tsc/noEmit/outFile/changes-with-initial-noEmit-incremental.js b/tests/baselines/reference/tsc/noEmit/outFile/changes-with-initial-noEmit-incremental.js index 0d69e1eeaad6a..768230abd312a 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/changes-with-initial-noEmit-incremental.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/changes-with-initial-noEmit-incremental.js @@ -53,13 +53,18 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -128,13 +133,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -279,13 +289,18 @@ export class classC { /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -430,13 +445,18 @@ export class classC { /home/src/tslibs/TS/Lib/tsc.js --p . --noEmit Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 @@ -499,13 +519,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -Found 1 error in tsconfig.json:5 +Found 2 errors in the same file, starting at: tsconfig.json:4 diff --git a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-multiple-files.js b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-multiple-files.js index 1d8d54232113c..0fa32e47e736d 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-multiple-files.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-multiple-files.js @@ -38,13 +38,18 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -131,13 +136,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -176,13 +186,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit --declaration Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -271,13 +286,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit --declaration --declarationMap Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -368,13 +388,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -443,19 +468,24 @@ Output::    ~ Add a type annotation to the variable d. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 4 errors in 4 files. +Found 5 errors in 4 files. Errors Files 1 a.ts:1 1 c.ts:1 1 d.ts:1 - 1 tsconfig.json:4 + 2 tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] @@ -667,13 +697,18 @@ export const a = class { public p = 10; }; /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -756,13 +791,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit --declaration Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -847,13 +887,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit --declaration --declarationMap Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -943,13 +988,18 @@ export const c = class { public p = 10; }; /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit --declaration --declarationMap Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 diff --git a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-incremental-as-modules.js b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-incremental-as-modules.js index 09b5df0b9823f..9a08728112057 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-incremental-as-modules.js @@ -33,13 +33,18 @@ export const b = 10; /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -114,13 +119,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -159,13 +169,18 @@ export const a = "hello"; /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -240,13 +255,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -282,13 +302,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -395,13 +420,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -440,13 +470,18 @@ export const a = class { private p = 10; }; /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -529,17 +564,22 @@ Output::    ~ Add a type annotation to the variable a. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors in 2 files. +Found 3 errors in 2 files. Errors Files 1 a.ts:1 - 1 tsconfig.json:4 + 2 tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] @@ -664,13 +704,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 diff --git a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-incremental-discrepancies.js b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-incremental-discrepancies.js new file mode 100644 index 0000000000000..66153cdb54a8b --- /dev/null +++ b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-incremental-discrepancies.js @@ -0,0 +1,84 @@ +7:: no-change-run +*** Needs explanation +Incremental build contains ./project/a.ts file has emit errors, clean build does not have errors or does not mark is as pending emit: /home/src/projects/outfile.tsbuildinfo.readable.baseline.txt:: +Incremental buildInfoText:: { + "fileNames": [ + "../tslibs/ts/lib/lib.d.ts", + "./project/a.ts" + ], + "fileInfos": { + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "7752727223-const a = class { private p = 10; };" + }, + "root": [ + [ + 2, + "./project/a.ts" + ] + ], + "options": { + "declaration": true, + "outFile": "./outFile.js" + }, + "semanticDiagnosticsPerFile": [ + [ + "../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./project/a.ts", + "not cached or not changed" + ] + ], + "emitDiagnosticsPerFile": [ + [ + "./project/a.ts", + [ + { + "start": 6, + "length": 1, + "messageText": "Property 'p' of exported anonymous class type may not be private or protected.", + "category": 1, + "code": 4094, + "relatedInformation": [ + { + "start": 6, + "length": 1, + "messageText": "Add a type annotation to the variable a.", + "category": 1, + "code": 9027 + } + ] + } + ] + ] + ], + "version": "FakeTSVersion", + "size": 957 +} +Clean buildInfoText:: { + "fileNames": [ + "../tslibs/ts/lib/lib.d.ts", + "./project/a.ts" + ], + "fileInfos": { + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "7752727223-const a = class { private p = 10; };" + }, + "root": [ + [ + 2, + "./project/a.ts" + ] + ], + "options": { + "declaration": true, + "outFile": "./outFile.js" + }, + "changeFileSet": [ + "./project/a.ts", + "../tslibs/ts/lib/lib.d.ts" + ], + "version": "FakeTSVersion", + "size": 640 +} \ No newline at end of file diff --git a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-incremental.js b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-incremental.js index 7c24cb20ee94a..538924fc1b59c 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-incremental.js @@ -29,23 +29,18 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: -a.ts:1:7 - error TS4094: Property 'p' of exported anonymous class type may not be private or protected. - -1 const a = class { private p = 10; }; -   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. - a.ts:1:7 - 1 const a = class { private p = 10; }; -    ~ - Add a type annotation to the variable a. +3 "outFile": "../outFile.js", +   ~~~~~~~~~ -Found 1 error in a.ts:1 +Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"pendingEmit":17,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -67,35 +62,12 @@ Found 1 error in a.ts:1 "declaration": true, "outFile": "./outFile.js" }, - "emitDiagnosticsPerFile": [ - [ - "./project/a.ts", - [ - { - "start": 6, - "length": 1, - "messageText": "Property 'p' of exported anonymous class type may not be private or protected.", - "category": 1, - "code": 4094, - "relatedInformation": [ - { - "start": 6, - "length": 1, - "messageText": "Add a type annotation to the variable a.", - "category": 1, - "code": 9027 - } - ] - } - ] - ] - ], - "pendingEmit": [ - "Js | DtsEmit", - 17 + "changeFileSet": [ + "./project/a.ts", + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 939 + "size": 640 } @@ -115,9 +87,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -129,18 +99,13 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: -a.ts:1:7 - error TS4094: Property 'p' of exported anonymous class type may not be private or protected. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a = class { private p = 10; }; -   ~ +3 "outFile": "../outFile.js", +   ~~~~~~~~~ - a.ts:1:7 - 1 const a = class { private p = 10; }; -    ~ - Add a type annotation to the variable a. - -Found 1 error in a.ts:1 +Found 1 error in tsconfig.json:3 @@ -161,7 +126,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -176,10 +141,18 @@ const a = "hello"; /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"pendingEmit":17,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -201,12 +174,12 @@ Output:: "declaration": true, "outFile": "./outFile.js" }, - "pendingEmit": [ - "Js | DtsEmit", - 17 + "changeFileSet": [ + "./project/a.ts", + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 619 + "size": 624 } @@ -226,13 +199,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: no-change-run @@ -240,6 +211,14 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + @@ -259,11 +238,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: Emit after fixing error @@ -271,10 +250,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -296,8 +283,18 @@ Output:: "declaration": true, "outFile": "./outFile.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./project/a.ts", + "not cached or not changed" + ] + ], "version": "FakeTSVersion", - "size": 602 + "size": 637 } //// [/home/src/projects/outFile.js] @@ -324,11 +321,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: no-change-run @@ -336,6 +333,14 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + @@ -355,11 +360,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: Introduce error @@ -370,23 +375,18 @@ const a = class { private p = 10; }; /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: -a.ts:1:7 - error TS4094: Property 'p' of exported anonymous class type may not be private or protected. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a = class { private p = 10; }; -   ~ - - a.ts:1:7 - 1 const a = class { private p = 10; }; -    ~ - Add a type annotation to the variable a. +3 "outFile": "../outFile.js", +   ~~~~~~~~~ -Found 1 error in a.ts:1 +Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"pendingEmit":17,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -408,35 +408,11 @@ Found 1 error in a.ts:1 "declaration": true, "outFile": "./outFile.js" }, - "emitDiagnosticsPerFile": [ - [ - "./project/a.ts", - [ - { - "start": 6, - "length": 1, - "messageText": "Property 'p' of exported anonymous class type may not be private or protected.", - "category": 1, - "code": 4094, - "relatedInformation": [ - { - "start": 6, - "length": 1, - "messageText": "Add a type annotation to the variable a.", - "category": 1, - "code": 9027 - } - ] - } - ] - ] - ], - "pendingEmit": [ - "Js | DtsEmit", - 17 + "changeFileSet": [ + "./project/a.ts" ], "version": "FakeTSVersion", - "size": 939 + "size": 638 } @@ -456,9 +432,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -480,13 +454,21 @@ Output::    ~ Add a type annotation to the variable a. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ -Found 1 error in a.ts:1 +Found 2 errors in 2 files. + +Errors Files + 1 a.ts:1 + 1 tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -508,6 +490,16 @@ Found 1 error in a.ts:1 "declaration": true, "outFile": "./outFile.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./project/a.ts", + "not cached or not changed" + ] + ], "emitDiagnosticsPerFile": [ [ "./project/a.ts", @@ -532,7 +524,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 922 + "size": 957 } //// [/home/src/projects/outFile.js] @@ -560,7 +552,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -572,18 +564,13 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: -a.ts:1:7 - error TS4094: Property 'p' of exported anonymous class type may not be private or protected. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a = class { private p = 10; }; -   ~ - - a.ts:1:7 - 1 const a = class { private p = 10; }; -    ~ - Add a type annotation to the variable a. +3 "outFile": "../outFile.js", +   ~~~~~~~~~ -Found 1 error in a.ts:1 +Found 1 error in tsconfig.json:3 @@ -604,7 +591,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: diff --git a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js index a98c258b41a4e..18140b6135fd2 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js @@ -32,13 +32,18 @@ export const b = 10; /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -111,13 +116,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -155,13 +165,18 @@ export const a = "hello"; /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -234,13 +249,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -275,13 +295,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -377,13 +402,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -421,13 +451,18 @@ export const a = class { private p = 10; }; /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -498,13 +533,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -605,13 +645,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 diff --git a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental.js b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental.js index 85cd3efa69ce9..d869eac19b615 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental.js @@ -28,10 +28,18 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -52,12 +60,12 @@ Output:: "options": { "outFile": "./outFile.js" }, - "pendingEmit": [ - "Js", - false + "changeFileSet": [ + "./project/a.ts", + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 619 + "size": 621 } @@ -76,13 +84,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: no-change-run @@ -90,6 +96,14 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + @@ -108,11 +122,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: Fix error @@ -123,10 +137,18 @@ const a = "hello"; /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -147,12 +169,12 @@ Output:: "options": { "outFile": "./outFile.js" }, - "pendingEmit": [ - "Js", - false + "changeFileSet": [ + "./project/a.ts", + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 603 + "size": 605 } @@ -171,13 +193,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: no-change-run @@ -185,6 +205,14 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + @@ -203,11 +231,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: Emit after fixing error @@ -215,10 +243,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -239,8 +275,18 @@ Output:: "options": { "outFile": "./outFile.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./project/a.ts", + "not cached or not changed" + ] + ], "version": "FakeTSVersion", - "size": 583 + "size": 618 } //// [/home/src/projects/outFile.js] @@ -262,11 +308,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: no-change-run @@ -274,6 +320,14 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + @@ -292,11 +346,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: Introduce error @@ -307,10 +361,18 @@ const a = class { private p = 10; }; /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -331,9 +393,8 @@ Output:: "options": { "outFile": "./outFile.js" }, - "pendingEmit": [ - "Js", - false + "changeFileSet": [ + "./project/a.ts" ], "version": "FakeTSVersion", "size": 619 @@ -355,13 +416,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: Emit when error @@ -369,10 +428,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -393,8 +460,18 @@ Output:: "options": { "outFile": "./outFile.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./project/a.ts", + "not cached or not changed" + ] + ], "version": "FakeTSVersion", - "size": 599 + "size": 634 } //// [/home/src/projects/outFile.js] @@ -421,11 +498,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: no-change-run @@ -433,6 +510,14 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + @@ -451,8 +536,8 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-without-dts-enabled.js b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-without-dts-enabled.js index 4aadaac87112b..344f1dcc9f7af 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-without-dts-enabled.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-without-dts-enabled.js @@ -27,6 +27,14 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + @@ -44,7 +52,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: no-change-run @@ -52,6 +60,14 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + @@ -69,7 +85,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: Fix error @@ -80,6 +96,14 @@ const a = "hello"; /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + @@ -97,7 +121,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: no-change-run @@ -105,6 +129,14 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + @@ -122,7 +154,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: Emit after fixing error @@ -130,6 +162,14 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + //// [/home/src/projects/outFile.js] @@ -150,7 +190,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: no-change-run @@ -158,6 +198,14 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + @@ -175,7 +223,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: Introduce error @@ -186,6 +234,14 @@ const a = class { private p = 10; }; /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + @@ -203,7 +259,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: Emit when error @@ -211,6 +267,14 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + //// [/home/src/projects/outFile.js] @@ -236,7 +300,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: no-change-run @@ -244,6 +308,14 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + @@ -261,4 +333,4 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated diff --git a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors.js b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors.js index 2d49d763a5af4..502d7524f1e3e 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors.js @@ -28,18 +28,13 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: -a.ts:1:7 - error TS4094: Property 'p' of exported anonymous class type may not be private or protected. - -1 const a = class { private p = 10; }; -   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. - a.ts:1:7 - 1 const a = class { private p = 10; }; -    ~ - Add a type annotation to the variable a. +3 "outFile": "../outFile.js", +   ~~~~~~~~~ -Found 1 error in a.ts:1 +Found 1 error in tsconfig.json:3 @@ -67,18 +62,13 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: -a.ts:1:7 - error TS4094: Property 'p' of exported anonymous class type may not be private or protected. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a = class { private p = 10; }; -   ~ - - a.ts:1:7 - 1 const a = class { private p = 10; }; -    ~ - Add a type annotation to the variable a. +3 "outFile": "../outFile.js", +   ~~~~~~~~~ -Found 1 error in a.ts:1 +Found 1 error in tsconfig.json:3 @@ -109,6 +99,14 @@ const a = "hello"; /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + @@ -127,7 +125,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: no-change-run @@ -135,6 +133,14 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + @@ -153,7 +159,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: Emit after fixing error @@ -161,6 +167,14 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + //// [/home/src/projects/outFile.js] @@ -186,7 +200,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: no-change-run @@ -194,6 +208,14 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + @@ -212,7 +234,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: Introduce error @@ -223,18 +245,13 @@ const a = class { private p = 10; }; /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: -a.ts:1:7 - error TS4094: Property 'p' of exported anonymous class type may not be private or protected. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a = class { private p = 10; }; -   ~ +3 "outFile": "../outFile.js", +   ~~~~~~~~~ - a.ts:1:7 - 1 const a = class { private p = 10; }; -    ~ - Add a type annotation to the variable a. - -Found 1 error in a.ts:1 +Found 1 error in tsconfig.json:3 @@ -272,9 +289,17 @@ Output::    ~ Add a type annotation to the variable a. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ -Found 1 error in a.ts:1 +Found 2 errors in 2 files. + +Errors Files + 1 a.ts:1 + 1 tsconfig.json:3 //// [/home/src/projects/outFile.js] @@ -309,18 +334,13 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: -a.ts:1:7 - error TS4094: Property 'p' of exported anonymous class type may not be private or protected. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a = class { private p = 10; }; -   ~ - - a.ts:1:7 - 1 const a = class { private p = 10; }; -    ~ - Add a type annotation to the variable a. +3 "outFile": "../outFile.js", +   ~~~~~~~~~ -Found 1 error in a.ts:1 +Found 1 error in tsconfig.json:3 diff --git a/tests/baselines/reference/tsc/noEmit/outFile/semantic-errors-with-incremental-as-modules.js b/tests/baselines/reference/tsc/noEmit/outFile/semantic-errors-with-incremental-as-modules.js index 64b42ff93e7dc..50bd2eaf7bd37 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/semantic-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/semantic-errors-with-incremental-as-modules.js @@ -32,13 +32,18 @@ export const b = 10; /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -111,13 +116,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -155,13 +165,18 @@ export const a = "hello"; /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -234,13 +249,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -275,13 +295,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -377,13 +402,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -421,13 +451,18 @@ export const a: number = "hello" /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -498,13 +533,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -586,13 +626,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 diff --git a/tests/baselines/reference/tsc/noEmit/outFile/semantic-errors-with-incremental.js b/tests/baselines/reference/tsc/noEmit/outFile/semantic-errors-with-incremental.js index f644c982cd7a7..a9dac0db24b68 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/semantic-errors-with-incremental.js @@ -28,18 +28,18 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js", +   ~~~~~~~~~ -Found 1 error in a.ts:1 +Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -60,26 +60,12 @@ Found 1 error in a.ts:1 "options": { "outFile": "./outFile.js" }, - "semanticDiagnosticsPerFile": [ - [ - "./project/a.ts", - [ - { - "start": 6, - "length": 1, - "code": 2322, - "category": 1, - "messageText": "Type 'string' is not assignable to type 'number'." - } - ] - ] - ], - "pendingEmit": [ - "Js", - false + "changeFileSet": [ + "./project/a.ts", + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 761 + "size": 612 } @@ -98,9 +84,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -112,13 +96,13 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js", +   ~~~~~~~~~ -Found 1 error in a.ts:1 +Found 1 error in tsconfig.json:3 @@ -138,7 +122,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -153,10 +137,18 @@ const a = "hello"; /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -177,12 +169,12 @@ Output:: "options": { "outFile": "./outFile.js" }, - "pendingEmit": [ - "Js", - false + "changeFileSet": [ + "./project/a.ts", + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 603 + "size": 605 } @@ -201,13 +193,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: no-change-run @@ -215,6 +205,14 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + @@ -233,11 +231,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: Emit after fixing error @@ -245,10 +243,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -269,8 +275,18 @@ Output:: "options": { "outFile": "./outFile.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./project/a.ts", + "not cached or not changed" + ] + ], "version": "FakeTSVersion", - "size": 583 + "size": 618 } //// [/home/src/projects/outFile.js] @@ -292,11 +308,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: no-change-run @@ -304,6 +320,14 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + @@ -322,11 +346,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: Introduce error @@ -337,18 +361,18 @@ const a: number = "hello" /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js", +   ~~~~~~~~~ -Found 1 error in a.ts:1 +Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -369,26 +393,11 @@ Found 1 error in a.ts:1 "options": { "outFile": "./outFile.js" }, - "semanticDiagnosticsPerFile": [ - [ - "./project/a.ts", - [ - { - "start": 6, - "length": 1, - "code": 2322, - "category": 1, - "messageText": "Type 'string' is not assignable to type 'number'." - } - ] - ] - ], - "pendingEmit": [ - "Js", - false + "changeFileSet": [ + "./project/a.ts" ], "version": "FakeTSVersion", - "size": 761 + "size": 610 } @@ -407,9 +416,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -421,18 +428,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . Output:: -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js", +   ~~~~~~~~~ -Found 1 error in a.ts:1 +Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -454,21 +461,17 @@ Found 1 error in a.ts:1 "outFile": "./outFile.js" }, "semanticDiagnosticsPerFile": [ + [ + "../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], [ "./project/a.ts", - [ - { - "start": 6, - "length": 1, - "code": 2322, - "category": 1, - "messageText": "Type 'string' is not assignable to type 'number'." - } - ] + "not cached or not changed" ] ], "version": "FakeTSVersion", - "size": 741 + "size": 625 } //// [/home/src/projects/outFile.js] file written with same contents @@ -487,7 +490,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -499,13 +502,13 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js", +   ~~~~~~~~~ -Found 1 error in a.ts:1 +Found 1 error in tsconfig.json:3 @@ -525,7 +528,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: diff --git a/tests/baselines/reference/tsc/noEmit/outFile/semantic-errors.js b/tests/baselines/reference/tsc/noEmit/outFile/semantic-errors.js index dffb5f21bcc27..495a86d724fea 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/semantic-errors.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/semantic-errors.js @@ -27,13 +27,13 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in a.ts:1 +Found 1 error in tsconfig.json:3 @@ -60,13 +60,13 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in a.ts:1 +Found 1 error in tsconfig.json:3 @@ -96,6 +96,14 @@ const a = "hello"; /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + @@ -113,7 +121,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: no-change-run @@ -121,6 +129,14 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + @@ -138,7 +154,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: Emit after fixing error @@ -146,6 +162,14 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + //// [/home/src/projects/outFile.js] @@ -166,7 +190,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: no-change-run @@ -174,6 +198,14 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + @@ -191,7 +223,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: Introduce error @@ -202,13 +234,13 @@ const a: number = "hello" /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in a.ts:1 +Found 1 error in tsconfig.json:3 @@ -235,13 +267,13 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . Output:: -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in a.ts:1 +Found 1 error in tsconfig.json:3 @@ -268,13 +300,13 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in a.ts:1 +Found 1 error in tsconfig.json:3 diff --git a/tests/baselines/reference/tsc/noEmit/outFile/syntax-errors-with-incremental-as-modules.js b/tests/baselines/reference/tsc/noEmit/outFile/syntax-errors-with-incremental-as-modules.js index deb0c973ee171..6b4736dfce12c 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/syntax-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/syntax-errors-with-incremental-as-modules.js @@ -155,13 +155,18 @@ export const a = "hello"; /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -234,13 +239,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -275,13 +285,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -377,13 +392,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 diff --git a/tests/baselines/reference/tsc/noEmit/outFile/syntax-errors-with-incremental.js b/tests/baselines/reference/tsc/noEmit/outFile/syntax-errors-with-incremental.js index db92b40d0c281..7ea5c15d0f691 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/syntax-errors-with-incremental.js @@ -137,10 +137,18 @@ const a = "hello"; /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -161,12 +169,12 @@ Output:: "options": { "outFile": "./outFile.js" }, - "pendingEmit": [ - "Js", - false + "changeFileSet": [ + "./project/a.ts", + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 603 + "size": 605 } @@ -185,13 +193,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: no-change-run @@ -199,6 +205,14 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + @@ -217,11 +231,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: Emit after fixing error @@ -229,10 +243,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -253,8 +275,18 @@ Output:: "options": { "outFile": "./outFile.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./project/a.ts", + "not cached or not changed" + ] + ], "version": "FakeTSVersion", - "size": 583 + "size": 618 } //// [/home/src/projects/outFile.js] @@ -276,11 +308,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: no-change-run @@ -288,6 +320,14 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + @@ -306,11 +346,11 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: Introduce error diff --git a/tests/baselines/reference/tsc/noEmit/outFile/syntax-errors.js b/tests/baselines/reference/tsc/noEmit/outFile/syntax-errors.js index 67ed07480e635..f6d0cabb1dd6d 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/syntax-errors.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/syntax-errors.js @@ -96,6 +96,14 @@ const a = "hello"; /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + @@ -113,7 +121,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: no-change-run @@ -121,6 +129,14 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + @@ -138,7 +154,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: Emit after fixing error @@ -146,6 +162,14 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + //// [/home/src/projects/outFile.js] @@ -166,7 +190,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: no-change-run @@ -174,6 +198,14 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js -p . --noEmit Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:3 + @@ -191,7 +223,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: Introduce error diff --git a/tests/baselines/reference/tsc/noEmitOnError/outFile/dts-errors-with-declaration-with-incremental.js b/tests/baselines/reference/tsc/noEmitOnError/outFile/dts-errors-with-declaration-with-incremental.js index 2c3c2f450fa64..01b777a07b2d6 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/outFile/dts-errors-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmitOnError/outFile/dts-errors-with-declaration-with-incremental.js @@ -44,13 +44,18 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -136,13 +141,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -184,13 +194,18 @@ export const a = class { p = 10; }; /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -276,13 +291,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 diff --git a/tests/baselines/reference/tsc/noEmitOnError/outFile/dts-errors-with-declaration.js b/tests/baselines/reference/tsc/noEmitOnError/outFile/dts-errors-with-declaration.js index 58d5c80a6adf0..4291c68e26a93 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/outFile/dts-errors-with-declaration.js +++ b/tests/baselines/reference/tsc/noEmitOnError/outFile/dts-errors-with-declaration.js @@ -43,13 +43,18 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -81,13 +86,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -124,13 +134,18 @@ export const a = class { p = 10; }; /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -162,13 +177,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 diff --git a/tests/baselines/reference/tsc/noEmitOnError/outFile/dts-errors-with-incremental.js b/tests/baselines/reference/tsc/noEmitOnError/outFile/dts-errors-with-incremental.js index 0c81f53526773..960dedb1b5123 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/outFile/dts-errors-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmitOnError/outFile/dts-errors-with-incremental.js @@ -43,13 +43,18 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -133,13 +138,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -180,13 +190,18 @@ export const a = class { p = 10; }; /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -270,13 +285,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 diff --git a/tests/baselines/reference/tsc/noEmitOnError/outFile/dts-errors.js b/tests/baselines/reference/tsc/noEmitOnError/outFile/dts-errors.js index ce30693e568a1..c990b34cea633 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/outFile/dts-errors.js +++ b/tests/baselines/reference/tsc/noEmitOnError/outFile/dts-errors.js @@ -42,13 +42,18 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -79,13 +84,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -121,13 +131,18 @@ export const a = class { p = 10; }; /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -158,13 +173,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 diff --git a/tests/baselines/reference/tsc/noEmitOnError/outFile/file-deleted-before-fixing-error-with-noEmitOnError.js b/tests/baselines/reference/tsc/noEmitOnError/outFile/file-deleted-before-fixing-error-with-noEmitOnError.js index 12a40d19e6593..764446fe6354c 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/outFile/file-deleted-before-fixing-error-with-noEmitOnError.js +++ b/tests/baselines/reference/tsc/noEmitOnError/outFile/file-deleted-before-fixing-error-with-noEmitOnError.js @@ -37,17 +37,22 @@ Output:: 1 export const x: 30 = "hello";    ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors in 2 files. +Found 3 errors in 2 files. Errors Files 1 file1.ts:1 - 1 tsconfig.json:4 + 2 tsconfig.json:3 //// [/home/src/workspaces/outFile.tsbuildinfo] @@ -141,17 +146,22 @@ Output:: 1 export const x: 30 = "hello";    ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors in 2 files. +Found 3 errors in 2 files. Errors Files 1 file1.ts:1 - 1 tsconfig.json:4 + 2 tsconfig.json:3 //// [/home/src/workspaces/outFile.tsbuildinfo] diff --git a/tests/baselines/reference/tsc/noEmitOnError/outFile/semantic-errors-with-declaration-with-incremental.js b/tests/baselines/reference/tsc/noEmitOnError/outFile/semantic-errors-with-declaration-with-incremental.js index 0fc0fa59703bd..f3c080f753f80 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/outFile/semantic-errors-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmitOnError/outFile/semantic-errors-with-declaration-with-incremental.js @@ -48,17 +48,22 @@ Output:: 2 const a: string = 10;    ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors in 2 files. +Found 3 errors in 2 files. Errors Files 1 src/main.ts:2 - 1 tsconfig.json:4 + 2 tsconfig.json:3 //// [/user/username/projects/dev-build.tsbuildinfo] @@ -161,17 +166,22 @@ Output:: 2 const a: string = 10;    ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors in 2 files. +Found 3 errors in 2 files. Errors Files 1 src/main.ts:2 - 1 tsconfig.json:4 + 2 tsconfig.json:3 @@ -211,13 +221,18 @@ const a: string = "hello"; /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -303,13 +318,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 diff --git a/tests/baselines/reference/tsc/noEmitOnError/outFile/semantic-errors-with-declaration.js b/tests/baselines/reference/tsc/noEmitOnError/outFile/semantic-errors-with-declaration.js index 5f7d3d5068b43..634d8ab2e0b2f 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/outFile/semantic-errors-with-declaration.js +++ b/tests/baselines/reference/tsc/noEmitOnError/outFile/semantic-errors-with-declaration.js @@ -47,17 +47,22 @@ Output:: 2 const a: string = 10;    ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors in 2 files. +Found 3 errors in 2 files. Errors Files 1 src/main.ts:2 - 1 tsconfig.json:4 + 2 tsconfig.json:3 @@ -93,17 +98,22 @@ Output:: 2 const a: string = 10;    ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors in 2 files. +Found 3 errors in 2 files. Errors Files 1 src/main.ts:2 - 1 tsconfig.json:4 + 2 tsconfig.json:3 @@ -138,13 +148,18 @@ const a: string = "hello"; /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -176,13 +191,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 diff --git a/tests/baselines/reference/tsc/noEmitOnError/outFile/semantic-errors-with-incremental.js b/tests/baselines/reference/tsc/noEmitOnError/outFile/semantic-errors-with-incremental.js index f4f7798f30ec8..c9455d6f75b87 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/outFile/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmitOnError/outFile/semantic-errors-with-incremental.js @@ -47,17 +47,22 @@ Output:: 2 const a: string = 10;    ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors in 2 files. +Found 3 errors in 2 files. Errors Files 1 src/main.ts:2 - 1 tsconfig.json:4 + 2 tsconfig.json:3 //// [/user/username/projects/dev-build.tsbuildinfo] @@ -158,17 +163,22 @@ Output:: 2 const a: string = 10;    ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors in 2 files. +Found 3 errors in 2 files. Errors Files 1 src/main.ts:2 - 1 tsconfig.json:4 + 2 tsconfig.json:3 @@ -207,13 +217,18 @@ const a: string = "hello"; /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -297,13 +312,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 diff --git a/tests/baselines/reference/tsc/noEmitOnError/outFile/semantic-errors.js b/tests/baselines/reference/tsc/noEmitOnError/outFile/semantic-errors.js index 46ba04a0df3df..6301a4da78fb7 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/outFile/semantic-errors.js +++ b/tests/baselines/reference/tsc/noEmitOnError/outFile/semantic-errors.js @@ -46,17 +46,22 @@ Output:: 2 const a: string = 10;    ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors in 2 files. +Found 3 errors in 2 files. Errors Files 1 src/main.ts:2 - 1 tsconfig.json:4 + 2 tsconfig.json:3 @@ -91,17 +96,22 @@ Output:: 2 const a: string = 10;    ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors in 2 files. +Found 3 errors in 2 files. Errors Files 1 src/main.ts:2 - 1 tsconfig.json:4 + 2 tsconfig.json:3 @@ -135,13 +145,18 @@ const a: string = "hello"; /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -172,13 +187,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 diff --git a/tests/baselines/reference/tsc/noEmitOnError/outFile/syntax-errors-with-declaration-with-incremental.js b/tests/baselines/reference/tsc/noEmitOnError/outFile/syntax-errors-with-declaration-with-incremental.js index 43e79a0e03d90..109607eb507a3 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/outFile/syntax-errors-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmitOnError/outFile/syntax-errors-with-declaration-with-incremental.js @@ -51,17 +51,22 @@ Output:: 4 ;   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors in 2 files. +Found 3 errors in 2 files. Errors Files 1 src/main.ts:4 - 1 tsconfig.json:4 + 2 tsconfig.json:3 //// [/user/username/projects/dev-build.tsbuildinfo] @@ -151,17 +156,22 @@ Output:: 4 ;   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors in 2 files. +Found 3 errors in 2 files. Errors Files 1 src/main.ts:4 - 1 tsconfig.json:4 + 2 tsconfig.json:3 @@ -203,13 +213,18 @@ const a = { /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -295,13 +310,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 diff --git a/tests/baselines/reference/tsc/noEmitOnError/outFile/syntax-errors-with-declaration.js b/tests/baselines/reference/tsc/noEmitOnError/outFile/syntax-errors-with-declaration.js index 99560ff0d1723..9fb8af9263de5 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/outFile/syntax-errors-with-declaration.js +++ b/tests/baselines/reference/tsc/noEmitOnError/outFile/syntax-errors-with-declaration.js @@ -50,17 +50,22 @@ Output:: 4 ;   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors in 2 files. +Found 3 errors in 2 files. Errors Files 1 src/main.ts:4 - 1 tsconfig.json:4 + 2 tsconfig.json:3 @@ -96,17 +101,22 @@ Output:: 4 ;   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors in 2 files. +Found 3 errors in 2 files. Errors Files 1 src/main.ts:4 - 1 tsconfig.json:4 + 2 tsconfig.json:3 @@ -143,13 +153,18 @@ const a = { /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -181,13 +196,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 diff --git a/tests/baselines/reference/tsc/noEmitOnError/outFile/syntax-errors-with-incremental.js b/tests/baselines/reference/tsc/noEmitOnError/outFile/syntax-errors-with-incremental.js index 576723c6e81f4..14d787115c908 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/outFile/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmitOnError/outFile/syntax-errors-with-incremental.js @@ -50,17 +50,22 @@ Output:: 4 ;   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors in 2 files. +Found 3 errors in 2 files. Errors Files 1 src/main.ts:4 - 1 tsconfig.json:4 + 2 tsconfig.json:3 //// [/user/username/projects/dev-build.tsbuildinfo] @@ -148,17 +153,22 @@ Output:: 4 ;   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors in 2 files. +Found 3 errors in 2 files. Errors Files 1 src/main.ts:4 - 1 tsconfig.json:4 + 2 tsconfig.json:3 @@ -199,13 +209,18 @@ const a = { /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -289,13 +304,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 diff --git a/tests/baselines/reference/tsc/noEmitOnError/outFile/syntax-errors.js b/tests/baselines/reference/tsc/noEmitOnError/outFile/syntax-errors.js index 22adb7f488664..e6bef01206a99 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/outFile/syntax-errors.js +++ b/tests/baselines/reference/tsc/noEmitOnError/outFile/syntax-errors.js @@ -49,17 +49,22 @@ Output:: 4 ;   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors in 2 files. +Found 3 errors in 2 files. Errors Files 1 src/main.ts:4 - 1 tsconfig.json:4 + 2 tsconfig.json:3 @@ -94,17 +99,22 @@ Output:: 4 ;   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 2 errors in 2 files. +Found 3 errors in 2 files. Errors Files 1 src/main.ts:4 - 1 tsconfig.json:4 + 2 tsconfig.json:3 @@ -140,13 +150,18 @@ const a = { /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 @@ -177,13 +192,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js Output:: +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -Found 1 error in tsconfig.json:4 +Found 2 errors in the same file, starting at: tsconfig.json:3 diff --git a/tests/baselines/reference/tsc/noEmitOnError/outFile/when-declarationMap-changes-discrepancies.js b/tests/baselines/reference/tsc/noEmitOnError/outFile/when-declarationMap-changes-discrepancies.js index a5caaf5f45672..51aa64397a347 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/outFile/when-declarationMap-changes-discrepancies.js +++ b/tests/baselines/reference/tsc/noEmitOnError/outFile/when-declarationMap-changes-discrepancies.js @@ -1,60 +1,4 @@ 0:: error and enable declarationMap Clean build does not emit any file so will not have outSignature Incremental build has outSignature from before -TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfile.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "fileInfos": { - "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "./project/a.ts": "5515933561-const x: 20 = 10;", - "./project/b.ts": "2026006654-const y = 10;" - }, - "root": [ - [ - 2, - "./project/a.ts" - ], - [ - 3, - "./project/b.ts" - ] - ], - "options": { - "composite": true, - "declaration": true, - "declarationMap": true, - "noEmitOnError": true, - "outFile": "./outFile.js" - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "fileInfos": { - "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "./project/a.ts": "5515933561-const x: 20 = 10;", - "./project/b.ts": "2026006654-const y = 10;" - }, - "root": [ - [ - 2, - "./project/a.ts" - ], - [ - 3, - "./project/b.ts" - ] - ], - "options": { - "composite": true, - "declaration": true, - "declarationMap": true, - "noEmitOnError": true, - "outFile": "./outFile.js" - }, - "outSignature": [ - "-2781996726-declare const x = 10;\ndeclare const y = 10;\n" - ], - "latestChangedDtsFile": "FakeFileName", - "version": "FakeTSVersion" -} \ No newline at end of file +*** Supplied discrepancy explanation but didnt find any difference \ No newline at end of file diff --git a/tests/baselines/reference/tsc/noEmitOnError/outFile/when-declarationMap-changes.js b/tests/baselines/reference/tsc/noEmitOnError/outFile/when-declarationMap-changes.js index c09f0f798e639..24278c79834a3 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/outFile/when-declarationMap-changes.js +++ b/tests/baselines/reference/tsc/noEmitOnError/outFile/when-declarationMap-changes.js @@ -33,20 +33,18 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js Output:: - - -//// [/home/src/workspaces/outFile.js] -var x = 10; -var y = 10; - - -//// [/home/src/workspaces/outFile.d.ts] -declare const x = 10; -declare const y = 10; +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:6 + //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","5029505981-const x = 10;","2026006654-const y = 10;"],"root":[2,3],"options":{"composite":true,"declaration":true,"noEmitOnError":true,"outFile":"./outFile.js"},"outSignature":"-2781996726-declare const x = 10;\ndeclare const y = 10;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","5029505981-const x = 10;","2026006654-const y = 10;"],"root":[2,3],"options":{"composite":true,"declaration":true,"noEmitOnError":true,"outFile":"./outFile.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { @@ -76,14 +74,17 @@ declare const y = 10; "noEmitOnError": true, "outFile": "./outFile.js" }, - "outSignature": "-2781996726-declare const x = 10;\ndeclare const y = 10;\n", - "latestChangedDtsFile": "./outFile.d.ts", + "pendingEmit": [ + "Js | Dts", + false + ], + "errors": true, "version": "FakeTSVersion", - "size": 795 + "size": 713 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: error and enable declarationMap @@ -99,13 +100,21 @@ Output:: 1 const x: 20 = 10;    ~ +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ -Found 1 error in a.ts:1 +Found 2 errors in 2 files. + +Errors Files + 1 a.ts:1 + 1 tsconfig.json:6 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","5515933561-const x: 20 = 10;","2026006654-const y = 10;"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"noEmitOnError":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type '10' is not assignable to type '20'."}]]],"outSignature":["-2781996726-declare const x = 10;\ndeclare const y = 10;\n"],"latestChangedDtsFile":"./outFile.d.ts","pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","5515933561-const x: 20 = 10;","2026006654-const y = 10;"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"noEmitOnError":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type '10' is not assignable to type '20'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { @@ -150,16 +159,12 @@ Found 1 error in a.ts:1 ] ] ], - "outSignature": [ - "-2781996726-declare const x = 10;\ndeclare const y = 10;\n" - ], - "latestChangedDtsFile": "./outFile.d.ts", "pendingEmit": [ "Js | Dts | DtsMap", false ], "version": "FakeTSVersion", - "size": 986 + "size": 868 } @@ -174,16 +179,18 @@ const x = 10; /home/src/tslibs/TS/Lib/tsc.js --declarationMap Output:: +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "../outFile.js" +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:6 + -//// [/home/src/workspaces/outFile.js] file written with same contents -//// [/home/src/workspaces/outFile.d.ts] -declare const x = 10; -declare const y = 10; -//# sourceMappingURL=outFile.d.ts.map - //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","5029505981-const x = 10;","2026006654-const y = 10;"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"noEmitOnError":true,"outFile":"./outFile.js"},"outSignature":"-2781996726-declare const x = 10;\ndeclare const y = 10;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","5029505981-const x = 10;","2026006654-const y = 10;"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"noEmitOnError":true,"outFile":"./outFile.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { @@ -214,14 +221,14 @@ declare const y = 10; "noEmitOnError": true, "outFile": "./outFile.js" }, - "outSignature": "-2781996726-declare const x = 10;\ndeclare const y = 10;\n", - "latestChangedDtsFile": "./outFile.d.ts", + "pendingEmit": [ + "Js | Dts | DtsMap", + false + ], + "errors": true, "version": "FakeTSVersion", - "size": 817 + "size": 735 } -//// [/home/src/workspaces/outFile.d.ts.map] -{"version":3,"file":"outFile.d.ts","sourceRoot":"","sources":["project/a.ts","project/b.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,CAAC,KAAK,CAAC;ACAb,QAAA,MAAM,CAAC,KAAK,CAAC"} - -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsc/projectReferences/when-project-contains-invalid-project-reference.js b/tests/baselines/reference/tsc/projectReferences/when-project-contains-invalid-project-reference.js index 7df36960b23ac..d503ae763bbdb 100644 --- a/tests/baselines/reference/tsc/projectReferences/when-project-contains-invalid-project-reference.js +++ b/tests/baselines/reference/tsc/projectReferences/when-project-contains-invalid-project-reference.js @@ -38,6 +38,11 @@ Output:: 3 "module": "amd",    ~~~~~ +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "theApp.js" +   ~~~~~~~~~ + tsconfig.json:7:5 - error TS6053: File '/home/src/workspaces/Util/Dates' not found. 7 { @@ -48,7 +53,7 @@ Output::   ~~~~~ -Found 2 errors in the same file, starting at: tsconfig.json:3 +Found 3 errors in the same file, starting at: tsconfig.json:3 diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--out'-or-'--outFile'-is-specified.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--out'-or-'--outFile'-is-specified.js index f501d26c4111a..df9b06789260f 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--out'-or-'--outFile'-is-specified.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--out'-or-'--outFile'-is-specified.js @@ -48,7 +48,12 @@ Output:: 3 "module": "system",    ~~~~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "/home/src/projects/a/b/out.js" +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -181,7 +186,12 @@ Output:: 3 "module": "system",    ~~~~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "/home/src/projects/a/b/out.js" +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 2 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-out.js b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-out.js index 509cc5888fd1a..a49394eb25f02 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-out.js +++ b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-out.js @@ -34,7 +34,6 @@ Output:: [HH:MM:SS AM] Starting compilation in watch mode... tsconfig.json:3:5 - error TS5102: Option 'out' has been removed. Please remove it from your configuration. - Use 'outFile' instead. 3 "out": "/home/src/projects/a/out.js"    ~~~~~ @@ -117,7 +116,6 @@ Output:: [HH:MM:SS AM] File change detected. Starting incremental compilation... tsconfig.json:3:5 - error TS5102: Option 'out' has been removed. Please remove it from your configuration. - Use 'outFile' instead. 3 "out": "/home/src/projects/a/out.js"    ~~~~~ @@ -178,7 +176,6 @@ Output:: [HH:MM:SS AM] File change detected. Starting incremental compilation... tsconfig.json:3:5 - error TS5102: Option 'out' has been removed. Please remove it from your configuration. - Use 'outFile' instead. 3 "out": "/home/src/projects/a/out.js"    ~~~~~ diff --git a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-outFile.js b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-outFile.js index eac9777884b41..6a3e3a276ce0e 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-outFile.js +++ b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-outFile.js @@ -33,7 +33,12 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "/home/src/projects/a/out.js" +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -79,10 +84,7 @@ Program files:: /home/src/projects/a/a.ts /home/src/projects/a/b.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/a/a.ts -/home/src/projects/a/b.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -107,7 +109,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "/home/src/projects/a/out.js" +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -134,10 +141,7 @@ Program files:: /home/src/projects/a/a.ts /home/src/projects/a/b.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/a/a.ts -/home/src/projects/a/b.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -162,7 +166,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "/home/src/projects/a/out.js" +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -189,10 +198,7 @@ Program files:: /home/src/projects/a/a.ts /home/src/projects/a/b.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/a/a.ts -/home/src/projects/a/b.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: diff --git a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/with---outFile-and-multiple-declaration-files-in-the-program.js b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/with---outFile-and-multiple-declaration-files-in-the-program.js index 27af645135385..160f1c4a26ced 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/with---outFile-and-multiple-declaration-files-in-the-program.js +++ b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/with---outFile-and-multiple-declaration-files-in-the-program.js @@ -46,10 +46,10 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -src/main2.ts:1:114 - error TS2724: 'Common.SomeComponent.DynamicMenu' has no exported member named 'z'. Did you mean 'Z'? +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 namespace main.file4 { import DynamicMenu = Common.SomeComponent.DynamicMenu; export function foo(a: DynamicMenu.z) { } } -   ~ +3 "outFile": "../output/common.js", +   ~~~~~~~~~ [HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -116,12 +116,7 @@ Program files:: /home/src/projects/a/b/project/src/main.ts /home/src/projects/a/b/project/src/main2.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/a/b/output/AnotherDependency/file1.d.ts -/home/src/projects/a/b/dependencies/file2.d.ts -/home/src/projects/a/b/project/src/main.ts -/home/src/projects/a/b/project/src/main2.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: 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 98ac3ae0ec52e..c81806b816231 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 @@ -58,6 +58,11 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_mod Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots 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 +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "out.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "system" @@ -72,7 +77,7 @@ link/a.ts Imported via "./link/a" from file 'b.ts' b.ts Matched by default include pattern '**/*' -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory @@ -209,6 +214,11 @@ Synchronizing program 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"} +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "out.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "system" @@ -223,7 +233,7 @@ link/a.ts Imported via "./link/a" from file 'b.ts' b.ts Matched by default include pattern '**/*' -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. 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 44d4de5e70060..23fad125dc3d1 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 @@ -58,6 +58,11 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_mod Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots 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 +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "out.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "system" @@ -72,7 +77,7 @@ link/a.ts Imported via "./link/a" from file 'b.ts' b.ts Matched by default include pattern '**/*' -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory @@ -209,6 +214,11 @@ Synchronizing program 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"} +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "out.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "system" @@ -223,7 +233,7 @@ link/a.ts Imported via "./link/a" from file 'b.ts' b.ts Matched by default include pattern '**/*' -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. 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 b34c4d9914ad0..ab2548d33f4bd 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 @@ -58,6 +58,11 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_mod Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots 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 +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "out.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "system" @@ -72,7 +77,7 @@ link/a.ts Imported via "./link/a" from file 'b.ts' b.ts Matched by default include pattern '**/*' -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory @@ -209,6 +214,11 @@ Synchronizing program 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"} +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "out.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "system" @@ -223,7 +233,7 @@ link/a.ts Imported via "./link/a" from file 'b.ts' b.ts Matched by default include pattern '**/*' -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. 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 f0db343a30fc1..07271e3d424a9 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 @@ -58,6 +58,11 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_mod Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots 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 +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "out.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "system" @@ -72,7 +77,7 @@ link/a.ts Imported via "./link/a" from file 'b.ts' b.ts Matched by default include pattern '**/*' -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory @@ -209,6 +214,11 @@ Synchronizing program 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"} +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "out.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "system" @@ -223,7 +233,7 @@ link/a.ts Imported via "./link/a" from file 'b.ts' b.ts Matched by default include pattern '**/*' -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. 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 950f873234a9a..5d1626f19b2f7 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 @@ -58,6 +58,11 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_mod Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots 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 +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "out.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "system" @@ -72,7 +77,7 @@ link/a.ts Imported via "./link/a" from file 'b.ts' b.ts Matched by default include pattern '**/*' -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory @@ -209,6 +214,11 @@ Synchronizing program 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"} +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "out.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "system" @@ -223,7 +233,7 @@ link/a.ts Imported via "./link/a" from file 'b.ts' b.ts Matched by default include pattern '**/*' -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js b/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js index 6d53c0034a293..14b7b3a530409 100644 --- a/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js @@ -31,6 +31,14 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js -i Output:: +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "out.js" +   ~~~~~~~~~ + + +Found 1 error in tsconfig.json:4 + //// [/users/username/projects/project/out.js] @@ -39,7 +47,7 @@ var y = 20; //// [/users/username/projects/project/out.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","5029505981-const x = 10;","2026007743-const y = 20;"],"root":[2,3],"options":{"outFile":"./out.js"},"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","5029505981-const x = 10;","2026007743-const y = 20;"],"root":[2,3],"options":{"outFile":"./out.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/users/username/projects/project/out.tsbuildinfo.readable.baseline.txt] { @@ -66,8 +74,22 @@ var y = 20; "options": { "outFile": "./out.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./file1.ts", + "not cached or not changed" + ], + [ + "./file2.ts", + "not cached or not changed" + ] + ], "version": "FakeTSVersion", - "size": 628 + "size": 665 } @@ -86,11 +108,8 @@ Program files:: /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/users/username/projects/project/file1.ts -/users/username/projects/project/file2.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated diff --git a/tests/baselines/reference/tscWatch/incremental/with---out-watch.js b/tests/baselines/reference/tscWatch/incremental/with---out-watch.js index b7dd993dc1f36..e432fffc67124 100644 --- a/tests/baselines/reference/tscWatch/incremental/with---out-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/with---out-watch.js @@ -34,7 +34,12 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "out.js" +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -44,7 +49,7 @@ var y = 20; //// [/users/username/projects/project/out.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","5029505981-const x = 10;","2026007743-const y = 20;"],"root":[2,3],"options":{"outFile":"./out.js"},"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","5029505981-const x = 10;","2026007743-const y = 20;"],"root":[2,3],"options":{"outFile":"./out.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/users/username/projects/project/out.tsbuildinfo.readable.baseline.txt] { @@ -71,8 +76,22 @@ var y = 20; "options": { "outFile": "./out.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./file1.ts", + "not cached or not changed" + ], + [ + "./file2.ts", + "not cached or not changed" + ] + ], "version": "FakeTSVersion", - "size": 628 + "size": 665 } @@ -112,10 +131,7 @@ Program files:: /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/users/username/projects/project/file1.ts -/users/username/projects/project/file2.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: diff --git a/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-with-incremental-as-modules.js b/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-with-incremental-as-modules.js index c346f07ce880c..259a7765bb6ac 100644 --- a/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-with-incremental-as-modules.js @@ -37,12 +37,17 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -150,12 +155,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -251,12 +261,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -385,12 +400,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -440,12 +460,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -549,12 +574,17 @@ Output::    ~ Add a type annotation to the variable a. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 3 errors. Watching for file changes. @@ -702,12 +732,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-with-incremental.js b/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-with-incremental.js index 1b494bae63df4..107a4e8c92915 100644 --- a/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-with-incremental.js +++ b/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-with-incremental.js @@ -33,22 +33,17 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -a.ts:1:7 - error TS4094: Property 'p' of exported anonymous class type may not be private or protected. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a = class { private p = 10; }; -   ~ - - a.ts:1:7 - 1 const a = class { private p = 10; }; -    ~ - Add a type annotation to the variable a. +3 "outFile": "../outFile.js", +   ~~~~~~~~~ [HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"pendingEmit":17,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -70,35 +65,12 @@ Output:: "declaration": true, "outFile": "./outFile.js" }, - "emitDiagnosticsPerFile": [ - [ - "./project/a.ts", - [ - { - "start": 6, - "length": 1, - "messageText": "Property 'p' of exported anonymous class type may not be private or protected.", - "category": 1, - "code": 4094, - "relatedInformation": [ - { - "start": 6, - "length": 1, - "messageText": "Add a type annotation to the variable a.", - "category": 1, - "code": 9027 - } - ] - } - ] - ] - ], - "pendingEmit": [ - "Js | DtsEmit", - 17 + "changeFileSet": [ + "./project/a.ts", + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 939 + "size": 640 } @@ -136,9 +108,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -163,12 +133,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"pendingEmit":17,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -190,12 +165,12 @@ Output:: "declaration": true, "outFile": "./outFile.js" }, - "pendingEmit": [ - "Js | DtsEmit", - 17 + "changeFileSet": [ + "./project/a.ts", + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 619 + "size": 624 } @@ -216,9 +191,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -249,12 +222,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -276,8 +254,18 @@ Output:: "declaration": true, "outFile": "./outFile.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./project/a.ts", + "not cached or not changed" + ] + ], "version": "FakeTSVersion", - "size": 602 + "size": 637 } //// [/home/src/projects/outFile.js] @@ -305,7 +293,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -337,7 +325,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -359,7 +352,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -384,22 +377,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -a.ts:1:7 - error TS4094: Property 'p' of exported anonymous class type may not be private or protected. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a = class { private p = 10; }; -   ~ - - a.ts:1:7 - 1 const a = class { private p = 10; }; -    ~ - Add a type annotation to the variable a. +3 "outFile": "../outFile.js", +   ~~~~~~~~~ [HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"pendingEmit":17,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -421,35 +409,11 @@ Output:: "declaration": true, "outFile": "./outFile.js" }, - "emitDiagnosticsPerFile": [ - [ - "./project/a.ts", - [ - { - "start": 6, - "length": 1, - "messageText": "Property 'p' of exported anonymous class type may not be private or protected.", - "category": 1, - "code": 4094, - "relatedInformation": [ - { - "start": 6, - "length": 1, - "messageText": "Add a type annotation to the variable a.", - "category": 1, - "code": 9027 - } - ] - } - ] - ] - ], - "pendingEmit": [ - "Js | DtsEmit", - 17 + "changeFileSet": [ + "./project/a.ts" ], "version": "FakeTSVersion", - "size": 939 + "size": 638 } @@ -470,9 +434,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -513,12 +475,17 @@ Output::    ~ Add a type annotation to the variable a. -[HH:MM:SS AM] Found 1 error. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 2 errors. Watching for file changes. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -540,6 +507,16 @@ Output:: "declaration": true, "outFile": "./outFile.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./project/a.ts", + "not cached or not changed" + ] + ], "emitDiagnosticsPerFile": [ [ "./project/a.ts", @@ -564,7 +541,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 922 + "size": 957 } //// [/home/src/projects/outFile.js] @@ -593,7 +570,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -625,15 +602,10 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -a.ts:1:7 - error TS4094: Property 'p' of exported anonymous class type may not be private or protected. - -1 const a = class { private p = 10; }; -   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. - a.ts:1:7 - 1 const a = class { private p = 10; }; -    ~ - Add a type annotation to the variable a. +3 "outFile": "../outFile.js", +   ~~~~~~~~~ [HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -657,7 +629,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: diff --git a/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js b/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js index 8fce34a246c7a..135a26755f3b0 100644 --- a/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js +++ b/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js @@ -36,12 +36,17 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -147,12 +152,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -245,12 +255,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -367,12 +382,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -421,12 +441,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -517,12 +542,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -644,12 +674,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental.js b/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental.js index e6e9e5c5bda23..375d2d4a0a80c 100644 --- a/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental.js +++ b/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental.js @@ -32,12 +32,17 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -58,12 +63,12 @@ Output:: "options": { "outFile": "./outFile.js" }, - "pendingEmit": [ - "Js", - false + "changeFileSet": [ + "./project/a.ts", + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 619 + "size": 621 } @@ -100,9 +105,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -127,12 +130,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -153,12 +161,12 @@ Output:: "options": { "outFile": "./outFile.js" }, - "pendingEmit": [ - "Js", - false + "changeFileSet": [ + "./project/a.ts", + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 603 + "size": 605 } @@ -178,9 +186,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -210,12 +216,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -236,8 +247,18 @@ Output:: "options": { "outFile": "./outFile.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./project/a.ts", + "not cached or not changed" + ] + ], "version": "FakeTSVersion", - "size": 583 + "size": 618 } //// [/home/src/projects/outFile.js] @@ -260,7 +281,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -291,7 +312,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -312,7 +338,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -337,12 +363,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -363,9 +394,8 @@ Output:: "options": { "outFile": "./outFile.js" }, - "pendingEmit": [ - "Js", - false + "changeFileSet": [ + "./project/a.ts" ], "version": "FakeTSVersion", "size": 619 @@ -388,9 +418,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -420,12 +448,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -446,8 +479,18 @@ Output:: "options": { "outFile": "./outFile.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./project/a.ts", + "not cached or not changed" + ] + ], "version": "FakeTSVersion", - "size": 599 + "size": 634 } //// [/home/src/projects/outFile.js] @@ -475,7 +518,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -506,7 +549,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -527,7 +575,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: diff --git a/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-without-dts-enabled.js b/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-without-dts-enabled.js index 3159c75afe21f..9392179e27821 100644 --- a/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-without-dts-enabled.js +++ b/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-without-dts-enabled.js @@ -31,7 +31,12 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -68,9 +73,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -95,7 +98,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -115,9 +123,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -146,7 +152,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -169,7 +180,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -199,7 +210,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -219,7 +235,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -244,7 +260,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -264,9 +285,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -295,7 +314,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -323,7 +347,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -353,7 +377,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -373,7 +402,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: diff --git a/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors.js b/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors.js index 5e3ba223270bd..130930c168c32 100644 --- a/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors.js +++ b/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors.js @@ -32,15 +32,10 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -a.ts:1:7 - error TS4094: Property 'p' of exported anonymous class type may not be private or protected. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a = class { private p = 10; }; -   ~ - - a.ts:1:7 - 1 const a = class { private p = 10; }; -    ~ - Add a type annotation to the variable a. +3 "outFile": "../outFile.js", +   ~~~~~~~~~ [HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -80,9 +75,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -107,7 +100,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -128,9 +126,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -160,7 +156,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -188,7 +189,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -219,7 +220,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -240,7 +246,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -265,15 +271,10 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -a.ts:1:7 - error TS4094: Property 'p' of exported anonymous class type may not be private or protected. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a = class { private p = 10; }; -   ~ - - a.ts:1:7 - 1 const a = class { private p = 10; }; -    ~ - Add a type annotation to the variable a. +3 "outFile": "../outFile.js", +   ~~~~~~~~~ [HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -296,9 +297,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -338,7 +337,12 @@ Output::    ~ Add a type annotation to the variable a. -[HH:MM:SS AM] Found 1 error. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -367,7 +371,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -398,15 +402,10 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -a.ts:1:7 - error TS4094: Property 'p' of exported anonymous class type may not be private or protected. - -1 const a = class { private p = 10; }; -   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. - a.ts:1:7 - 1 const a = class { private p = 10; }; -    ~ - Add a type annotation to the variable a. +3 "outFile": "../outFile.js", +   ~~~~~~~~~ [HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -429,7 +428,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: diff --git a/tests/baselines/reference/tscWatch/noEmit/outFile/semantic-errors-with-incremental-as-modules.js b/tests/baselines/reference/tscWatch/noEmit/outFile/semantic-errors-with-incremental-as-modules.js index e0ed5489f40a1..2ad97fd4fbbee 100644 --- a/tests/baselines/reference/tscWatch/noEmit/outFile/semantic-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tscWatch/noEmit/outFile/semantic-errors-with-incremental-as-modules.js @@ -36,12 +36,17 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -147,12 +152,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -245,12 +255,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -367,12 +382,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -421,12 +441,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -517,12 +542,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -625,12 +655,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/noEmit/outFile/semantic-errors-with-incremental.js b/tests/baselines/reference/tscWatch/noEmit/outFile/semantic-errors-with-incremental.js index ff26fae42a351..e1f8946897287 100644 --- a/tests/baselines/reference/tscWatch/noEmit/outFile/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tscWatch/noEmit/outFile/semantic-errors-with-incremental.js @@ -32,17 +32,17 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js", +   ~~~~~~~~~ [HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -63,26 +63,12 @@ Output:: "options": { "outFile": "./outFile.js" }, - "semanticDiagnosticsPerFile": [ - [ - "./project/a.ts", - [ - { - "start": 6, - "length": 1, - "code": 2322, - "category": 1, - "messageText": "Type 'string' is not assignable to type 'number'." - } - ] - ] - ], - "pendingEmit": [ - "Js", - false + "changeFileSet": [ + "./project/a.ts", + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 761 + "size": 612 } @@ -119,9 +105,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -146,12 +130,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -172,12 +161,12 @@ Output:: "options": { "outFile": "./outFile.js" }, - "pendingEmit": [ - "Js", - false + "changeFileSet": [ + "./project/a.ts", + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 603 + "size": 605 } @@ -197,9 +186,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -229,12 +216,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -255,8 +247,18 @@ Output:: "options": { "outFile": "./outFile.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./project/a.ts", + "not cached or not changed" + ] + ], "version": "FakeTSVersion", - "size": 583 + "size": 618 } //// [/home/src/projects/outFile.js] @@ -279,7 +281,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -310,7 +312,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -331,7 +338,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -356,17 +363,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js", +   ~~~~~~~~~ [HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -387,26 +394,11 @@ Output:: "options": { "outFile": "./outFile.js" }, - "semanticDiagnosticsPerFile": [ - [ - "./project/a.ts", - [ - { - "start": 6, - "length": 1, - "code": 2322, - "category": 1, - "messageText": "Type 'string' is not assignable to type 'number'." - } - ] - ] - ], - "pendingEmit": [ - "Js", - false + "changeFileSet": [ + "./project/a.ts" ], "version": "FakeTSVersion", - "size": 761 + "size": 610 } @@ -426,9 +418,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -458,17 +448,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js", +   ~~~~~~~~~ [HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -490,21 +480,17 @@ Output:: "outFile": "./outFile.js" }, "semanticDiagnosticsPerFile": [ + [ + "../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], [ "./project/a.ts", - [ - { - "start": 6, - "length": 1, - "code": 2322, - "category": 1, - "messageText": "Type 'string' is not assignable to type 'number'." - } - ] + "not cached or not changed" ] ], "version": "FakeTSVersion", - "size": 741 + "size": 625 } //// [/home/src/projects/outFile.js] file written with same contents @@ -524,7 +510,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -555,10 +541,10 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js", +   ~~~~~~~~~ [HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -581,7 +567,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: diff --git a/tests/baselines/reference/tscWatch/noEmit/outFile/semantic-errors.js b/tests/baselines/reference/tscWatch/noEmit/outFile/semantic-errors.js index 9913f6437a997..f3316fa424c6c 100644 --- a/tests/baselines/reference/tscWatch/noEmit/outFile/semantic-errors.js +++ b/tests/baselines/reference/tscWatch/noEmit/outFile/semantic-errors.js @@ -31,10 +31,10 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js", +   ~~~~~~~~~ [HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -73,9 +73,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -100,7 +98,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -120,9 +123,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -151,7 +152,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -174,7 +180,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -204,7 +210,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -224,7 +235,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -249,10 +260,10 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js", +   ~~~~~~~~~ [HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -274,9 +285,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -305,10 +314,10 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js" +   ~~~~~~~~~ [HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -330,7 +339,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -360,10 +369,10 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -a.ts:1:7 - error TS2322: Type 'string' is not assignable to type 'number'. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 const a: number = "hello" -   ~ +3 "outFile": "../outFile.js", +   ~~~~~~~~~ [HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -385,7 +394,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: diff --git a/tests/baselines/reference/tscWatch/noEmit/outFile/syntax-errors-with-incremental-as-modules.js b/tests/baselines/reference/tscWatch/noEmit/outFile/syntax-errors-with-incremental-as-modules.js index 1805c3fd022c1..79d78af1e47aa 100644 --- a/tests/baselines/reference/tscWatch/noEmit/outFile/syntax-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tscWatch/noEmit/outFile/syntax-errors-with-incremental-as-modules.js @@ -147,12 +147,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -245,12 +250,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -367,12 +377,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/noEmit/outFile/syntax-errors-with-incremental.js b/tests/baselines/reference/tscWatch/noEmit/outFile/syntax-errors-with-incremental.js index 66075616cbcb1..cb15b32072b8e 100644 --- a/tests/baselines/reference/tscWatch/noEmit/outFile/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tscWatch/noEmit/outFile/syntax-errors-with-incremental.js @@ -130,12 +130,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -156,12 +161,12 @@ Output:: "options": { "outFile": "./outFile.js" }, - "pendingEmit": [ - "Js", - false + "changeFileSet": [ + "./project/a.ts", + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 603 + "size": 605 } @@ -181,9 +186,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -213,12 +216,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -239,8 +247,18 @@ Output:: "options": { "outFile": "./outFile.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./project/a.ts", + "not cached or not changed" + ] + ], "version": "FakeTSVersion", - "size": 583 + "size": 618 } //// [/home/src/projects/outFile.js] @@ -263,7 +281,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -294,7 +312,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -315,7 +338,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: diff --git a/tests/baselines/reference/tscWatch/noEmit/outFile/syntax-errors.js b/tests/baselines/reference/tscWatch/noEmit/outFile/syntax-errors.js index 31c620f54aa81..33ab5fd13a0d1 100644 --- a/tests/baselines/reference/tscWatch/noEmit/outFile/syntax-errors.js +++ b/tests/baselines/reference/tscWatch/noEmit/outFile/syntax-errors.js @@ -98,7 +98,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -118,9 +123,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/projects/project/a.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -149,7 +152,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js" +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -172,7 +180,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -202,7 +210,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../outFile.js", +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -222,7 +235,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: diff --git a/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError-with-declaration-with-incremental.js b/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError-with-declaration-with-incremental.js index 5582bd6b1c138..04a60d551f49f 100644 --- a/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError-with-declaration-with-incremental.js @@ -54,12 +54,17 @@ Output:: 4 ;   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 3 errors. Watching for file changes. @@ -201,12 +206,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -330,12 +340,17 @@ Output:: 2 const a: string = 10;    ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 3 errors. Watching for file changes. @@ -467,12 +482,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -592,12 +612,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -717,12 +742,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError-with-declaration.js b/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError-with-declaration.js index 07dad3a8821ac..8cb03b741235b 100644 --- a/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError-with-declaration.js +++ b/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError-with-declaration.js @@ -53,12 +53,17 @@ Output:: 4 ;   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 3 errors. Watching for file changes. @@ -154,12 +159,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -237,12 +247,17 @@ Output:: 2 const a: string = 10;    ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 3 errors. Watching for file changes. @@ -315,12 +330,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -394,12 +414,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -473,12 +498,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError-with-incremental.js index c43d23a19984e..89fdc5b062497 100644 --- a/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError-with-incremental.js @@ -53,12 +53,17 @@ Output:: 4 ;   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 3 errors. Watching for file changes. @@ -198,12 +203,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -325,12 +335,17 @@ Output:: 2 const a: string = 10;    ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 3 errors. Watching for file changes. @@ -460,12 +475,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -583,12 +603,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -706,12 +731,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError.js b/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError.js index 4ef5df0fcec3f..98d78b2066612 100644 --- a/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError.js @@ -52,12 +52,17 @@ Output:: 4 ;   ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 3 errors. Watching for file changes. @@ -152,12 +157,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -234,12 +244,17 @@ Output:: 2 const a: string = 10;    ~ +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 3 errors. Watching for file changes. @@ -311,12 +326,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -389,12 +409,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -467,12 +492,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "../dev-build.js", +   ~~~~~~~~~ + tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/programUpdates/can-update-configured-project-when-set-of-root-files-was-not-changed.js b/tests/baselines/reference/tscWatch/programUpdates/can-update-configured-project-when-set-of-root-files-was-not-changed.js index 988a9db1bdf10..87f3f0633a451 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/can-update-configured-project-when-set-of-root-files-was-not-changed.js +++ b/tests/baselines/reference/tscWatch/programUpdates/can-update-configured-project-when-set-of-root-files-was-not-changed.js @@ -121,7 +121,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "outFile": "out.js" +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -147,10 +152,7 @@ Program files:: /user/username/workspace/solution/projects/project/f1.ts /user/username/workspace/solution/projects/project/f2.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/user/username/workspace/solution/projects/project/f1.ts -/user/username/workspace/solution/projects/project/f2.ts +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: 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 90630a3685e48..8310e61cfceea 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 @@ -39,7 +39,12 @@ Output:: 3 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "build/outFile.js" +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -137,7 +142,12 @@ Output:: 3 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "build/outFile.js" +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 2 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/watchApi/outFile/noEmit-with-composite-with-emit-builder.js b/tests/baselines/reference/tscWatch/watchApi/outFile/noEmit-with-composite-with-emit-builder.js index 5cc53012604a4..3a6d766986106 100644 --- a/tests/baselines/reference/tscWatch/watchApi/outFile/noEmit-with-composite-with-emit-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/outFile/noEmit-with-composite-with-emit-builder.js @@ -35,12 +35,17 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -132,12 +137,17 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -311,12 +321,17 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -408,12 +423,17 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -580,12 +600,17 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/watchApi/outFile/noEmit-with-composite-with-semantic-builder.js b/tests/baselines/reference/tscWatch/watchApi/outFile/noEmit-with-composite-with-semantic-builder.js index 289174f4c4713..c0ab852fc83ec 100644 --- a/tests/baselines/reference/tscWatch/watchApi/outFile/noEmit-with-composite-with-semantic-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/outFile/noEmit-with-composite-with-semantic-builder.js @@ -35,12 +35,17 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -139,12 +144,17 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -325,12 +335,17 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -429,12 +444,17 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -608,12 +628,17 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... +tsconfig.json:4:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:5:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 5 "module": "amd"    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/watchApi/outFile/noEmitOnError-with-composite-with-emit-builder.js b/tests/baselines/reference/tscWatch/watchApi/outFile/noEmitOnError-with-composite-with-emit-builder.js index 1b0b9d5cade2f..a2e2289dd8ef7 100644 --- a/tests/baselines/reference/tscWatch/watchApi/outFile/noEmitOnError-with-composite-with-emit-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/outFile/noEmitOnError-with-composite-with-emit-builder.js @@ -41,12 +41,17 @@ Output:: 1 export const x: string = 10;    ~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 3 errors. Watching for file changes. @@ -188,12 +193,17 @@ Output:: 1 export const x: string = 10;    ~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 3 errors. Watching for file changes. @@ -329,12 +339,17 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/watchApi/outFile/noEmitOnError-with-composite-with-semantic-builder.js b/tests/baselines/reference/tscWatch/watchApi/outFile/noEmitOnError-with-composite-with-semantic-builder.js index 00ca73cd83108..614f4c173579e 100644 --- a/tests/baselines/reference/tscWatch/watchApi/outFile/noEmitOnError-with-composite-with-semantic-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/outFile/noEmitOnError-with-composite-with-semantic-builder.js @@ -41,12 +41,17 @@ Output:: 1 export const x: string = 10;    ~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 3 errors. Watching for file changes. @@ -195,12 +200,17 @@ Output:: 1 export const x: string = 10;    ~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 3 errors. Watching for file changes. @@ -343,12 +353,17 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/watchApi/outFile/semantic-builder-emitOnlyDts.js b/tests/baselines/reference/tscWatch/watchApi/outFile/semantic-builder-emitOnlyDts.js index b90e4923c2e5d..e04c6439794c2 100644 --- a/tests/baselines/reference/tscWatch/watchApi/outFile/semantic-builder-emitOnlyDts.js +++ b/tests/baselines/reference/tscWatch/watchApi/outFile/semantic-builder-emitOnlyDts.js @@ -41,12 +41,17 @@ Output:: 1 export const x: string = 10;    ~ +tsconfig.json:5:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +5 "outFile": "../outFile.js", +   ~~~~~~~~~ + tsconfig.json:6:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 6 "module": "amd"    ~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 3 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/watchApi/outFile/verifies-that-noEmit-is-handled-on-createSemanticDiagnosticsBuilderProgram.js b/tests/baselines/reference/tscWatch/watchApi/outFile/verifies-that-noEmit-is-handled-on-createSemanticDiagnosticsBuilderProgram.js index b0a16703507c7..d7303e7ba4425 100644 --- a/tests/baselines/reference/tscWatch/watchApi/outFile/verifies-that-noEmit-is-handled-on-createSemanticDiagnosticsBuilderProgram.js +++ b/tests/baselines/reference/tscWatch/watchApi/outFile/verifies-that-noEmit-is-handled-on-createSemanticDiagnosticsBuilderProgram.js @@ -29,9 +29,11 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. @@ -98,9 +100,11 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 2 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/watchApi/outFile/when-emitting-with-emitOnlyDtsFiles.js b/tests/baselines/reference/tscWatch/watchApi/outFile/when-emitting-with-emitOnlyDtsFiles.js index c793ba7e4951f..4097c813ca761 100644 --- a/tests/baselines/reference/tscWatch/watchApi/outFile/when-emitting-with-emitOnlyDtsFiles.js +++ b/tests/baselines/reference/tscWatch/watchApi/outFile/when-emitting-with-emitOnlyDtsFiles.js @@ -62,7 +62,12 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node 5 "module": "amd",    ~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +tsconfig.json:6:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "outFile": "outFile.js" +   ~~~~~~~~~ + +[HH:MM:SS AM] Found 3 errors. Watching for file changes. 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 8562406544be1..6e200f12108ad 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 @@ -168,7 +168,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/user/username/projects/myproject/app1/app.ts", "configFile": "/user/username/projects/myproject/app1/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 7, + "offset": 5 + }, + "end": { + "line": 7, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/myproject/app1/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/app1/tsconfig.json' (Configured) @@ -344,7 +359,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/user/username/projects/myproject/app2/app.ts", "configFile": "/user/username/projects/myproject/app2/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 7, + "offset": 5 + }, + "end": { + "line": 7, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/myproject/app2/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/app1/tsconfig.json' (Configured) 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 b34f833cabc78..d85b19bc56694 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 @@ -168,7 +168,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/user/username/projects/myproject/app1/app.ts", "configFile": "/user/username/projects/myproject/app1/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 7, + "offset": 5 + }, + "end": { + "line": 7, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/myproject/app1/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/app1/tsconfig.json' (Configured) @@ -344,7 +359,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/user/username/projects/myproject/app2/app.ts", "configFile": "/user/username/projects/myproject/app2/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 7, + "offset": 5 + }, + "end": { + "line": 7, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/myproject/app2/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/app1/tsconfig.json' (Configured) 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 4026d53599894..75e3f03e1197d 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 @@ -151,7 +151,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/home/src/workspace/projects/project/a.ts", "configFile": "/home/src/workspace/projects/project/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 3, + "offset": 5 + }, + "end": { + "line": 3, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/home/src/workspace/projects/project/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/project/tsconfig.json' (Configured) diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-outFile.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-outFile.js index fd1ed7a41b7a9..a54808e722601 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-outFile.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-outFile.js @@ -169,6 +169,20 @@ Info seq [hh:mm:ss:mss] event: "code": 5107, "category": "error", "fileName": "/home/src/workspace/projects/b/tsconfig.json" + }, + { + "start": { + "line": 5, + "offset": 29 + }, + "end": { + "line": 5, + "offset": 38 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/home/src/workspace/projects/b/tsconfig.json" } ] } 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 109f9fc1f0663..54ce31ae73413 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 @@ -280,7 +280,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/user/username/projects/project/tsconfig.json", "configFile": "/user/username/projects/project/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 3, + "offset": 5 + }, + "end": { + "line": 3, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/project/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* 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 da98d662076dc..d6230e2825d9b 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 @@ -176,7 +176,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/home/src/projects/project/a/a.ts", "configFile": "/home/src/projects/project/a/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 5, + "offset": 5 + }, + "end": { + "line": 5, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/home/src/projects/project/a/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) 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 e0d888ed9e83f..170f68fdf88ca 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 @@ -155,6 +155,20 @@ Info seq [hh:mm:ss:mss] event: "code": 5107, "category": "error", "fileName": "/users/username/projects/project/tsconfig.json" + }, + { + "start": { + "line": 4, + "offset": 5 + }, + "end": { + "line": 4, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/users/username/projects/project/tsconfig.json" } ], "triggerFile": "/users/username/projects/project/file1Consumer1.ts" 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 d614cb85c8307..ddec9469f706d 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 @@ -136,7 +136,22 @@ Info seq [hh:mm:ss:mss] event: "event": "CustomHandler::configFileDiag", "body": { "configFileName": "/users/username/projects/project/tsconfig.json", - "diagnostics": [], + "diagnostics": [ + { + "start": { + "line": 3, + "offset": 5 + }, + "end": { + "line": 3, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/users/username/projects/project/tsconfig.json" + } + ], "triggerFile": "/users/username/projects/project/a.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 00e07b7023cf2..79a7835ad13b5 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 @@ -159,6 +159,20 @@ Info seq [hh:mm:ss:mss] event: "code": 5107, "category": "error", "fileName": "/users/username/projects/project/tsconfig.json" + }, + { + "start": { + "line": 4, + "offset": 5 + }, + "end": { + "line": 4, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/users/username/projects/project/tsconfig.json" } ] } 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 88b30f277cfb8..c4825063626c8 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 @@ -140,7 +140,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/users/username/projects/project/a.ts", "configFile": "/users/username/projects/project/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 3, + "offset": 5 + }, + "end": { + "line": 3, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/users/username/projects/project/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) 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 f46dd9c93fd23..fc19c57e20edf 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 @@ -159,6 +159,20 @@ Info seq [hh:mm:ss:mss] event: "code": 5107, "category": "error", "fileName": "/users/username/projects/project/tsconfig.json" + }, + { + "start": { + "line": 4, + "offset": 5 + }, + "end": { + "line": 4, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/users/username/projects/project/tsconfig.json" } ] } 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 60fa2e32effc1..2c68688466f9c 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 @@ -140,7 +140,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/users/username/projects/project/a.ts", "configFile": "/users/username/projects/project/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 3, + "offset": 5 + }, + "end": { + "line": 3, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/users/username/projects/project/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) 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 f2064f9ecbe4e..0a210a8b6d400 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 @@ -168,6 +168,20 @@ Info seq [hh:mm:ss:mss] event: "triggerFile": "/user/username/projects/myproject/b.ts", "configFile": "/user/username/projects/myproject/tsconfig.json", "diagnostics": [ + { + "start": { + "line": 4, + "offset": 5 + }, + "end": { + "line": 4, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/myproject/tsconfig.json" + }, { "start": { "line": 5, 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 8f3f4a459ffc4..91d605a937170 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 @@ -168,6 +168,20 @@ Info seq [hh:mm:ss:mss] event: "triggerFile": "/user/username/projects/myproject/b.ts", "configFile": "/user/username/projects/myproject/tsconfig.json", "diagnostics": [ + { + "start": { + "line": 4, + "offset": 5 + }, + "end": { + "line": 4, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/myproject/tsconfig.json" + }, { "start": { "line": 5, 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 33ad72ed0d7ca..b8fe55c5c1578 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 @@ -168,6 +168,20 @@ Info seq [hh:mm:ss:mss] event: "triggerFile": "/user/username/projects/myproject/b.ts", "configFile": "/user/username/projects/myproject/tsconfig.json", "diagnostics": [ + { + "start": { + "line": 4, + "offset": 5 + }, + "end": { + "line": 4, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/myproject/tsconfig.json" + }, { "start": { "line": 5, 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 78e2373e73353..df86c265d3bfe 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 @@ -168,6 +168,20 @@ Info seq [hh:mm:ss:mss] event: "triggerFile": "/user/username/projects/myproject/b.ts", "configFile": "/user/username/projects/myproject/tsconfig.json", "diagnostics": [ + { + "start": { + "line": 4, + "offset": 5 + }, + "end": { + "line": 4, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/myproject/tsconfig.json" + }, { "start": { "line": 5, 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 19be3c19c5ac1..bd6a056b54f8e 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 @@ -168,6 +168,20 @@ Info seq [hh:mm:ss:mss] event: "triggerFile": "/user/username/projects/myproject/b.ts", "configFile": "/user/username/projects/myproject/tsconfig.json", "diagnostics": [ + { + "start": { + "line": 4, + "offset": 5 + }, + "end": { + "line": 4, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/myproject/tsconfig.json" + }, { "start": { "line": 5, 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 3743c940b5812..52b36ca07b192 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 @@ -168,6 +168,20 @@ Info seq [hh:mm:ss:mss] event: "triggerFile": "/user/username/projects/myproject/b.ts", "configFile": "/user/username/projects/myproject/tsconfig.json", "diagnostics": [ + { + "start": { + "line": 4, + "offset": 5 + }, + "end": { + "line": 4, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/myproject/tsconfig.json" + }, { "start": { "line": 5, 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 f66efe02c9425..822b8f00665e2 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 @@ -168,6 +168,20 @@ Info seq [hh:mm:ss:mss] event: "triggerFile": "/user/username/projects/myproject/b.ts", "configFile": "/user/username/projects/myproject/tsconfig.json", "diagnostics": [ + { + "start": { + "line": 4, + "offset": 5 + }, + "end": { + "line": 4, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/myproject/tsconfig.json" + }, { "start": { "line": 5, 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 62ee167cd3ee3..99c18810c479d 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 @@ -168,6 +168,20 @@ Info seq [hh:mm:ss:mss] event: "triggerFile": "/user/username/projects/myproject/b.ts", "configFile": "/user/username/projects/myproject/tsconfig.json", "diagnostics": [ + { + "start": { + "line": 4, + "offset": 5 + }, + "end": { + "line": 4, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/myproject/tsconfig.json" + }, { "start": { "line": 5, 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 bdf42c352f2c1..7da3485f87ecc 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 @@ -168,6 +168,20 @@ Info seq [hh:mm:ss:mss] event: "triggerFile": "/user/username/projects/myproject/b.ts", "configFile": "/user/username/projects/myproject/tsconfig.json", "diagnostics": [ + { + "start": { + "line": 4, + "offset": 5 + }, + "end": { + "line": 4, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/myproject/tsconfig.json" + }, { "start": { "line": 5, 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 d306783327b8c..0a23adc84770c 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 @@ -168,6 +168,20 @@ Info seq [hh:mm:ss:mss] event: "triggerFile": "/user/username/projects/myproject/b.ts", "configFile": "/user/username/projects/myproject/tsconfig.json", "diagnostics": [ + { + "start": { + "line": 4, + "offset": 5 + }, + "end": { + "line": 4, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/myproject/tsconfig.json" + }, { "start": { "line": 5, 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 7516c616f5e1f..2740772d819fd 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 @@ -168,6 +168,20 @@ Info seq [hh:mm:ss:mss] event: "triggerFile": "/user/username/projects/myproject/b.ts", "configFile": "/user/username/projects/myproject/tsconfig.json", "diagnostics": [ + { + "start": { + "line": 4, + "offset": 5 + }, + "end": { + "line": 4, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/myproject/tsconfig.json" + }, { "start": { "line": 5, 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 ecce46211a5a8..5da3fd56338ac 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 @@ -168,6 +168,20 @@ Info seq [hh:mm:ss:mss] event: "triggerFile": "/user/username/projects/myproject/b.ts", "configFile": "/user/username/projects/myproject/tsconfig.json", "diagnostics": [ + { + "start": { + "line": 4, + "offset": 5 + }, + "end": { + "line": 4, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/myproject/tsconfig.json" + }, { "start": { "line": 5, 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 d2b72c17b3b26..af90468d95ef0 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 @@ -168,6 +168,20 @@ Info seq [hh:mm:ss:mss] event: "triggerFile": "/user/username/projects/myproject/b.ts", "configFile": "/user/username/projects/myproject/tsconfig.json", "diagnostics": [ + { + "start": { + "line": 4, + "offset": 5 + }, + "end": { + "line": 4, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/myproject/tsconfig.json" + }, { "start": { "line": 5, 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 c71e5a72b17ba..265c35c664733 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 @@ -168,6 +168,20 @@ Info seq [hh:mm:ss:mss] event: "triggerFile": "/user/username/projects/myproject/b.ts", "configFile": "/user/username/projects/myproject/tsconfig.json", "diagnostics": [ + { + "start": { + "line": 4, + "offset": 5 + }, + "end": { + "line": 4, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/myproject/tsconfig.json" + }, { "start": { "line": 5, 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 b614e6e5adf0d..c0cfe24f4ba96 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 @@ -168,6 +168,20 @@ Info seq [hh:mm:ss:mss] event: "triggerFile": "/user/username/projects/myproject/b.ts", "configFile": "/user/username/projects/myproject/tsconfig.json", "diagnostics": [ + { + "start": { + "line": 4, + "offset": 5 + }, + "end": { + "line": 4, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/myproject/tsconfig.json" + }, { "start": { "line": 5, 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 83f20dd96586e..6a204271bcf54 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 @@ -168,6 +168,20 @@ Info seq [hh:mm:ss:mss] event: "triggerFile": "/user/username/projects/myproject/b.ts", "configFile": "/user/username/projects/myproject/tsconfig.json", "diagnostics": [ + { + "start": { + "line": 4, + "offset": 5 + }, + "end": { + "line": 4, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/myproject/tsconfig.json" + }, { "start": { "line": 5, 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 80994ab9a2cfd..e90600a46c5a4 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 @@ -168,6 +168,20 @@ Info seq [hh:mm:ss:mss] event: "triggerFile": "/user/username/projects/myproject/b.ts", "configFile": "/user/username/projects/myproject/tsconfig.json", "diagnostics": [ + { + "start": { + "line": 4, + "offset": 5 + }, + "end": { + "line": 4, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/myproject/tsconfig.json" + }, { "start": { "line": 5, 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 c954c89aad037..5e30023469447 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 @@ -168,6 +168,20 @@ Info seq [hh:mm:ss:mss] event: "triggerFile": "/user/username/projects/myproject/b.ts", "configFile": "/user/username/projects/myproject/tsconfig.json", "diagnostics": [ + { + "start": { + "line": 4, + "offset": 5 + }, + "end": { + "line": 4, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/myproject/tsconfig.json" + }, { "start": { "line": 5, 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 84d53553177ea..873b0eab69cd4 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 @@ -168,6 +168,20 @@ Info seq [hh:mm:ss:mss] event: "triggerFile": "/user/username/projects/myproject/b.ts", "configFile": "/user/username/projects/myproject/tsconfig.json", "diagnostics": [ + { + "start": { + "line": 4, + "offset": 5 + }, + "end": { + "line": 4, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/myproject/tsconfig.json" + }, { "start": { "line": 5, 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 f9e53a60573c5..abcbfc0bfe981 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 @@ -168,6 +168,20 @@ Info seq [hh:mm:ss:mss] event: "triggerFile": "/user/username/projects/myproject/b.ts", "configFile": "/user/username/projects/myproject/tsconfig.json", "diagnostics": [ + { + "start": { + "line": 4, + "offset": 5 + }, + "end": { + "line": 4, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/myproject/tsconfig.json" + }, { "start": { "line": 5, diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionSameNameDifferentDirectory.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionSameNameDifferentDirectory.js index d6592cc998a1a..54549f1652405 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionSameNameDifferentDirectory.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionSameNameDifferentDirectory.js @@ -269,7 +269,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/tests/cases/fourslash/server/buttonClass/Source.ts", "configFile": "/tests/cases/fourslash/server/buttonClass/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 4, + "offset": 7 + }, + "end": { + "line": 4, + "offset": 16 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/tests/cases/fourslash/server/buttonClass/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] `remove Project:: 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 466c87bc8a835..0a18d185a9b1b 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 @@ -353,6 +353,20 @@ Info seq [hh:mm:ss:mss] event: "code": 5107, "category": "error", "fileName": "/user/username/projects/myproject/SiblingClass/tsconfig.json" + }, + { + "start": { + "line": 9, + "offset": 5 + }, + "end": { + "line": 9, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/myproject/SiblingClass/tsconfig.json" } ] } 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 ae17229877f2a..26b8018846703 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 @@ -192,7 +192,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/user/username/projects/myproject/usage/usage.ts", "configFile": "/user/username/projects/myproject/usage/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 4, + "offset": 5 + }, + "end": { + "line": 4, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/myproject/usage/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/tsconfig.json ProjectRootPath: undefined:: Result: undefined 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 4c4356b88c7c6..0720a2114cf6e 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 @@ -192,7 +192,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/user/username/projects/myproject/usage/usage.ts", "configFile": "/user/username/projects/myproject/usage/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 4, + "offset": 5 + }, + "end": { + "line": 4, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/myproject/usage/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/tsconfig.json ProjectRootPath: undefined:: Result: undefined 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 28c1163610f49..b36bc4b37d663 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 @@ -192,7 +192,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/user/username/projects/myproject/usage/usage.ts", "configFile": "/user/username/projects/myproject/usage/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 4, + "offset": 5 + }, + "end": { + "line": 4, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/myproject/usage/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/tsconfig.json ProjectRootPath: undefined:: Result: undefined 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 bde7d93fc187c..448a89b66a896 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 @@ -192,7 +192,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/user/username/projects/myproject/usage/usage.ts", "configFile": "/user/username/projects/myproject/usage/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 4, + "offset": 5 + }, + "end": { + "line": 4, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/myproject/usage/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/tsconfig.json ProjectRootPath: undefined:: Result: undefined @@ -365,7 +380,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/user/username/projects/myproject/dependency/fns.ts", "configFile": "/user/username/projects/myproject/dependency/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 4, + "offset": 5 + }, + "end": { + "line": 4, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/myproject/dependency/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/tsconfig.json ProjectRootPath: undefined:: Result: undefined 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 97c1b5084b9c5..8da45bfc79fba 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 @@ -192,7 +192,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/user/username/projects/myproject/usage/usage.ts", "configFile": "/user/username/projects/myproject/usage/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 4, + "offset": 5 + }, + "end": { + "line": 4, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/myproject/usage/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/tsconfig.json ProjectRootPath: undefined:: Result: undefined @@ -365,7 +380,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/user/username/projects/myproject/dependency/fns.ts", "configFile": "/user/username/projects/myproject/dependency/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 4, + "offset": 5 + }, + "end": { + "line": 4, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/myproject/dependency/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/tsconfig.json ProjectRootPath: undefined:: Result: undefined 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 b9123e29be574..d9bfbab658f85 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 @@ -192,7 +192,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/user/username/projects/myproject/usage/usage.ts", "configFile": "/user/username/projects/myproject/usage/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 4, + "offset": 5 + }, + "end": { + "line": 4, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/myproject/usage/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/tsconfig.json ProjectRootPath: undefined:: Result: undefined @@ -365,7 +380,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/user/username/projects/myproject/dependency/fns.ts", "configFile": "/user/username/projects/myproject/dependency/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 4, + "offset": 5 + }, + "end": { + "line": 4, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/myproject/dependency/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/tsconfig.json ProjectRootPath: undefined:: Result: undefined 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 7cd2d1c4e009a..7fd525dea8cd6 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 @@ -118,7 +118,7 @@ declare namespace container { //# sourceMappingURL=lib.d.ts.map //// [/user/username/projects/container/built/local/lib.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../lib/index.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14968179652-namespace container {\n export const myConst = 30;\n}\n"],"root":[2],"options":{"composite":true,"declarationMap":true,"outFile":"./lib.js"},"outSignature":"4250822250-declare namespace container {\n const myConst = 30;\n}\n","latestChangedDtsFile":"./lib.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../lib/index.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14968179652-namespace container {\n export const myConst = 30;\n}\n"],"root":[2],"options":{"composite":true,"declarationMap":true,"outFile":"./lib.js"},"semanticDiagnosticsPerFile":[1,2],"outSignature":"4250822250-declare namespace container {\n const myConst = 30;\n}\n","latestChangedDtsFile":"./lib.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/container/built/local/lib.tsbuildinfo.readable.baseline.txt] { @@ -141,10 +141,20 @@ declare namespace container { "declarationMap": true, "outFile": "./lib.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../../lib/index.ts", + "not cached or not changed" + ] + ], "outSignature": "4250822250-declare namespace container {\n const myConst = 30;\n}\n", "latestChangedDtsFile": "./lib.d.ts", "version": "FakeTSVersion", - "size": 810 + "size": 845 } //// [/user/username/projects/container/built/local/exec.js] @@ -158,15 +168,16 @@ var container; //// [/user/username/projects/container/built/local/exec.tsbuildinfo] -{"root":["../../exec/index.ts"],"version":"FakeTSVersion"} +{"root":["../../exec/index.ts"],"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/container/built/local/exec.tsbuildinfo.readable.baseline.txt] { "root": [ "../../exec/index.ts" ], + "errors": true, "version": "FakeTSVersion", - "size": 58 + "size": 72 } //// [/user/username/projects/container/built/local/compositeExec.js] @@ -189,7 +200,7 @@ declare namespace container { //# sourceMappingURL=compositeExec.d.ts.map //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib.d.ts","../../compositeexec/index.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","4250822250-declare namespace container {\n const myConst = 30;\n}\n","-4062145979-namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n"],"root":[3],"options":{"composite":true,"declarationMap":true,"outFile":"./compositeExec.js"},"outSignature":"6546330589-declare namespace container {\n function getMyConst(): number;\n}\n","latestChangedDtsFile":"./compositeExec.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib.d.ts","../../compositeexec/index.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","4250822250-declare namespace container {\n const myConst = 30;\n}\n","-4062145979-namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n"],"root":[3],"options":{"composite":true,"declarationMap":true,"outFile":"./compositeExec.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"6546330589-declare namespace container {\n function getMyConst(): number;\n}\n","latestChangedDtsFile":"./compositeExec.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo.readable.baseline.txt] { @@ -214,10 +225,24 @@ declare namespace container { "declarationMap": true, "outFile": "./compositeExec.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./lib.d.ts", + "not cached or not changed" + ], + [ + "../../compositeexec/index.ts", + "not cached or not changed" + ] + ], "outSignature": "6546330589-declare namespace container {\n function getMyConst(): number;\n}\n", "latestChangedDtsFile": "./compositeExec.d.ts", "version": "FakeTSVersion", - "size": 972 + "size": 1009 } @@ -359,7 +384,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/user/username/projects/container/compositeExec/index.ts", "configFile": "/user/username/projects/container/compositeExec/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 3, + "offset": 5 + }, + "end": { + "line": 3, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/container/compositeExec/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/container/compositeExec/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/container/tsconfig.json @@ -665,7 +705,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/user/username/projects/container/lib/index.ts", "configFile": "/user/username/projects/container/lib/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 3, + "offset": 5 + }, + "end": { + "line": 3, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/container/lib/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] event: @@ -876,7 +931,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/user/username/projects/container/exec/tsconfig.json", "configFile": "/user/username/projects/container/exec/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 3, + "offset": 5 + }, + "end": { + "line": 3, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/container/exec/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/container/lib/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/container/lib/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/can-successfully-find-references-with-out-option.js b/tests/baselines/reference/tsserver/projectReferences/can-successfully-find-references-with-out-option.js index 98de9a0906a92..a92138cf247ab 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 @@ -115,7 +115,7 @@ declare namespace container { //# sourceMappingURL=lib.d.ts.map //// [/user/username/projects/container/built/local/lib.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../lib/index.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14968179652-namespace container {\n export const myConst = 30;\n}\n"],"root":[2],"options":{"composite":true,"declarationMap":true,"outFile":"./lib.js"},"outSignature":"4250822250-declare namespace container {\n const myConst = 30;\n}\n","latestChangedDtsFile":"./lib.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../lib/index.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14968179652-namespace container {\n export const myConst = 30;\n}\n"],"root":[2],"options":{"composite":true,"declarationMap":true,"outFile":"./lib.js"},"semanticDiagnosticsPerFile":[1,2],"outSignature":"4250822250-declare namespace container {\n const myConst = 30;\n}\n","latestChangedDtsFile":"./lib.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/container/built/local/lib.tsbuildinfo.readable.baseline.txt] { @@ -138,10 +138,20 @@ declare namespace container { "declarationMap": true, "outFile": "./lib.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../../lib/index.ts", + "not cached or not changed" + ] + ], "outSignature": "4250822250-declare namespace container {\n const myConst = 30;\n}\n", "latestChangedDtsFile": "./lib.d.ts", "version": "FakeTSVersion", - "size": 810 + "size": 845 } //// [/user/username/projects/container/built/local/exec.js] @@ -155,15 +165,16 @@ var container; //// [/user/username/projects/container/built/local/exec.tsbuildinfo] -{"root":["../../exec/index.ts"],"version":"FakeTSVersion"} +{"root":["../../exec/index.ts"],"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/container/built/local/exec.tsbuildinfo.readable.baseline.txt] { "root": [ "../../exec/index.ts" ], + "errors": true, "version": "FakeTSVersion", - "size": 58 + "size": 72 } //// [/user/username/projects/container/built/local/compositeExec.js] @@ -186,7 +197,7 @@ declare namespace container { //# sourceMappingURL=compositeExec.d.ts.map //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib.d.ts","../../compositeexec/index.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","4250822250-declare namespace container {\n const myConst = 30;\n}\n","-4062145979-namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n"],"root":[3],"options":{"composite":true,"declarationMap":true,"outFile":"./compositeExec.js"},"outSignature":"6546330589-declare namespace container {\n function getMyConst(): number;\n}\n","latestChangedDtsFile":"./compositeExec.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib.d.ts","../../compositeexec/index.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","4250822250-declare namespace container {\n const myConst = 30;\n}\n","-4062145979-namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n"],"root":[3],"options":{"composite":true,"declarationMap":true,"outFile":"./compositeExec.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"6546330589-declare namespace container {\n function getMyConst(): number;\n}\n","latestChangedDtsFile":"./compositeExec.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo.readable.baseline.txt] { @@ -211,10 +222,24 @@ declare namespace container { "declarationMap": true, "outFile": "./compositeExec.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./lib.d.ts", + "not cached or not changed" + ], + [ + "../../compositeexec/index.ts", + "not cached or not changed" + ] + ], "outSignature": "6546330589-declare namespace container {\n function getMyConst(): number;\n}\n", "latestChangedDtsFile": "./compositeExec.d.ts", "version": "FakeTSVersion", - "size": 972 + "size": 1009 } @@ -356,7 +381,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/user/username/projects/container/compositeExec/index.ts", "configFile": "/user/username/projects/container/compositeExec/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 3, + "offset": 5 + }, + "end": { + "line": 3, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/container/compositeExec/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/container/compositeExec/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/container/tsconfig.json @@ -539,7 +579,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/user/username/projects/container/lib/index.ts", "configFile": "/user/username/projects/container/lib/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 3, + "offset": 5 + }, + "end": { + "line": 3, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/container/lib/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] event: @@ -750,7 +805,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/user/username/projects/container/exec/tsconfig.json", "configFile": "/user/username/projects/container/exec/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 3, + "offset": 5 + }, + "end": { + "line": 3, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/container/exec/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/container/lib/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/container/lib/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/does-not-error-on-container-only-project.js b/tests/baselines/reference/tsserver/projectReferences/does-not-error-on-container-only-project.js index 3b96fa117f95a..0ab75a719940e 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 @@ -115,7 +115,7 @@ declare namespace container { //# sourceMappingURL=lib.d.ts.map //// [/user/username/projects/container/built/local/lib.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../lib/index.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14968179652-namespace container {\n export const myConst = 30;\n}\n"],"root":[2],"options":{"composite":true,"declarationMap":true,"outFile":"./lib.js"},"outSignature":"4250822250-declare namespace container {\n const myConst = 30;\n}\n","latestChangedDtsFile":"./lib.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../lib/index.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14968179652-namespace container {\n export const myConst = 30;\n}\n"],"root":[2],"options":{"composite":true,"declarationMap":true,"outFile":"./lib.js"},"semanticDiagnosticsPerFile":[1,2],"outSignature":"4250822250-declare namespace container {\n const myConst = 30;\n}\n","latestChangedDtsFile":"./lib.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/container/built/local/lib.tsbuildinfo.readable.baseline.txt] { @@ -138,10 +138,20 @@ declare namespace container { "declarationMap": true, "outFile": "./lib.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../../lib/index.ts", + "not cached or not changed" + ] + ], "outSignature": "4250822250-declare namespace container {\n const myConst = 30;\n}\n", "latestChangedDtsFile": "./lib.d.ts", "version": "FakeTSVersion", - "size": 810 + "size": 845 } //// [/user/username/projects/container/built/local/exec.js] @@ -155,15 +165,16 @@ var container; //// [/user/username/projects/container/built/local/exec.tsbuildinfo] -{"root":["../../exec/index.ts"],"version":"FakeTSVersion"} +{"root":["../../exec/index.ts"],"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/container/built/local/exec.tsbuildinfo.readable.baseline.txt] { "root": [ "../../exec/index.ts" ], + "errors": true, "version": "FakeTSVersion", - "size": 58 + "size": 72 } //// [/user/username/projects/container/built/local/compositeExec.js] @@ -186,7 +197,7 @@ declare namespace container { //# sourceMappingURL=compositeExec.d.ts.map //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib.d.ts","../../compositeexec/index.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","4250822250-declare namespace container {\n const myConst = 30;\n}\n","-4062145979-namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n"],"root":[3],"options":{"composite":true,"declarationMap":true,"outFile":"./compositeExec.js"},"outSignature":"6546330589-declare namespace container {\n function getMyConst(): number;\n}\n","latestChangedDtsFile":"./compositeExec.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib.d.ts","../../compositeexec/index.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","4250822250-declare namespace container {\n const myConst = 30;\n}\n","-4062145979-namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n"],"root":[3],"options":{"composite":true,"declarationMap":true,"outFile":"./compositeExec.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"6546330589-declare namespace container {\n function getMyConst(): number;\n}\n","latestChangedDtsFile":"./compositeExec.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo.readable.baseline.txt] { @@ -211,10 +222,24 @@ declare namespace container { "declarationMap": true, "outFile": "./compositeExec.js" }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./lib.d.ts", + "not cached or not changed" + ], + [ + "../../compositeexec/index.ts", + "not cached or not changed" + ] + ], "outSignature": "6546330589-declare namespace container {\n function getMyConst(): number;\n}\n", "latestChangedDtsFile": "./compositeExec.d.ts", "version": "FakeTSVersion", - "size": 972 + "size": 1009 } @@ -362,7 +387,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/user/username/projects/container/lib/tsconfig.json", "configFile": "/user/username/projects/container/lib/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 3, + "offset": 5 + }, + "end": { + "line": 3, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/container/lib/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/container/exec/tsconfig.json, currentDirectory: /user/username/projects/container/exec @@ -476,7 +516,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/user/username/projects/container/exec/tsconfig.json", "configFile": "/user/username/projects/container/exec/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 3, + "offset": 5 + }, + "end": { + "line": 3, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/container/exec/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/container/compositeExec/tsconfig.json, currentDirectory: /user/username/projects/container/compositeExec @@ -594,7 +649,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/user/username/projects/container/compositeExec/tsconfig.json", "configFile": "/user/username/projects/container/compositeExec/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 3, + "offset": 5 + }, + "end": { + "line": 3, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/user/username/projects/container/compositeExec/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/container/tsconfig.json, currentDirectory: /user/username/projects/container @@ -822,7 +892,21 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] response: { - "response": [], + "response": [ + { + "start": { + "line": 3, + "offset": 5 + }, + "end": { + "line": 3, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error" + } + ], "responseRequired": true } After request @@ -896,7 +980,21 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] response: { - "response": [], + "response": [ + { + "start": { + "line": 3, + "offset": 5 + }, + "end": { + "line": 3, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error" + } + ], "responseRequired": true } After request @@ -970,7 +1068,21 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] response: { - "response": [], + "response": [ + { + "start": { + "line": 3, + "offset": 5 + }, + "end": { + "line": 3, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error" + } + ], "responseRequired": true } After request 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 b367c28fdafb8..2b16f38111d56 100644 --- a/tests/baselines/reference/tsserver/telemetry/does-not-expose-paths.js +++ b/tests/baselines/reference/tsserver/telemetry/does-not-expose-paths.js @@ -295,6 +295,20 @@ Info seq [hh:mm:ss:mss] event: "category": "error", "fileName": "/home/src/projects/project/tsconfig.json" }, + { + "start": { + "line": 4, + "offset": 5 + }, + "end": { + "line": 4, + "offset": 14 + }, + "text": "Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5101, + "category": "error", + "fileName": "/home/src/projects/project/tsconfig.json" + }, { "start": { "line": 7, @@ -360,7 +374,7 @@ Info seq [hh:mm:ss:mss] event: "line": 20, "offset": 10 }, - "text": "Option 'out' has been removed. Please remove it from your configuration.\n Use 'outFile' instead.", + "text": "Option 'out' has been removed. Please remove it from your configuration.", "code": 5102, "category": "error", "fileName": "/home/src/projects/project/tsconfig.json" diff --git a/tests/baselines/reference/typeReferenceDirectives11.errors.txt b/tests/baselines/reference/typeReferenceDirectives11.errors.txt index fa3bba15ee23d..7949645483b5c 100644 --- a/tests/baselines/reference/typeReferenceDirectives11.errors.txt +++ b/tests/baselines/reference/typeReferenceDirectives11.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. /mod1.ts(1,17): error TS6131: Cannot compile modules using option 'outFile' unless the '--module' flag is 'amd' or 'system'. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== /mod2.ts (0 errors) ==== import {foo} from "./mod1"; export const bar = foo(); diff --git a/tests/baselines/reference/typeReferenceDirectives12.errors.txt b/tests/baselines/reference/typeReferenceDirectives12.errors.txt index dce188dc25ca5..ea73362f0a3e9 100644 --- a/tests/baselines/reference/typeReferenceDirectives12.errors.txt +++ b/tests/baselines/reference/typeReferenceDirectives12.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. /main.ts(1,14): error TS6131: Cannot compile modules using option 'outFile' unless the '--module' flag is 'amd' or 'system'. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== /mod2.ts (0 errors) ==== import { Cls } from "./main"; import "./mod1"; diff --git a/tests/baselines/reference/typeSatisfaction_js.errors.txt b/tests/baselines/reference/typeSatisfaction_js.errors.txt index 0858b35c7e426..fe8112216e6e6 100644 --- a/tests/baselines/reference/typeSatisfaction_js.errors.txt +++ b/tests/baselines/reference/typeSatisfaction_js.errors.txt @@ -1,6 +1,8 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. /src/a.js(1,29): error TS8037: Type satisfaction expressions can only be used in TypeScript files. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== /src/a.js (1 errors) ==== var v = undefined satisfies 1; ~ diff --git a/tests/baselines/reference/uniqueSymbolsDeclarationsInJs.errors.txt b/tests/baselines/reference/uniqueSymbolsDeclarationsInJs.errors.txt new file mode 100644 index 0000000000000..4811c79562d9e --- /dev/null +++ b/tests/baselines/reference/uniqueSymbolsDeclarationsInJs.errors.txt @@ -0,0 +1,33 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== uniqueSymbolsDeclarationsInJs.js (0 errors) ==== + // classes + class C { + /** + * @readonly + */ + static readonlyStaticCall = Symbol(); + /** + * @type {unique symbol} + * @readonly + */ + static readonlyStaticType; + /** + * @type {unique symbol} + * @readonly + */ + static readonlyStaticTypeAndCall = Symbol(); + static readwriteStaticCall = Symbol(); + + /** + * @readonly + */ + readonlyCall = Symbol(); + readwriteCall = Symbol(); + } + + /** @type {unique symbol} */ + const a = Symbol(); + \ No newline at end of file diff --git a/tests/baselines/reference/uniqueSymbolsDeclarationsInJsErrors.errors.txt b/tests/baselines/reference/uniqueSymbolsDeclarationsInJsErrors.errors.txt index 681f7c5f3e7d2..03d2d1ce8eb2f 100644 --- a/tests/baselines/reference/uniqueSymbolsDeclarationsInJsErrors.errors.txt +++ b/tests/baselines/reference/uniqueSymbolsDeclarationsInJsErrors.errors.txt @@ -1,7 +1,9 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. uniqueSymbolsDeclarationsInJsErrors.js(5,12): error TS1331: A property of a class whose type is a 'unique symbol' type must be both 'static' and 'readonly'. uniqueSymbolsDeclarationsInJsErrors.js(14,12): error TS1331: A property of a class whose type is a 'unique symbol' type must be both 'static' and 'readonly'. +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== uniqueSymbolsDeclarationsInJsErrors.js (2 errors) ==== class C { /** diff --git a/tests/baselines/reference/useBeforeDeclaration.errors.txt b/tests/baselines/reference/useBeforeDeclaration.errors.txt new file mode 100644 index 0000000000000..8cd7624fb4265 --- /dev/null +++ b/tests/baselines/reference/useBeforeDeclaration.errors.txt @@ -0,0 +1,23 @@ +error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== A.ts (0 errors) ==== + namespace ts { + export function printVersion():void { + log("Version: " + sys.version); // the call of sys.version is deferred, should not report an error. + } + + export function log(info:string):void { + + } + } + +==== B.ts (0 errors) ==== + namespace ts { + + export let sys:{version:string} = {version: "2.0.5"}; + + } + + \ No newline at end of file