From 7c700dbe6b1b71357431c3226bc034ddd2fea0c1 Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Sat, 24 Feb 2024 16:34:48 -0800 Subject: [PATCH 1/3] Remove target=es3 --- src/compiler/_namespaces/ts.ts | 1 - src/compiler/binder.ts | 6 +- src/compiler/checker.ts | 55 ++----- src/compiler/diagnosticMessages.json | 22 ++- src/compiler/factory/emitHelpers.ts | 1 + src/compiler/factory/nodeFactory.ts | 2 +- src/compiler/program.ts | 4 - src/compiler/scanner.ts | 31 +--- src/compiler/transformer.ts | 7 - src/compiler/transformers/es5.ts | 146 ------------------ src/compiler/transformers/legacyDecorators.ts | 16 +- src/compiler/transformers/module/module.ts | 84 ++++------ src/compiler/types.ts | 2 + src/compiler/utilities.ts | 3 +- src/server/protocol.ts | 1 + .../unittests/services/documentRegistry.ts | 2 +- .../unittests/services/transpile.ts | 2 +- src/testRunner/unittests/transform.ts | 4 +- src/testRunner/unittests/tsbuild/sample.ts | 2 +- .../reference/ES3For-ofTypeCheck1.errors.txt | 7 +- .../reference/ES3For-ofTypeCheck4.errors.txt | 7 +- .../reference/accessorWithES3.errors.txt | 14 +- .../accessorsNotAllowedInES3.errors.txt | 8 +- tests/baselines/reference/api/typescript.d.ts | 2 + .../asyncAliasReturnType_es5.errors.txt | 4 +- ...owFunctionCapturesArguments_es5.errors.txt | 4 +- .../asyncFunctionDeclaration15_es5.errors.txt | 20 +-- .../asyncFunctionDeclaration16_es5.errors.txt | 10 +- ...eclarationCapturesArguments_es5.errors.txt | 4 +- .../asyncFunctionNoReturnType.errors.txt | 4 +- ...ctionReturnExpressionErrorSpans.errors.txt | 4 +- ...unctionDeclarationInStrictClass.errors.txt | 4 +- ...nctionDeclarationInStrictModule.errors.txt | 4 +- ...pedFunctionDeclarationStrictES5.errors.txt | 4 +- ...ameFunctionDeclarationStrictES5.errors.txt | 8 +- ...ntaxRestrictions(module=esnext).errors.txt | 4 +- ...axRestrictions(module=preserve).errors.txt | 4 +- .../reference/classStaticBlock6.errors.txt | 4 +- .../definePropertyOutputES3.errors.txt | 2 - ...destructuringControlFlowNoCrash.errors.txt | 4 +- .../reference/downlevelLetConst18.errors.txt | 8 +- .../reference/downlevelLetConst19.errors.txt | 4 +- ...rowFunctionWhenUsingArguments01.errors.txt | 16 +- ...rowFunctionWhenUsingArguments02.errors.txt | 4 +- ...rowFunctionWhenUsingArguments03.errors.txt | 4 +- ...rowFunctionWhenUsingArguments04.errors.txt | 4 +- ...rowFunctionWhenUsingArguments05.errors.txt | 4 +- ...rowFunctionWhenUsingArguments06.errors.txt | 4 +- ...rowFunctionWhenUsingArguments07.errors.txt | 4 +- ...rowFunctionWhenUsingArguments09.errors.txt | 4 +- ...rowFunctionWhenUsingArguments10.errors.txt | 4 +- ...rowFunctionWhenUsingArguments11.errors.txt | 4 +- ...rowFunctionWhenUsingArguments12.errors.txt | 4 +- ...rowFunctionWhenUsingArguments14.errors.txt | 4 +- ...rowFunctionWhenUsingArguments15.errors.txt | 4 +- ...rowFunctionWhenUsingArguments16.errors.txt | 4 +- ...rowFunctionWhenUsingArguments17.errors.txt | 4 +- ...rowFunctionWhenUsingArguments18.errors.txt | 4 +- ...rowFunctionWhenUsingArguments19.errors.txt | 4 +- .../errorOnFunctionReturnType.errors.txt | 6 +- .../reference/es3defaultAliasIsQuoted.js | 8 +- ...ModuleInteropWithExportStar(target=es3).js | 6 +- .../reference/exportAndImport-es3-amd.js | 10 +- .../reference/exportAndImport-es3.js | 10 +- .../exportsAndImportsWithUnderscores1.js | 8 +- .../exportsAndImportsWithUnderscores2.js | 8 +- .../exportsAndImportsWithUnderscores3.js | 10 +- .../exportsAndImportsWithUnderscores4.js | 4 +- .../importCallExpressionAsyncES3AMD.js | 2 +- .../importCallExpressionAsyncES3CJS.js | 2 +- .../importCallExpressionAsyncES3System.js | 10 +- .../importCallExpressionAsyncES3UMD.js | 2 +- ...ExpressionNoModuleKindSpecified.errors.txt | 16 +- ...eta(module=commonjs,target=es5).errors.txt | 4 +- ...(module=commonjs,target=esnext).errors.txt | 4 +- ...tMeta(module=es2020,target=es5).errors.txt | 4 +- ...ta(module=es2020,target=esnext).errors.txt | 4 +- ...tMeta(module=esnext,target=es5).errors.txt | 4 +- ...ta(module=esnext,target=esnext).errors.txt | 4 +- ...tMeta(module=system,target=es5).errors.txt | 4 +- ...ta(module=system,target=esnext).errors.txt | 4 +- .../objectLiteralErrorsES3.errors.txt | 14 +- ...erationsAvailableOnPromisedType.errors.txt | 4 +- .../privateNameES5Ban(target=es3).errors.txt | 16 +- .../baselines/reference/trailingCommasES3.js | 4 +- ...ype (verbatimModuleSyntax=true).errors.txt | 6 - ...export type (verbatimModuleSyntax=true).js | 2 +- ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - ...verbatimModuleSyntax=true).oldTranspile.js | 2 +- ...ier (verbatimModuleSyntax=true).errors.txt | 6 - ...t specifier (verbatimModuleSyntax=true).js | 2 +- ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - ...verbatimModuleSyntax=true).oldTranspile.js | 2 +- ...ics (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - ...t generate semantic diagnostics.errors.txt | 6 - ...mantic diagnostics.oldTranspile.errors.txt | 6 - ...les (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - ... referenced only by export type.errors.txt | 6 - ...t equals referenced only by export type.js | 2 +- ...nly by export type.oldTranspile.errors.txt | 6 - ...renced only by export type.oldTranspile.js | 2 +- ...y by type only export specifier.errors.txt | 6 - ...nced only by type only export specifier.js | 2 +- ...y export specifier.oldTranspile.errors.txt | 6 - ...type only export specifier.oldTranspile.js | 2 +- ...ash (verbatimModuleSyntax=true).errors.txt | 9 -- ...s not crash (verbatimModuleSyntax=true).js | 2 +- ...ModuleSyntax=true).oldTranspile.errors.txt | 9 -- ...verbatimModuleSyntax=true).oldTranspile.js | 2 +- ...r as ns conflict does not crash.errors.txt | 9 -- ...port star as ns conflict does not crash.js | 2 +- ...ict does not crash.oldTranspile.errors.txt | 9 -- ...ns conflict does not crash.oldTranspile.js | 2 +- ...ics (verbatimModuleSyntax=true).errors.txt | 2 - ...ModuleSyntax=true).oldTranspile.errors.txt | 2 - ... expected syntactic diagnostics.errors.txt | 2 - ...tactic diagnostics.oldTranspile.errors.txt | 2 - .../Generates module output.errors.txt | 6 - .../transpile/Generates module output.js | 2 +- ...ates module output.oldTranspile.errors.txt | 6 - .../Generates module output.oldTranspile.js | 2 +- ...ces (verbatimModuleSyntax=true).errors.txt | 7 - ...ModuleSyntax=true).oldTranspile.errors.txt | 7 - ...ics for missing file references.errors.txt | 7 - ...ng file references.oldTranspile.errors.txt | 7 - ...rts (verbatimModuleSyntax=true).errors.txt | 6 - ...ule imports (verbatimModuleSyntax=true).js | 2 +- ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - ...verbatimModuleSyntax=true).oldTranspile.js | 2 +- ...tics for missing module imports.errors.txt | 6 - ... diagnostics for missing module imports.js | 2 +- ...ing module imports.oldTranspile.errors.txt | 6 - ...for missing module imports.oldTranspile.js | 2 +- ...uts (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - ...o diagnostics with valid inputs.errors.txt | 6 - ... with valid inputs.oldTranspile.errors.txt | 6 - ...ion (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - .../Infer correct file extension.errors.txt | 6 - ...ect file extension.oldTranspile.errors.txt | 6 - ...ion (verbatimModuleSyntax=true).errors.txt | 7 - ...ModuleSyntax=true).oldTranspile.errors.txt | 7 - ...rors for file without extension.errors.txt | 7 - ... without extension.oldTranspile.errors.txt | 7 - .../Rename dependencies - AMD.errors.txt | 8 - .../transpile/Rename dependencies - AMD.js | 2 +- .../Rename dependencies - System.errors.txt | 8 - .../Rename dependencies - UMD.errors.txt | 8 - .../transpile/Rename dependencies - UMD.js | 2 +- ...ons module-kind is out-of-range.errors.txt | 2 - ...nd is out-of-range.oldTranspile.errors.txt | 2 - ...s target-script is out-of-range.errors.txt | 2 - ...pt is out-of-range.oldTranspile.errors.txt | 2 - .../transpile/Sets module name.errors.txt | 6 - .../Sets module name.oldTranspile.errors.txt | 6 - ...ues (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - ...Support options with lib values.errors.txt | 6 - ...ns with lib values.oldTranspile.errors.txt | 6 - ...ues (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - ...pport options with types values.errors.txt | 6 - ... with types values.oldTranspile.errors.txt | 6 - ...ays (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - .../Supports as const arrays.errors.txt | 6 - ...ts as const arrays.oldTranspile.errors.txt | 6 - ...pports backslashes in file name.errors.txt | 6 - ...ashes in file name.oldTranspile.errors.txt | 6 - ...ays (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - ...rts readonly keyword for arrays.errors.txt | 6 - ...keyword for arrays.oldTranspile.errors.txt | 6 - ...wJs (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - .../Supports setting allowJs.errors.txt | 6 - ...ts setting allowJs.oldTranspile.errors.txt | 6 - ...rts (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - ...ng allowSyntheticDefaultImports.errors.txt | 6 - ...eticDefaultImports.oldTranspile.errors.txt | 6 - ...ode (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - ...ts setting allowUnreachableCode.errors.txt | 6 - ...lowUnreachableCode.oldTranspile.errors.txt | 6 - ...els (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - ...ports setting allowUnusedLabels.errors.txt | 6 - ... allowUnusedLabels.oldTranspile.errors.txt | 6 - ...ict (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - .../Supports setting alwaysStrict.errors.txt | 6 - ...tting alwaysStrict.oldTranspile.errors.txt | 6 - ...Url (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - .../Supports setting baseUrl.errors.txt | 6 - ...ts setting baseUrl.oldTranspile.errors.txt | 6 - ...set (verbatimModuleSyntax=true).errors.txt | 2 - ...ModuleSyntax=true).oldTranspile.errors.txt | 2 - .../Supports setting charset.errors.txt | 2 - ...ts setting charset.oldTranspile.errors.txt | 2 - ...ite (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - .../Supports setting composite.errors.txt | 6 - ... setting composite.oldTranspile.errors.txt | 6 - ...ion (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - .../Supports setting declaration.errors.txt | 6 - ...etting declaration.oldTranspile.errors.txt | 6 - ...Dir (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - ...Supports setting declarationDir.errors.txt | 6 - ...ing declarationDir.oldTranspile.errors.txt | 6 - ...BOM (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - .../Supports setting emitBOM.errors.txt | 6 - ...ts setting emitBOM.oldTranspile.errors.txt | 6 - ...ata (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - ...s setting emitDecoratorMetadata.errors.txt | 6 - ...tDecoratorMetadata.oldTranspile.errors.txt | 6 - ...ors (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - ... setting experimentalDecorators.errors.txt | 6 - ...rimentalDecorators.oldTranspile.errors.txt | 6 - ...mes (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - ...orceConsistentCasingInFileNames.errors.txt | 6 - ...tCasingInFileNames.oldTranspile.errors.txt | 6 - ...tal (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - .../Supports setting incremental.errors.txt | 6 - ...etting incremental.oldTranspile.errors.txt | 6 - ...upports setting isolatedModules.errors.txt | 6 - ...ng isolatedModules.oldTranspile.errors.txt | 6 - ...jsx (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - .../transpile/Supports setting jsx.errors.txt | 6 - ...pports setting jsx.oldTranspile.errors.txt | 6 - ...ory (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - .../Supports setting jsxFactory.errors.txt | 6 - ...setting jsxFactory.oldTranspile.errors.txt | 6 - ...ory (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - ...orts setting jsxFragmentFactory.errors.txt | 6 - ...jsxFragmentFactory.oldTranspile.errors.txt | 6 - ...lib (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - .../transpile/Supports setting lib.errors.txt | 6 - ...pports setting lib.oldTranspile.errors.txt | 6 - ...ale (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - .../Supports setting locale.errors.txt | 6 - ...rts setting locale.oldTranspile.errors.txt | 6 - ...ule (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - .../Supports setting module.errors.txt | 6 - ...rts setting module.oldTranspile.errors.txt | 6 - ...ion (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - ...pports setting moduleResolution.errors.txt | 6 - ...g moduleResolution.oldTranspile.errors.txt | 6 - ...ine (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - .../Supports setting newLine.errors.txt | 6 - ...ts setting newLine.oldTranspile.errors.txt | 6 - ...mit (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - .../Supports setting noEmit.errors.txt | 6 - ...rts setting noEmit.oldTranspile.errors.txt | 6 - ...ers (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - .../Supports setting noEmitHelpers.errors.txt | 6 - ...ting noEmitHelpers.oldTranspile.errors.txt | 6 - ...ror (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - .../Supports setting noEmitOnError.errors.txt | 6 - ...ting noEmitOnError.oldTranspile.errors.txt | 6 - ...ion (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - ...ports setting noErrorTruncation.errors.txt | 6 - ... noErrorTruncation.oldTranspile.errors.txt | 6 - ...tch (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - ...ting noFallthroughCasesInSwitch.errors.txt | 6 - ...roughCasesInSwitch.oldTranspile.errors.txt | 6 - ...Any (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - .../Supports setting noImplicitAny.errors.txt | 6 - ...ting noImplicitAny.oldTranspile.errors.txt | 6 - ...rns (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - ...ports setting noImplicitReturns.errors.txt | 6 - ... noImplicitReturns.oldTranspile.errors.txt | 6 - ...his (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - ...Supports setting noImplicitThis.errors.txt | 6 - ...ing noImplicitThis.oldTranspile.errors.txt | 6 - ...ict (verbatimModuleSyntax=true).errors.txt | 2 - ...ModuleSyntax=true).oldTranspile.errors.txt | 2 - ...rts setting noImplicitUseStrict.errors.txt | 2 - ...oImplicitUseStrict.oldTranspile.errors.txt | 2 - ...Lib (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - .../Supports setting noLib.errors.txt | 6 - ...orts setting noLib.oldTranspile.errors.txt | 6 - ...lve (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - .../Supports setting noResolve.errors.txt | 6 - ... setting noResolve.oldTranspile.errors.txt | 6 - ...out (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - .../transpile/Supports setting out.errors.txt | 6 - ...pports setting out.oldTranspile.errors.txt | 6 - ...Dir (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - .../Supports setting outDir.errors.txt | 6 - ...rts setting outDir.oldTranspile.errors.txt | 6 - ...ile (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - .../Supports setting outFile.errors.txt | 6 - ...ts setting outFile.oldTranspile.errors.txt | 6 - ...ths (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - .../Supports setting paths.errors.txt | 6 - ...orts setting paths.oldTranspile.errors.txt | 6 - ...ums (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - ...orts setting preserveConstEnums.errors.txt | 6 - ...preserveConstEnums.oldTranspile.errors.txt | 6 - ...ace (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - ...Supports setting reactNamespace.errors.txt | 6 - ...ing reactNamespace.oldTranspile.errors.txt | 6 - ...nts (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - ...Supports setting removeComments.errors.txt | 6 - ...ing removeComments.oldTranspile.errors.txt | 6 - ...Dir (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - .../Supports setting rootDir.errors.txt | 6 - ...ts setting rootDir.oldTranspile.errors.txt | 6 - ...irs (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - .../Supports setting rootDirs.errors.txt | 6 - ...s setting rootDirs.oldTranspile.errors.txt | 6 - ...eck (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - ...rts setting skipDefaultLibCheck.errors.txt | 6 - ...kipDefaultLibCheck.oldTranspile.errors.txt | 6 - ...eck (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - .../Supports setting skipLibCheck.errors.txt | 6 - ...tting skipLibCheck.oldTranspile.errors.txt | 6 - ...cks (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - ...pports setting strictNullChecks.errors.txt | 6 - ...g strictNullChecks.oldTranspile.errors.txt | 6 - ...nal (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - .../Supports setting stripInternal.errors.txt | 6 - ...ting stripInternal.oldTranspile.errors.txt | 6 - ...ors (verbatimModuleSyntax=true).errors.txt | 2 - ...ModuleSyntax=true).oldTranspile.errors.txt | 2 - ...ng suppressExcessPropertyErrors.errors.txt | 2 - ...cessPropertyErrors.oldTranspile.errors.txt | 2 - ...ors (verbatimModuleSyntax=true).errors.txt | 2 - ...ModuleSyntax=true).oldTranspile.errors.txt | 2 - ... suppressImplicitAnyIndexErrors.errors.txt | 2 - ...icitAnyIndexErrors.oldTranspile.errors.txt | 2 - ...nfo (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - .../Supports setting tsbuildinfo.errors.txt | 6 - ...etting tsbuildinfo.oldTranspile.errors.txt | 6 - ...ots (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - .../Supports setting typeRoots.errors.txt | 6 - ... setting typeRoots.oldTranspile.errors.txt | 6 - ...pes (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - .../Supports setting types.errors.txt | 6 - ...orts setting types.oldTranspile.errors.txt | 6 - .../Supports urls in file name.errors.txt | 6 - ... urls in file name.oldTranspile.errors.txt | 6 - ...ter (verbatimModuleSyntax=true).errors.txt | 6 - ...ModuleSyntax=true).oldTranspile.errors.txt | 6 - .../Uses correct newLine character.errors.txt | 6 - ... newLine character.oldTranspile.errors.txt | 6 - .../transpile/transpile .js files.errors.txt | 6 - ...ranspile .js files.oldTranspile.errors.txt | 6 - ...file as tsx if jsx is specified.errors.txt | 6 - ...f jsx is specified.oldTranspile.errors.txt | 6 - ...uilds-when-extended-config-file-changes.js | 102 ++++++------ 397 files changed, 323 insertions(+), 2276 deletions(-) delete mode 100644 src/compiler/transformers/es5.ts delete mode 100644 tests/baselines/reference/transpile/Does not elide import equals referenced only by export type (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Does not elide import equals referenced only by export type (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Does not elide import equals referenced only by type only export specifier (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Does not elide import equals referenced only by type only export specifier (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Does not generate semantic diagnostics (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Does not generate semantic diagnostics (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Does not generate semantic diagnostics.errors.txt delete mode 100644 tests/baselines/reference/transpile/Does not generate semantic diagnostics.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Does not support setting isolatedModules (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Does not support setting isolatedModules (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Elides import equals referenced only by export type.errors.txt delete mode 100644 tests/baselines/reference/transpile/Elides import equals referenced only by export type.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Elides import equals referenced only by type only export specifier.errors.txt delete mode 100644 tests/baselines/reference/transpile/Elides import equals referenced only by type only export specifier.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Export star as ns conflict does not crash (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Export star as ns conflict does not crash (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Export star as ns conflict does not crash.errors.txt delete mode 100644 tests/baselines/reference/transpile/Export star as ns conflict does not crash.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Generates module output.errors.txt delete mode 100644 tests/baselines/reference/transpile/Generates module output.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Generates no diagnostics for missing file references (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Generates no diagnostics for missing file references (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Generates no diagnostics for missing file references.errors.txt delete mode 100644 tests/baselines/reference/transpile/Generates no diagnostics for missing file references.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Generates no diagnostics for missing module imports (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Generates no diagnostics for missing module imports (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Generates no diagnostics for missing module imports.errors.txt delete mode 100644 tests/baselines/reference/transpile/Generates no diagnostics for missing module imports.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Generates no diagnostics with valid inputs (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Generates no diagnostics with valid inputs (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Generates no diagnostics with valid inputs.errors.txt delete mode 100644 tests/baselines/reference/transpile/Generates no diagnostics with valid inputs.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Infer correct file extension (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Infer correct file extension (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Infer correct file extension.errors.txt delete mode 100644 tests/baselines/reference/transpile/Infer correct file extension.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/No extra errors for file without extension (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/No extra errors for file without extension (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/No extra errors for file without extension.errors.txt delete mode 100644 tests/baselines/reference/transpile/No extra errors for file without extension.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Rename dependencies - AMD.errors.txt delete mode 100644 tests/baselines/reference/transpile/Rename dependencies - System.errors.txt delete mode 100644 tests/baselines/reference/transpile/Rename dependencies - UMD.errors.txt delete mode 100644 tests/baselines/reference/transpile/Sets module name.errors.txt delete mode 100644 tests/baselines/reference/transpile/Sets module name.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Support options with lib values (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Support options with lib values (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Support options with lib values.errors.txt delete mode 100644 tests/baselines/reference/transpile/Support options with lib values.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Support options with types values (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Support options with types values (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Support options with types values.errors.txt delete mode 100644 tests/baselines/reference/transpile/Support options with types values.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports as const arrays (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports as const arrays (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports as const arrays.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports as const arrays.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports backslashes in file name.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports backslashes in file name.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports readonly keyword for arrays (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports readonly keyword for arrays (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports readonly keyword for arrays.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports readonly keyword for arrays.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting allowJs (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting allowJs (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting allowJs.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting allowJs.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting allowSyntheticDefaultImports (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting allowSyntheticDefaultImports (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting allowSyntheticDefaultImports.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting allowSyntheticDefaultImports.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting allowUnreachableCode (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting allowUnreachableCode (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting allowUnreachableCode.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting allowUnreachableCode.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting allowUnusedLabels (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting allowUnusedLabels (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting allowUnusedLabels.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting allowUnusedLabels.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting alwaysStrict (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting alwaysStrict (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting alwaysStrict.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting alwaysStrict.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting baseUrl (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting baseUrl (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting baseUrl.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting baseUrl.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting composite (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting composite (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting composite.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting composite.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting declaration (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting declaration (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting declaration.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting declaration.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting declarationDir (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting declarationDir (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting declarationDir.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting declarationDir.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting emitBOM (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting emitBOM (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting emitBOM.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting emitBOM.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting emitDecoratorMetadata (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting emitDecoratorMetadata (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting emitDecoratorMetadata.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting emitDecoratorMetadata.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting experimentalDecorators (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting experimentalDecorators (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting experimentalDecorators.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting experimentalDecorators.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting forceConsistentCasingInFileNames (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting forceConsistentCasingInFileNames (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting forceConsistentCasingInFileNames.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting forceConsistentCasingInFileNames.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting incremental (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting incremental (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting incremental.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting incremental.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting isolatedModules.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting isolatedModules.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting jsx (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting jsx (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting jsx.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting jsx.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting jsxFactory (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting jsxFactory (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting jsxFactory.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting jsxFactory.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting jsxFragmentFactory (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting jsxFragmentFactory (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting jsxFragmentFactory.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting jsxFragmentFactory.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting lib (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting lib (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting lib.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting lib.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting locale (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting locale (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting locale.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting locale.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting module (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting module (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting module.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting module.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting moduleResolution (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting moduleResolution (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting moduleResolution.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting moduleResolution.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting newLine (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting newLine (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting newLine.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting newLine.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noEmit (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noEmit (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noEmit.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noEmit.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noEmitHelpers (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noEmitHelpers (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noEmitHelpers.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noEmitHelpers.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noEmitOnError (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noEmitOnError (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noEmitOnError.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noEmitOnError.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noErrorTruncation (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noErrorTruncation (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noErrorTruncation.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noErrorTruncation.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noFallthroughCasesInSwitch (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noFallthroughCasesInSwitch (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noFallthroughCasesInSwitch.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noFallthroughCasesInSwitch.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noImplicitAny (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noImplicitAny (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noImplicitAny.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noImplicitAny.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noImplicitReturns (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noImplicitReturns (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noImplicitReturns.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noImplicitReturns.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noImplicitThis (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noImplicitThis (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noImplicitThis.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noImplicitThis.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noLib (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noLib (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noLib.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noLib.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noResolve (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noResolve (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noResolve.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting noResolve.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting out (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting out (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting out.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting out.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting outDir (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting outDir (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting outDir.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting outDir.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting outFile (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting outFile (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting outFile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting outFile.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting paths (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting paths (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting paths.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting paths.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting preserveConstEnums (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting preserveConstEnums (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting preserveConstEnums.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting preserveConstEnums.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting reactNamespace (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting reactNamespace (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting reactNamespace.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting reactNamespace.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting removeComments (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting removeComments (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting removeComments.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting removeComments.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting rootDir (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting rootDir (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting rootDir.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting rootDir.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting rootDirs (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting rootDirs (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting rootDirs.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting rootDirs.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting skipDefaultLibCheck (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting skipDefaultLibCheck (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting skipDefaultLibCheck.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting skipDefaultLibCheck.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting skipLibCheck (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting skipLibCheck (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting skipLibCheck.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting skipLibCheck.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting strictNullChecks (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting strictNullChecks (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting strictNullChecks.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting strictNullChecks.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting stripInternal (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting stripInternal (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting stripInternal.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting stripInternal.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting tsbuildinfo (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting tsbuildinfo (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting tsbuildinfo.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting tsbuildinfo.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting typeRoots (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting typeRoots (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting typeRoots.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting typeRoots.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting types (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting types (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting types.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting types.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports urls in file name.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports urls in file name.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Uses correct newLine character (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Uses correct newLine character (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Uses correct newLine character.errors.txt delete mode 100644 tests/baselines/reference/transpile/Uses correct newLine character.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/transpile .js files.errors.txt delete mode 100644 tests/baselines/reference/transpile/transpile .js files.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/transpile file as tsx if jsx is specified.errors.txt delete mode 100644 tests/baselines/reference/transpile/transpile file as tsx if jsx is specified.oldTranspile.errors.txt diff --git a/src/compiler/_namespaces/ts.ts b/src/compiler/_namespaces/ts.ts index 34d731e880695..1ce7091080e7a 100644 --- a/src/compiler/_namespaces/ts.ts +++ b/src/compiler/_namespaces/ts.ts @@ -50,7 +50,6 @@ export * from "../transformers/esnext"; export * from "../transformers/jsx"; export * from "../transformers/es2016"; export * from "../transformers/es2015"; -export * from "../transformers/es5"; export * from "../transformers/generators"; export * from "../transformers/module/module"; export * from "../transformers/module/system"; diff --git a/src/compiler/binder.ts b/src/compiler/binder.ts index 7e9f3ced07fec..30e3284d2580d 100644 --- a/src/compiler/binder.ts +++ b/src/compiler/binder.ts @@ -2573,14 +2573,14 @@ function createBinder(): (file: SourceFile, options: CompilerOptions) => void { // Provide specialized messages to help the user understand why we think they're in // strict mode. if (getContainingClass(node)) { - return Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode; + return Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Class_definitions_are_automatically_in_strict_mode; } if (file.externalModuleIndicator) { - return Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode; + return Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Modules_are_automatically_in_strict_mode; } - return Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5; + return Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5; } function checkStrictModeFunctionDeclaration(node: FunctionDeclaration) { diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index f9ab74b053256..2f3de0bf2daf6 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -6571,7 +6571,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { return parentName; } const memberName = symbolName(type.symbol); - if (isIdentifierText(memberName, ScriptTarget.ES3)) { + if (isIdentifierText(memberName, ScriptTarget.ES5)) { return appendReferenceToType( parentName as TypeReferenceNode | ImportTypeNode, factory.createTypeReferenceNode(memberName, /*typeArguments*/ undefined), @@ -29269,10 +29269,10 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { if (container) { if (languageVersion < ScriptTarget.ES2015) { if (container.kind === SyntaxKind.ArrowFunction) { - error(node, Diagnostics.The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression); + error(node, Diagnostics.The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES5_Consider_using_a_standard_function_expression); } else if (hasSyntacticModifier(container, ModifierFlags.Async)) { - error(node, Diagnostics.The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method); + error(node, Diagnostics.The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES5_Consider_using_a_standard_function_or_method); } } @@ -34408,8 +34408,8 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { case SyntaxKind.MethodDeclaration: case SyntaxKind.GetAccessor: case SyntaxKind.SetAccessor: - // For ES3 or decorators with only two parameters we supply only two arguments - return languageVersion === ScriptTarget.ES3 || signature.parameters.length <= 2 ? 2 : 3; + // For decorators with only two parameters we supply only two arguments + return signature.parameters.length <= 2 ? 2 : 3; case SyntaxKind.Parameter: return 3; default: @@ -35166,13 +35166,6 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } function resolveNewExpression(node: NewExpression, candidatesOutArray: Signature[] | undefined, checkMode: CheckMode): Signature { - if (node.arguments && languageVersion < ScriptTarget.ES5) { - const spreadIndex = getSpreadArgumentIndex(node.arguments); - if (spreadIndex >= 0) { - error(node.arguments[spreadIndex], Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher); - } - } - let expressionType = checkNonNullExpression(node.expression); if (expressionType === silentNeverType) { return silentNeverSignature; @@ -36990,8 +36983,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { if (!isClassLike(node.parent)) break; // A method or accessor declaration decorator will have either two or three arguments (see - // `PropertyDecorator` and `MethodDecorator` in core.d.ts). If we are emitting decorators for - // ES3, we will only pass two arguments. + // `PropertyDecorator` and `MethodDecorator` in core.d.ts). const targetType = getParentTypeOfClassElement(node); const targetParam = createParameter("target" as __String, targetType); @@ -37002,7 +36994,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { const returnType = isPropertyDeclaration(node) ? voidType : createTypedPropertyDescriptorType(getTypeOfNode(node)); - const hasPropDesc = languageVersion !== ScriptTarget.ES3 && (!isPropertyDeclaration(parent) || hasAccessorModifier(parent)); + const hasPropDesc = !isPropertyDeclaration(parent) || hasAccessorModifier(parent); if (hasPropDesc) { const descriptorType = createTypedPropertyDescriptorType(getTypeOfNode(node)); const descriptorParam = createParameter("descriptor" as __String, descriptorType); @@ -37074,8 +37066,8 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { error( func, isImportCall(func) ? - Diagnostics.A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option : - Diagnostics.An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option, + Diagnostics.A_dynamic_import_call_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option : + Diagnostics.An_async_function_or_method_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option, ); } @@ -41465,7 +41457,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { const promiseConstructorName = getEntityNameFromTypeNode(returnTypeNode); if (promiseConstructorName === undefined) { - reportErrorForInvalidReturnType(Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value, returnTypeNode, returnTypeErrorLocation, typeToString(returnType)); + reportErrorForInvalidReturnType(Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_because_it_does_not_refer_to_a_Promise_compatible_constructor_value, returnTypeNode, returnTypeErrorLocation, typeToString(returnType)); return; } @@ -41473,10 +41465,10 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { const promiseConstructorType = promiseConstructorSymbol ? getTypeOfSymbol(promiseConstructorSymbol) : errorType; if (isErrorType(promiseConstructorType)) { if (promiseConstructorName.kind === SyntaxKind.Identifier && promiseConstructorName.escapedText === "Promise" && getTargetType(returnType) === getGlobalPromiseType(/*reportErrors*/ false)) { - error(returnTypeErrorLocation, Diagnostics.An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option); + error(returnTypeErrorLocation, Diagnostics.An_async_function_or_method_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option); } else { - reportErrorForInvalidReturnType(Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value, returnTypeNode, returnTypeErrorLocation, entityNameToString(promiseConstructorName)); + reportErrorForInvalidReturnType(Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_because_it_does_not_refer_to_a_Promise_compatible_constructor_value, returnTypeNode, returnTypeErrorLocation, entityNameToString(promiseConstructorName)); } return; } @@ -41485,11 +41477,11 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { if (globalPromiseConstructorLikeType === emptyObjectType) { // If we couldn't resolve the global PromiseConstructorLike type we cannot verify // compatibility with __awaiter. - reportErrorForInvalidReturnType(Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value, returnTypeNode, returnTypeErrorLocation, entityNameToString(promiseConstructorName)); + reportErrorForInvalidReturnType(Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_because_it_does_not_refer_to_a_Promise_compatible_constructor_value, returnTypeNode, returnTypeErrorLocation, entityNameToString(promiseConstructorName)); return; } - const headMessage = Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value; + const headMessage = Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_because_it_does_not_refer_to_a_Promise_compatible_constructor_value; const errorInfo = () => returnTypeNode === returnTypeErrorLocation ? undefined : chainDiagnosticMessages(/*details*/ undefined, Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type); if (!checkTypeAssignableTo(promiseConstructorType, globalPromiseConstructorLikeType, returnTypeErrorLocation, headMessage, errorInfo)) { return; @@ -43265,7 +43257,6 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } let arrayType = inputType; - let reportedError = false; let hasStringConstituent = false; // If strings are permitted, remove any string-like constituents from the array type. @@ -43287,13 +43278,6 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { hasStringConstituent = arrayType !== inputType; if (hasStringConstituent) { - if (languageVersion < ScriptTarget.ES5) { - if (errorNode) { - error(errorNode, Diagnostics.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher); - reportedError = true; - } - } - // Now that we've removed all the StringLike types, if no constituents remain, then the entire // arrayOrStringType was a string. if (arrayType.flags & TypeFlags.Never) { @@ -43303,7 +43287,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } if (!isArrayLikeType(arrayType)) { - if (errorNode && !reportedError) { + if (errorNode) { // Which error we report depends on whether we allow strings or if there was a // string constituent. For example, if the input type is number | string, we // want to say that number is not an array type. But if the input was just @@ -46198,10 +46182,6 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { grammarErrorOnFirstToken(node, Diagnostics.An_export_declaration_cannot_have_modifiers); } - if (node.moduleSpecifier && node.exportClause && isNamedExports(node.exportClause) && length(node.exportClause.elements) && languageVersion === ScriptTarget.ES3) { - checkExternalEmitHelpers(node, ExternalEmitHelpers.CreateBinding); - } - checkGrammarExportDeclaration(node); if (!node.moduleSpecifier || checkExternalImportOrExportDeclaration(node)) { if (node.exportClause && !isNamespaceExport(node.exportClause)) { @@ -49039,8 +49019,6 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { return ["__classPrivateFieldSet"]; case ExternalEmitHelpers.ClassPrivateFieldIn: return ["__classPrivateFieldIn"]; - case ExternalEmitHelpers.CreateBinding: - return ["__createBinding"]; case ExternalEmitHelpers.SetFunctionName: return ["__setFunctionName"]; case ExternalEmitHelpers.PropKey: @@ -50122,9 +50100,6 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { function checkGrammarAccessor(accessor: AccessorDeclaration): boolean { if (!(accessor.flags & NodeFlags.Ambient) && (accessor.parent.kind !== SyntaxKind.TypeLiteral) && (accessor.parent.kind !== SyntaxKind.InterfaceDeclaration)) { - if (languageVersion < ScriptTarget.ES5) { - return grammarErrorOnNode(accessor.name, Diagnostics.Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher); - } if (languageVersion < ScriptTarget.ES2015 && isPrivateIdentifier(accessor.name)) { return grammarErrorOnNode(accessor.name, Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher); } diff --git a/src/compiler/diagnosticMessages.json b/src/compiler/diagnosticMessages.json index f3e66173766c2..48b25e5864ac2 100644 --- a/src/compiler/diagnosticMessages.json +++ b/src/compiler/diagnosticMessages.json @@ -163,7 +163,7 @@ "category": "Error", "code": 1054 }, - "Type '{0}' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value.": { + "Type '{0}' is not a valid async function return type in ES5 because it does not refer to a Promise-compatible constructor value.": { "category": "Error", "code": 1055 }, @@ -799,15 +799,15 @@ "category": "Error", "code": 1249 }, - "Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'.": { + "Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'.": { "category": "Error", "code": 1250 }, - "Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode.": { + "Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. Class definitions are automatically in strict mode.": { "category": "Error", "code": 1251 }, - "Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode.": { + "Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. Modules are automatically in strict mode.": { "category": "Error", "code": 1252 }, @@ -2420,7 +2420,7 @@ "category": "Error", "code": 2495 }, - "The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression.": { + "The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression.": { "category": "Error", "code": 2496 }, @@ -2520,7 +2520,7 @@ "category": "Error", "code": 2520 }, - "The 'arguments' object cannot be referenced in an async function or method in ES3 and ES5. Consider using a standard function or method.": { + "The 'arguments' object cannot be referenced in an async function or method in ES5. Consider using a standard function or method.": { "category": "Error", "code": 2522 }, @@ -3135,7 +3135,7 @@ "category": "Error", "code": 2704 }, - "An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option.": { + "An async function or method in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option.": { "category": "Error", "code": 2705 }, @@ -3163,7 +3163,7 @@ "category": "Error", "code": 2711 }, - "A dynamic import call in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option.": { + "A dynamic import call in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option.": { "category": "Error", "code": 2712 }, @@ -4229,10 +4229,6 @@ "category": "Error", "code": 5047 }, - "Option '{0}' cannot be specified when option 'target' is 'ES3'.": { - "category": "Error", - "code": 5048 - }, "Option '{0} can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided.": { "category": "Error", "code": 5051 @@ -5065,7 +5061,7 @@ "category": "Message", "code": 6171 }, - "Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'.": { + "Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5'.": { "category": "Message", "code": 6179 }, diff --git a/src/compiler/factory/emitHelpers.ts b/src/compiler/factory/emitHelpers.ts index 8d995def558f2..bbc9d8f019b19 100644 --- a/src/compiler/factory/emitHelpers.ts +++ b/src/compiler/factory/emitHelpers.ts @@ -129,6 +129,7 @@ export interface EmitHelperFactory { // ES2015 Generator Helpers createGeneratorHelper(body: FunctionExpression): Expression; // ES Module Helpers + /** @deprecated */ createCreateBindingHelper(module: Expression, inputName: Expression, outputName: Expression | undefined): Expression; createImportStarHelper(expression: Expression): Expression; createImportStarCallbackHelper(): Expression; diff --git a/src/compiler/factory/nodeFactory.ts b/src/compiler/factory/nodeFactory.ts index 907ab3833b672..7c3e4ef7f7421 100644 --- a/src/compiler/factory/nodeFactory.ts +++ b/src/compiler/factory/nodeFactory.ts @@ -6042,7 +6042,7 @@ export function createNodeFactory(flags: NodeFactoryFlags, baseFactory: BaseNode node.path = "" as Path; node.resolvedPath = "" as Path; node.originalFileName = ""; - node.languageVersion = 0; + node.languageVersion = ScriptTarget.ES5; node.languageVariant = 0; node.scriptKind = 0; node.isDeclarationFile = false; diff --git a/src/compiler/program.ts b/src/compiler/program.ts index d34984bca506c..c474786066100 100644 --- a/src/compiler/program.ts +++ b/src/compiler/program.ts @@ -4366,10 +4366,6 @@ export function createProgram(rootNamesOrOptions: readonly string[] | CreateProg } } - if (options.useDefineForClassFields && languageVersion === ScriptTarget.ES3) { - createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_when_option_target_is_ES3, "useDefineForClassFields"); - } - if (options.checkJs && !getAllowJSCompilerOption(options)) { programDiagnostics.add(createCompilerDiagnostic(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1, "checkJs", "allowJs")); } diff --git a/src/compiler/scanner.ts b/src/compiler/scanner.ts index e774321c95e2d..2c63db910328a 100644 --- a/src/compiler/scanner.ts +++ b/src/compiler/scanner.ts @@ -274,31 +274,6 @@ const textToToken = new Map(Object.entries({ "`": SyntaxKind.BacktickToken, })); -/* - As per ECMAScript Language Specification 3th Edition, Section 7.6: Identifiers - IdentifierStart :: - Can contain Unicode 3.0.0 categories: - Uppercase letter (Lu), - Lowercase letter (Ll), - Titlecase letter (Lt), - Modifier letter (Lm), - Other letter (Lo), or - Letter number (Nl). - IdentifierPart :: = - Can contain IdentifierStart + Unicode 3.0.0 categories: - Non-spacing mark (Mn), - Combining spacing mark (Mc), - Decimal number (Nd), or - Connector punctuation (Pc). - - Codepoint ranges for ES3 Identifiers are extracted from the Unicode 3.0.0 specification at: - http://www.unicode.org/Public/3.0-Update/UnicodeData-3.0.0.txt -*/ -// dprint-ignore -const unicodeES3IdentifierStart = [170, 170, 181, 181, 186, 186, 192, 214, 216, 246, 248, 543, 546, 563, 592, 685, 688, 696, 699, 705, 720, 721, 736, 740, 750, 750, 890, 890, 902, 902, 904, 906, 908, 908, 910, 929, 931, 974, 976, 983, 986, 1011, 1024, 1153, 1164, 1220, 1223, 1224, 1227, 1228, 1232, 1269, 1272, 1273, 1329, 1366, 1369, 1369, 1377, 1415, 1488, 1514, 1520, 1522, 1569, 1594, 1600, 1610, 1649, 1747, 1749, 1749, 1765, 1766, 1786, 1788, 1808, 1808, 1810, 1836, 1920, 1957, 2309, 2361, 2365, 2365, 2384, 2384, 2392, 2401, 2437, 2444, 2447, 2448, 2451, 2472, 2474, 2480, 2482, 2482, 2486, 2489, 2524, 2525, 2527, 2529, 2544, 2545, 2565, 2570, 2575, 2576, 2579, 2600, 2602, 2608, 2610, 2611, 2613, 2614, 2616, 2617, 2649, 2652, 2654, 2654, 2674, 2676, 2693, 2699, 2701, 2701, 2703, 2705, 2707, 2728, 2730, 2736, 2738, 2739, 2741, 2745, 2749, 2749, 2768, 2768, 2784, 2784, 2821, 2828, 2831, 2832, 2835, 2856, 2858, 2864, 2866, 2867, 2870, 2873, 2877, 2877, 2908, 2909, 2911, 2913, 2949, 2954, 2958, 2960, 2962, 2965, 2969, 2970, 2972, 2972, 2974, 2975, 2979, 2980, 2984, 2986, 2990, 2997, 2999, 3001, 3077, 3084, 3086, 3088, 3090, 3112, 3114, 3123, 3125, 3129, 3168, 3169, 3205, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3294, 3294, 3296, 3297, 3333, 3340, 3342, 3344, 3346, 3368, 3370, 3385, 3424, 3425, 3461, 3478, 3482, 3505, 3507, 3515, 3517, 3517, 3520, 3526, 3585, 3632, 3634, 3635, 3648, 3654, 3713, 3714, 3716, 3716, 3719, 3720, 3722, 3722, 3725, 3725, 3732, 3735, 3737, 3743, 3745, 3747, 3749, 3749, 3751, 3751, 3754, 3755, 3757, 3760, 3762, 3763, 3773, 3773, 3776, 3780, 3782, 3782, 3804, 3805, 3840, 3840, 3904, 3911, 3913, 3946, 3976, 3979, 4096, 4129, 4131, 4135, 4137, 4138, 4176, 4181, 4256, 4293, 4304, 4342, 4352, 4441, 4447, 4514, 4520, 4601, 4608, 4614, 4616, 4678, 4680, 4680, 4682, 4685, 4688, 4694, 4696, 4696, 4698, 4701, 4704, 4742, 4744, 4744, 4746, 4749, 4752, 4782, 4784, 4784, 4786, 4789, 4792, 4798, 4800, 4800, 4802, 4805, 4808, 4814, 4816, 4822, 4824, 4846, 4848, 4878, 4880, 4880, 4882, 4885, 4888, 4894, 4896, 4934, 4936, 4954, 5024, 5108, 5121, 5740, 5743, 5750, 5761, 5786, 5792, 5866, 6016, 6067, 6176, 6263, 6272, 6312, 7680, 7835, 7840, 7929, 7936, 7957, 7960, 7965, 7968, 8005, 8008, 8013, 8016, 8023, 8025, 8025, 8027, 8027, 8029, 8029, 8031, 8061, 8064, 8116, 8118, 8124, 8126, 8126, 8130, 8132, 8134, 8140, 8144, 8147, 8150, 8155, 8160, 8172, 8178, 8180, 8182, 8188, 8319, 8319, 8450, 8450, 8455, 8455, 8458, 8467, 8469, 8469, 8473, 8477, 8484, 8484, 8486, 8486, 8488, 8488, 8490, 8493, 8495, 8497, 8499, 8505, 8544, 8579, 12293, 12295, 12321, 12329, 12337, 12341, 12344, 12346, 12353, 12436, 12445, 12446, 12449, 12538, 12540, 12542, 12549, 12588, 12593, 12686, 12704, 12727, 13312, 19893, 19968, 40869, 40960, 42124, 44032, 55203, 63744, 64045, 64256, 64262, 64275, 64279, 64285, 64285, 64287, 64296, 64298, 64310, 64312, 64316, 64318, 64318, 64320, 64321, 64323, 64324, 64326, 64433, 64467, 64829, 64848, 64911, 64914, 64967, 65008, 65019, 65136, 65138, 65140, 65140, 65142, 65276, 65313, 65338, 65345, 65370, 65382, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500 ]; -// dprint-ignore -const unicodeES3IdentifierPart = [170, 170, 181, 181, 186, 186, 192, 214, 216, 246, 248, 543, 546, 563, 592, 685, 688, 696, 699, 705, 720, 721, 736, 740, 750, 750, 768, 846, 864, 866, 890, 890, 902, 902, 904, 906, 908, 908, 910, 929, 931, 974, 976, 983, 986, 1011, 1024, 1153, 1155, 1158, 1164, 1220, 1223, 1224, 1227, 1228, 1232, 1269, 1272, 1273, 1329, 1366, 1369, 1369, 1377, 1415, 1425, 1441, 1443, 1465, 1467, 1469, 1471, 1471, 1473, 1474, 1476, 1476, 1488, 1514, 1520, 1522, 1569, 1594, 1600, 1621, 1632, 1641, 1648, 1747, 1749, 1756, 1759, 1768, 1770, 1773, 1776, 1788, 1808, 1836, 1840, 1866, 1920, 1968, 2305, 2307, 2309, 2361, 2364, 2381, 2384, 2388, 2392, 2403, 2406, 2415, 2433, 2435, 2437, 2444, 2447, 2448, 2451, 2472, 2474, 2480, 2482, 2482, 2486, 2489, 2492, 2492, 2494, 2500, 2503, 2504, 2507, 2509, 2519, 2519, 2524, 2525, 2527, 2531, 2534, 2545, 2562, 2562, 2565, 2570, 2575, 2576, 2579, 2600, 2602, 2608, 2610, 2611, 2613, 2614, 2616, 2617, 2620, 2620, 2622, 2626, 2631, 2632, 2635, 2637, 2649, 2652, 2654, 2654, 2662, 2676, 2689, 2691, 2693, 2699, 2701, 2701, 2703, 2705, 2707, 2728, 2730, 2736, 2738, 2739, 2741, 2745, 2748, 2757, 2759, 2761, 2763, 2765, 2768, 2768, 2784, 2784, 2790, 2799, 2817, 2819, 2821, 2828, 2831, 2832, 2835, 2856, 2858, 2864, 2866, 2867, 2870, 2873, 2876, 2883, 2887, 2888, 2891, 2893, 2902, 2903, 2908, 2909, 2911, 2913, 2918, 2927, 2946, 2947, 2949, 2954, 2958, 2960, 2962, 2965, 2969, 2970, 2972, 2972, 2974, 2975, 2979, 2980, 2984, 2986, 2990, 2997, 2999, 3001, 3006, 3010, 3014, 3016, 3018, 3021, 3031, 3031, 3047, 3055, 3073, 3075, 3077, 3084, 3086, 3088, 3090, 3112, 3114, 3123, 3125, 3129, 3134, 3140, 3142, 3144, 3146, 3149, 3157, 3158, 3168, 3169, 3174, 3183, 3202, 3203, 3205, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3262, 3268, 3270, 3272, 3274, 3277, 3285, 3286, 3294, 3294, 3296, 3297, 3302, 3311, 3330, 3331, 3333, 3340, 3342, 3344, 3346, 3368, 3370, 3385, 3390, 3395, 3398, 3400, 3402, 3405, 3415, 3415, 3424, 3425, 3430, 3439, 3458, 3459, 3461, 3478, 3482, 3505, 3507, 3515, 3517, 3517, 3520, 3526, 3530, 3530, 3535, 3540, 3542, 3542, 3544, 3551, 3570, 3571, 3585, 3642, 3648, 3662, 3664, 3673, 3713, 3714, 3716, 3716, 3719, 3720, 3722, 3722, 3725, 3725, 3732, 3735, 3737, 3743, 3745, 3747, 3749, 3749, 3751, 3751, 3754, 3755, 3757, 3769, 3771, 3773, 3776, 3780, 3782, 3782, 3784, 3789, 3792, 3801, 3804, 3805, 3840, 3840, 3864, 3865, 3872, 3881, 3893, 3893, 3895, 3895, 3897, 3897, 3902, 3911, 3913, 3946, 3953, 3972, 3974, 3979, 3984, 3991, 3993, 4028, 4038, 4038, 4096, 4129, 4131, 4135, 4137, 4138, 4140, 4146, 4150, 4153, 4160, 4169, 4176, 4185, 4256, 4293, 4304, 4342, 4352, 4441, 4447, 4514, 4520, 4601, 4608, 4614, 4616, 4678, 4680, 4680, 4682, 4685, 4688, 4694, 4696, 4696, 4698, 4701, 4704, 4742, 4744, 4744, 4746, 4749, 4752, 4782, 4784, 4784, 4786, 4789, 4792, 4798, 4800, 4800, 4802, 4805, 4808, 4814, 4816, 4822, 4824, 4846, 4848, 4878, 4880, 4880, 4882, 4885, 4888, 4894, 4896, 4934, 4936, 4954, 4969, 4977, 5024, 5108, 5121, 5740, 5743, 5750, 5761, 5786, 5792, 5866, 6016, 6099, 6112, 6121, 6160, 6169, 6176, 6263, 6272, 6313, 7680, 7835, 7840, 7929, 7936, 7957, 7960, 7965, 7968, 8005, 8008, 8013, 8016, 8023, 8025, 8025, 8027, 8027, 8029, 8029, 8031, 8061, 8064, 8116, 8118, 8124, 8126, 8126, 8130, 8132, 8134, 8140, 8144, 8147, 8150, 8155, 8160, 8172, 8178, 8180, 8182, 8188, 8255, 8256, 8319, 8319, 8400, 8412, 8417, 8417, 8450, 8450, 8455, 8455, 8458, 8467, 8469, 8469, 8473, 8477, 8484, 8484, 8486, 8486, 8488, 8488, 8490, 8493, 8495, 8497, 8499, 8505, 8544, 8579, 12293, 12295, 12321, 12335, 12337, 12341, 12344, 12346, 12353, 12436, 12441, 12442, 12445, 12446, 12449, 12542, 12549, 12588, 12593, 12686, 12704, 12727, 13312, 19893, 19968, 40869, 40960, 42124, 44032, 55203, 63744, 64045, 64256, 64262, 64275, 64279, 64285, 64296, 64298, 64310, 64312, 64316, 64318, 64318, 64320, 64321, 64323, 64324, 64326, 64433, 64467, 64829, 64848, 64911, 64914, 64967, 65008, 65019, 65056, 65059, 65075, 65076, 65101, 65103, 65136, 65138, 65140, 65140, 65142, 65276, 65296, 65305, 65313, 65338, 65343, 65343, 65345, 65370, 65381, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500 ]; - /* As per ECMAScript Language Specification 5th Edition, Section 7.6: ISyntaxToken Names and Identifiers IdentifierStart :: @@ -382,15 +357,13 @@ function lookupInUnicodeMap(code: number, map: readonly number[]): boolean { /** @internal */ export function isUnicodeIdentifierStart(code: number, languageVersion: ScriptTarget | undefined) { return languageVersion! >= ScriptTarget.ES2015 ? lookupInUnicodeMap(code, unicodeESNextIdentifierStart) : - languageVersion === ScriptTarget.ES5 ? lookupInUnicodeMap(code, unicodeES5IdentifierStart) : - lookupInUnicodeMap(code, unicodeES3IdentifierStart); + lookupInUnicodeMap(code, unicodeES5IdentifierStart); } function isUnicodeIdentifierPart(code: number, languageVersion: ScriptTarget | undefined) { return languageVersion! >= ScriptTarget.ES2015 ? lookupInUnicodeMap(code, unicodeESNextIdentifierPart) : - languageVersion === ScriptTarget.ES5 ? lookupInUnicodeMap(code, unicodeES5IdentifierPart) : - lookupInUnicodeMap(code, unicodeES3IdentifierPart); + lookupInUnicodeMap(code, unicodeES5IdentifierPart); } function makeReverseMap(source: Map): string[] { diff --git a/src/compiler/transformer.ts b/src/compiler/transformer.ts index bb49cee8e4735..f6428efe68b24 100644 --- a/src/compiler/transformer.ts +++ b/src/compiler/transformer.ts @@ -55,7 +55,6 @@ import { transformECMAScriptModule, Transformer, TransformerFactory, - transformES5, transformES2015, transformES2016, transformES2017, @@ -178,12 +177,6 @@ function getScriptTransformers(compilerOptions: CompilerOptions, customTransform transformers.push(getModuleTransformer(moduleKind)); - // The ES5 transformer is last so that it can substitute expressions like `exports.default` - // for ES3. - if (languageVersion < ScriptTarget.ES5) { - transformers.push(transformES5); - } - addRange(transformers, customTransformers && map(customTransformers.after, wrapScriptTransformerFactory)); return transformers; } diff --git a/src/compiler/transformers/es5.ts b/src/compiler/transformers/es5.ts deleted file mode 100644 index 24485e86c95e7..0000000000000 --- a/src/compiler/transformers/es5.ts +++ /dev/null @@ -1,146 +0,0 @@ -import { - Bundle, - chainBundle, - EmitHint, - Expression, - getOriginalNodeId, - Identifier, - identifierToKeywordKind, - isIdentifier, - isPrivateIdentifier, - isPropertyAccessExpression, - isPropertyAssignment, - JsxClosingElement, - JsxEmit, - JsxOpeningElement, - JsxSelfClosingElement, - Node, - PropertyAccessExpression, - PropertyAssignment, - setTextRange, - SourceFile, - SyntaxKind, - TransformationContext, -} from "../_namespaces/ts"; - -/** - * Transforms ES5 syntax into ES3 syntax. - * - * @param context Context and state information for the transformation. - * - * @internal - */ -export function transformES5(context: TransformationContext): (x: SourceFile | Bundle) => SourceFile | Bundle { - const { factory } = context; - const compilerOptions = context.getCompilerOptions(); - - // enable emit notification only if using --jsx preserve or react-native - let previousOnEmitNode: (hint: EmitHint, node: Node, emitCallback: (hint: EmitHint, node: Node) => void) => void; - let noSubstitution: boolean[]; - if (compilerOptions.jsx === JsxEmit.Preserve || compilerOptions.jsx === JsxEmit.ReactNative) { - previousOnEmitNode = context.onEmitNode; - context.onEmitNode = onEmitNode; - context.enableEmitNotification(SyntaxKind.JsxOpeningElement); - context.enableEmitNotification(SyntaxKind.JsxClosingElement); - context.enableEmitNotification(SyntaxKind.JsxSelfClosingElement); - noSubstitution = []; - } - - const previousOnSubstituteNode = context.onSubstituteNode; - context.onSubstituteNode = onSubstituteNode; - context.enableSubstitution(SyntaxKind.PropertyAccessExpression); - context.enableSubstitution(SyntaxKind.PropertyAssignment); - return chainBundle(context, transformSourceFile); - - /** - * Transforms an ES5 source file to ES3. - * - * @param node A SourceFile - */ - function transformSourceFile(node: SourceFile) { - return node; - } - - /** - * Called by the printer just before a node is printed. - * - * @param hint A hint as to the intended usage of the node. - * @param node The node to emit. - * @param emitCallback A callback used to emit the node. - */ - function onEmitNode(hint: EmitHint, node: Node, emitCallback: (emitContext: EmitHint, node: Node) => void) { - switch (node.kind) { - case SyntaxKind.JsxOpeningElement: - case SyntaxKind.JsxClosingElement: - case SyntaxKind.JsxSelfClosingElement: - const tagName = (node as JsxOpeningElement | JsxClosingElement | JsxSelfClosingElement).tagName; - noSubstitution[getOriginalNodeId(tagName)] = true; - break; - } - - previousOnEmitNode(hint, node, emitCallback); - } - - /** - * Hooks node substitutions. - * - * @param hint A hint as to the intended usage of the node. - * @param node The node to substitute. - */ - function onSubstituteNode(hint: EmitHint, node: Node) { - if (node.id && noSubstitution && noSubstitution[node.id]) { - return previousOnSubstituteNode(hint, node); - } - - node = previousOnSubstituteNode(hint, node); - if (isPropertyAccessExpression(node)) { - return substitutePropertyAccessExpression(node); - } - else if (isPropertyAssignment(node)) { - return substitutePropertyAssignment(node); - } - return node; - } - - /** - * Substitutes a PropertyAccessExpression whose name is a reserved word. - * - * @param node A PropertyAccessExpression - */ - function substitutePropertyAccessExpression(node: PropertyAccessExpression): Expression { - if (isPrivateIdentifier(node.name)) { - return node; - } - const literalName = trySubstituteReservedName(node.name); - if (literalName) { - return setTextRange(factory.createElementAccessExpression(node.expression, literalName), node); - } - return node; - } - - /** - * Substitutes a PropertyAssignment whose name is a reserved word. - * - * @param node A PropertyAssignment - */ - function substitutePropertyAssignment(node: PropertyAssignment): PropertyAssignment { - const literalName = isIdentifier(node.name) && trySubstituteReservedName(node.name); - if (literalName) { - return factory.updatePropertyAssignment(node, literalName, node.initializer); - } - return node; - } - - /** - * If an identifier name is a reserved word, returns a string literal for the name. - * - * @param name An Identifier - */ - function trySubstituteReservedName(name: Identifier) { - const token = identifierToKeywordKind(name); - if (token !== undefined && token >= SyntaxKind.FirstReservedWord && token <= SyntaxKind.LastReservedWord) { - return setTextRange(factory.createStringLiteralFromNode(name), name); - } - return undefined; - } -} diff --git a/src/compiler/transformers/legacyDecorators.ts b/src/compiler/transformers/legacyDecorators.ts index 0039c44f499c4..69f955e39b9cd 100644 --- a/src/compiler/transformers/legacyDecorators.ts +++ b/src/compiler/transformers/legacyDecorators.ts @@ -641,15 +641,13 @@ export function transformLegacyDecorators(context: TransformationContext): (x: S const prefix = getClassMemberPrefix(node, member); const memberName = getExpressionForPropertyName(member, /*generateNameForComputedPropertyName*/ !hasSyntacticModifier(member, ModifierFlags.Ambient)); - const descriptor = languageVersion > ScriptTarget.ES3 - ? isPropertyDeclaration(member) && !hasAccessorModifier(member) - // We emit `void 0` here to indicate to `__decorate` that it can invoke `Object.defineProperty` directly, but that it - // should not invoke `Object.getOwnPropertyDescriptor`. - ? factory.createVoidZero() - // We emit `null` here to indicate to `__decorate` that it can invoke `Object.getOwnPropertyDescriptor` directly. - // We have this extra argument here so that we can inject an explicit property descriptor at a later date. - : factory.createNull() - : undefined; + const descriptor = isPropertyDeclaration(member) && !hasAccessorModifier(member) + // We emit `void 0` here to indicate to `__decorate` that it can invoke `Object.defineProperty` directly, but that it + // should not invoke `Object.getOwnPropertyDescriptor`. + ? factory.createVoidZero() + // We emit `null` here to indicate to `__decorate` that it can invoke `Object.getOwnPropertyDescriptor` directly. + // We have this extra argument here so that we can inject an explicit property descriptor at a later date. + : factory.createNull(); const helper = emitHelpers().createDecorateHelper( decoratorExpressions, diff --git a/src/compiler/transformers/module/module.ts b/src/compiler/transformers/module/module.ts index 6b60336995975..19a3b93249e07 100644 --- a/src/compiler/transformers/module/module.ts +++ b/src/compiler/transformers/module/module.ts @@ -1598,39 +1598,24 @@ export function transformModule(context: TransformationContext): (x: SourceFile ); } for (const specifier of node.exportClause.elements) { - if (languageVersion === ScriptTarget.ES3) { - statements.push( - setOriginalNode( - setTextRange( - factory.createExpressionStatement( - emitHelpers().createCreateBindingHelper(generatedName, factory.createStringLiteralFromNode(specifier.propertyName || specifier.name), specifier.propertyName ? factory.createStringLiteralFromNode(specifier.name) : undefined), - ), - specifier, - ), - specifier, - ), - ); - } - else { - const exportNeedsImportDefault = !!getESModuleInterop(compilerOptions) && - !(getInternalEmitFlags(node) & InternalEmitFlags.NeverApplyImportHelper) && - idText(specifier.propertyName || specifier.name) === "default"; - const exportedValue = factory.createPropertyAccessExpression( - exportNeedsImportDefault ? emitHelpers().createImportDefaultHelper(generatedName) : generatedName, - specifier.propertyName || specifier.name, - ); - statements.push( - setOriginalNode( - setTextRange( - factory.createExpressionStatement( - createExportExpression(factory.getExportName(specifier), exportedValue, /*location*/ undefined, /*liveBinding*/ true), - ), - specifier, + const exportNeedsImportDefault = !!getESModuleInterop(compilerOptions) && + !(getInternalEmitFlags(node) & InternalEmitFlags.NeverApplyImportHelper) && + idText(specifier.propertyName || specifier.name) === "default"; + const exportedValue = factory.createPropertyAccessExpression( + exportNeedsImportDefault ? emitHelpers().createImportDefaultHelper(generatedName) : generatedName, + specifier.propertyName || specifier.name, + ); + statements.push( + setOriginalNode( + setTextRange( + factory.createExpressionStatement( + createExportExpression(factory.getExportName(specifier), exportedValue, /*location*/ undefined, /*liveBinding*/ true), ), specifier, ), - ); - } + specifier, + ), + ); } return singleOrMany(statements); @@ -2085,30 +2070,19 @@ export function transformModule(context: TransformationContext): (x: SourceFile } function createUnderscoreUnderscoreESModule() { - let statement: Statement; - if (languageVersion === ScriptTarget.ES3) { - statement = factory.createExpressionStatement( - createExportExpression( - factory.createIdentifier("__esModule"), - factory.createTrue(), - ), - ); - } - else { - statement = factory.createExpressionStatement( - factory.createCallExpression( - factory.createPropertyAccessExpression(factory.createIdentifier("Object"), "defineProperty"), - /*typeArguments*/ undefined, - [ - factory.createIdentifier("exports"), - factory.createStringLiteral("__esModule"), - factory.createObjectLiteralExpression([ - factory.createPropertyAssignment("value", factory.createTrue()), - ]), - ], - ), - ); - } + const statement = factory.createExpressionStatement( + factory.createCallExpression( + factory.createPropertyAccessExpression(factory.createIdentifier("Object"), "defineProperty"), + /*typeArguments*/ undefined, + [ + factory.createIdentifier("exports"), + factory.createStringLiteral("__esModule"), + factory.createObjectLiteralExpression([ + factory.createPropertyAssignment("value", factory.createTrue()), + ]), + ], + ), + ); setEmitFlags(statement, EmitFlags.CustomPrologue); return statement; } @@ -2140,7 +2114,7 @@ export function transformModule(context: TransformationContext): (x: SourceFile */ function createExportExpression(name: Identifier, value: Expression, location?: TextRange, liveBinding?: boolean) { return setTextRange( - liveBinding && languageVersion !== ScriptTarget.ES3 ? factory.createCallExpression( + liveBinding ? factory.createCallExpression( factory.createPropertyAccessExpression( factory.createIdentifier("Object"), "defineProperty", diff --git a/src/compiler/types.ts b/src/compiler/types.ts index 28061c88e94bb..3c1869cc238ab 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -7365,6 +7365,7 @@ export const enum ScriptKind { } export const enum ScriptTarget { + /** @deprecated */ ES3 = 0, ES5 = 1, ES2015 = 2, @@ -8152,6 +8153,7 @@ export const enum ExternalEmitHelpers { ClassPrivateFieldGet = 1 << 19, // __classPrivateFieldGet (used by the class private field transformation) ClassPrivateFieldSet = 1 << 20, // __classPrivateFieldSet (used by the class private field transformation) ClassPrivateFieldIn = 1 << 21, // __classPrivateFieldIn (used by the class private field transformation) + /** @deprecated */ CreateBinding = 1 << 22, // __createBinding (use by the module transform for (re)exports and namespace imports) SetFunctionName = 1 << 23, // __setFunctionName (used by class fields and ECMAScript decorators) PropKey = 1 << 24, // __propKey (used by class fields and ECMAScript decorators) diff --git a/src/compiler/utilities.ts b/src/compiler/utilities.ts index 6b3b2aed34994..ca9b899982f9c 100644 --- a/src/compiler/utilities.ts +++ b/src/compiler/utilities.ts @@ -8622,7 +8622,8 @@ export const computedOptions = createComputedCompilerOptions({ target: { dependencies: ["module"], computeValue: compilerOptions => { - return compilerOptions.target ?? + const target = compilerOptions.target === ScriptTarget.ES3 ? undefined : compilerOptions.target; + return target ?? ((compilerOptions.module === ModuleKind.Node16 && ScriptTarget.ES2022) || (compilerOptions.module === ModuleKind.NodeNext && ScriptTarget.ESNext) || ScriptTarget.ES5); diff --git a/src/server/protocol.ts b/src/server/protocol.ts index e61c2393f1d14..bfba0b572a9f7 100644 --- a/src/server/protocol.ts +++ b/src/server/protocol.ts @@ -3772,6 +3772,7 @@ export const enum NewLineKind { } export const enum ScriptTarget { + /** @deprecated */ ES3 = "ES3", ES5 = "ES5", ES6 = "ES6", diff --git a/src/testRunner/unittests/services/documentRegistry.ts b/src/testRunner/unittests/services/documentRegistry.ts index 93d51c5b6d0e4..d9ab9e24ed956 100644 --- a/src/testRunner/unittests/services/documentRegistry.ts +++ b/src/testRunner/unittests/services/documentRegistry.ts @@ -24,7 +24,7 @@ describe("unittests:: services:: DocumentRegistry", () => { assert(f1 === f2, "Expected to have the same document instance"); // change value of compilation setting that is used during production of AST - new document is required - compilerOptions.target = ts.ScriptTarget.ES3; + compilerOptions.target = ts.ScriptTarget.ESNext; const f3 = documentRegistry.acquireDocument("file1.ts", compilerOptions, ts.ScriptSnapshot.fromString("var x = 1;"), /* version */ "1"); assert(f1 !== f3, "Changed target: Expected to have different instances of document"); diff --git a/src/testRunner/unittests/services/transpile.ts b/src/testRunner/unittests/services/transpile.ts index a5d4efaf0b395..f308c20a1bb0f 100644 --- a/src/testRunner/unittests/services/transpile.ts +++ b/src/testRunner/unittests/services/transpile.ts @@ -20,7 +20,7 @@ describe("unittests:: services:: Transpile", () => { transpileOptions.compilerOptions = {}; } if (transpileOptions.compilerOptions.target === undefined) { - transpileOptions.compilerOptions.target = ts.ScriptTarget.ES3; + transpileOptions.compilerOptions.target = ts.ScriptTarget.ES5; } if (transpileOptions.compilerOptions.newLine === undefined) { diff --git a/src/testRunner/unittests/transform.ts b/src/testRunner/unittests/transform.ts index c56721a2c9ca4..85b10333a0fbc 100644 --- a/src/testRunner/unittests/transform.ts +++ b/src/testRunner/unittests/transform.ts @@ -592,13 +592,13 @@ module MyModule { // https://github.com/Microsoft/TypeScript/issues/24709 testBaseline("issue24709", () => { const fs = vfs.createFromFileSystem(Harness.IO, /*ignoreCase*/ true); - const transformed = ts.transform(ts.createSourceFile("source.ts", "class X { echo(x: string) { return x; } }", ts.ScriptTarget.ES3), [transformSourceFile]); + const transformed = ts.transform(ts.createSourceFile("source.ts", "class X { echo(x: string) { return x; } }", ts.ScriptTarget.ES5), [transformSourceFile]); const transformedSourceFile = transformed.transformed[0]; transformed.dispose(); const host = new fakes.CompilerHost(fs); host.getSourceFile = () => transformedSourceFile; const program = ts.createProgram(["source.ts"], { - target: ts.ScriptTarget.ES3, + target: ts.ScriptTarget.ES5, module: ts.ModuleKind.None, noLib: true, }, host); diff --git a/src/testRunner/unittests/tsbuild/sample.ts b/src/testRunner/unittests/tsbuild/sample.ts index 788294315e5b9..82e382845fa4d 100644 --- a/src/testRunner/unittests/tsbuild/sample.ts +++ b/src/testRunner/unittests/tsbuild/sample.ts @@ -282,7 +282,7 @@ describe("unittests:: tsbuild:: on 'sample1' project", () => { fs: () => projFs, commandLineArgs: ["--b", "tests", "--verbose"], modifyFs: fs => { - fs.writeFileSync("tests/tsconfig.base.json", jsonToReadableText({ compilerOptions: { target: "es3" } })); + fs.writeFileSync("tests/tsconfig.base.json", jsonToReadableText({ compilerOptions: { target: "es5" } })); replaceText(fs, "tests/tsconfig.json", `"references": [`, `"extends": "./tsconfig.base.json", "references": [`); }, edits: [{ diff --git a/tests/baselines/reference/ES3For-ofTypeCheck1.errors.txt b/tests/baselines/reference/ES3For-ofTypeCheck1.errors.txt index daae6adc3af03..d0e9a6691066f 100644 --- a/tests/baselines/reference/ES3For-ofTypeCheck1.errors.txt +++ b/tests/baselines/reference/ES3For-ofTypeCheck1.errors.txt @@ -1,9 +1,6 @@ error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -ES3For-ofTypeCheck1.ts(1,15): error TS2494: Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher. !!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== ES3For-ofTypeCheck1.ts (1 errors) ==== - for (var v of "") { } - ~~ -!!! error TS2494: Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher. \ No newline at end of file +==== ES3For-ofTypeCheck1.ts (0 errors) ==== + for (var v of "") { } \ No newline at end of file diff --git a/tests/baselines/reference/ES3For-ofTypeCheck4.errors.txt b/tests/baselines/reference/ES3For-ofTypeCheck4.errors.txt index 7a98a77453bf7..7fd2640d3062e 100644 --- a/tests/baselines/reference/ES3For-ofTypeCheck4.errors.txt +++ b/tests/baselines/reference/ES3For-ofTypeCheck4.errors.txt @@ -1,10 +1,7 @@ error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -ES3For-ofTypeCheck4.ts(2,17): error TS2494: Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher. !!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== ES3For-ofTypeCheck4.ts (1 errors) ==== +==== ES3For-ofTypeCheck4.ts (0 errors) ==== var union: string | string[]; - for (const v of union) { } - ~~~~~ -!!! error TS2494: Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher. \ No newline at end of file + for (const v of union) { } \ No newline at end of file diff --git a/tests/baselines/reference/accessorWithES3.errors.txt b/tests/baselines/reference/accessorWithES3.errors.txt index a41231b132c65..f50052a2e54a8 100644 --- a/tests/baselines/reference/accessorWithES3.errors.txt +++ b/tests/baselines/reference/accessorWithES3.errors.txt @@ -1,37 +1,25 @@ error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -accessorWithES3.ts(4,9): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. -accessorWithES3.ts(10,9): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. -accessorWithES3.ts(15,9): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. -accessorWithES3.ts(19,9): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. !!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== accessorWithES3.ts (4 errors) ==== +==== accessorWithES3.ts (0 errors) ==== // error to use accessors in ES3 mode class C { get x() { - ~ -!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. return 1; } } class D { set x(v) { - ~ -!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. } } var x = { get a() { return 1 } - ~ -!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. } var y = { set b(v) { } - ~ -!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. } \ No newline at end of file diff --git a/tests/baselines/reference/accessorsNotAllowedInES3.errors.txt b/tests/baselines/reference/accessorsNotAllowedInES3.errors.txt index 2f67300c82e07..071dbc7d160b2 100644 --- a/tests/baselines/reference/accessorsNotAllowedInES3.errors.txt +++ b/tests/baselines/reference/accessorsNotAllowedInES3.errors.txt @@ -1,16 +1,10 @@ error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -accessorsNotAllowedInES3.ts(2,9): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. -accessorsNotAllowedInES3.ts(4,15): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. !!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== accessorsNotAllowedInES3.ts (2 errors) ==== +==== accessorsNotAllowedInES3.ts (0 errors) ==== class C { get x(): number { return 1; } - ~ -!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. } var y = { get foo() { return 3; } }; - ~~~ -!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. \ No newline at end of file diff --git a/tests/baselines/reference/api/typescript.d.ts b/tests/baselines/reference/api/typescript.d.ts index bf2b10738827f..cb618f0f55465 100644 --- a/tests/baselines/reference/api/typescript.d.ts +++ b/tests/baselines/reference/api/typescript.d.ts @@ -3054,6 +3054,7 @@ declare namespace ts { Lf = "Lf", } enum ScriptTarget { + /** @deprecated */ ES3 = "ES3", ES5 = "ES5", ES6 = "ES6", @@ -7695,6 +7696,7 @@ declare namespace ts { Deferred = 7, } enum ScriptTarget { + /** @deprecated */ ES3 = 0, ES5 = 1, ES2015 = 2, diff --git a/tests/baselines/reference/asyncAliasReturnType_es5.errors.txt b/tests/baselines/reference/asyncAliasReturnType_es5.errors.txt index 981fd01ac22cf..b0ad4b8920dbc 100644 --- a/tests/baselines/reference/asyncAliasReturnType_es5.errors.txt +++ b/tests/baselines/reference/asyncAliasReturnType_es5.errors.txt @@ -1,4 +1,4 @@ -asyncAliasReturnType_es5.ts(3,21): error TS1055: Type 'PromiseAlias' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value. +asyncAliasReturnType_es5.ts(3,21): error TS1055: Type 'PromiseAlias' is not a valid async function return type in ES5 because it does not refer to a Promise-compatible constructor value. ==== asyncAliasReturnType_es5.ts (1 errors) ==== @@ -6,5 +6,5 @@ asyncAliasReturnType_es5.ts(3,21): error TS1055: Type 'PromiseAlias' is not a va async function f(): PromiseAlias { ~~~~~~~~~~~~~~~~~~ -!!! error TS1055: Type 'PromiseAlias' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value. +!!! error TS1055: Type 'PromiseAlias' is not a valid async function return type in ES5 because it does not refer to a Promise-compatible constructor value. } \ No newline at end of file diff --git a/tests/baselines/reference/asyncArrowFunctionCapturesArguments_es5.errors.txt b/tests/baselines/reference/asyncArrowFunctionCapturesArguments_es5.errors.txt index 840822005b8f0..db54dddc46804 100644 --- a/tests/baselines/reference/asyncArrowFunctionCapturesArguments_es5.errors.txt +++ b/tests/baselines/reference/asyncArrowFunctionCapturesArguments_es5.errors.txt @@ -1,4 +1,4 @@ -asyncArrowFunctionCapturesArguments_es5.ts(4,52): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +asyncArrowFunctionCapturesArguments_es5.ts(4,52): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. ==== asyncArrowFunctionCapturesArguments_es5.ts (1 errors) ==== @@ -7,7 +7,7 @@ asyncArrowFunctionCapturesArguments_es5.ts(4,52): error TS2496: The 'arguments' function other() {} var fn = async () => await other.apply(this, arguments); ~~~~~~~~~ -!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. } } \ No newline at end of file diff --git a/tests/baselines/reference/asyncFunctionDeclaration15_es5.errors.txt b/tests/baselines/reference/asyncFunctionDeclaration15_es5.errors.txt index 4da34c9d28cca..fb4cdc909c6bc 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration15_es5.errors.txt +++ b/tests/baselines/reference/asyncFunctionDeclaration15_es5.errors.txt @@ -1,10 +1,10 @@ -asyncFunctionDeclaration15_es5.ts(6,23): error TS1055: Type '{}' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value. +asyncFunctionDeclaration15_es5.ts(6,23): error TS1055: Type '{}' is not a valid async function return type in ES5 because it does not refer to a Promise-compatible constructor value. asyncFunctionDeclaration15_es5.ts(6,23): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value. -asyncFunctionDeclaration15_es5.ts(7,23): error TS1055: Type 'any' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value. -asyncFunctionDeclaration15_es5.ts(8,23): error TS1055: Type 'number' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value. +asyncFunctionDeclaration15_es5.ts(7,23): error TS1055: Type 'any' is not a valid async function return type in ES5 because it does not refer to a Promise-compatible constructor value. +asyncFunctionDeclaration15_es5.ts(8,23): error TS1055: Type 'number' is not a valid async function return type in ES5 because it does not refer to a Promise-compatible constructor value. asyncFunctionDeclaration15_es5.ts(8,23): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value. -asyncFunctionDeclaration15_es5.ts(9,23): error TS1055: Type 'PromiseLike' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value. -asyncFunctionDeclaration15_es5.ts(10,23): error TS1055: Type 'typeof Thenable' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value. +asyncFunctionDeclaration15_es5.ts(9,23): error TS1055: Type 'PromiseLike' is not a valid async function return type in ES5 because it does not refer to a Promise-compatible constructor value. +asyncFunctionDeclaration15_es5.ts(10,23): error TS1055: Type 'typeof Thenable' is not a valid async function return type in ES5 because it does not refer to a Promise-compatible constructor value. Construct signature return types 'Thenable' and 'PromiseLike' are incompatible. The types returned by 'then(...)' are incompatible between these types. Type 'void' is not assignable to type 'PromiseLike'. @@ -20,23 +20,23 @@ asyncFunctionDeclaration15_es5.ts(23,25): error TS1320: Type of 'await' operand async function fn1() { } // valid: Promise async function fn2(): { } { } // error ~~~ -!!! error TS1055: Type '{}' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value. +!!! error TS1055: Type '{}' is not a valid async function return type in ES5 because it does not refer to a Promise-compatible constructor value. ~~~ !!! error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value. async function fn3(): any { } // error ~~~ -!!! error TS1055: Type 'any' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value. +!!! error TS1055: Type 'any' is not a valid async function return type in ES5 because it does not refer to a Promise-compatible constructor value. async function fn4(): number { } // error ~~~~~~ -!!! error TS1055: Type 'number' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value. +!!! error TS1055: Type 'number' is not a valid async function return type in ES5 because it does not refer to a Promise-compatible constructor value. ~~~~~~ !!! error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value. async function fn5(): PromiseLike { } // error ~~~~~~~~~~~~~~~~~ -!!! error TS1055: Type 'PromiseLike' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value. +!!! error TS1055: Type 'PromiseLike' is not a valid async function return type in ES5 because it does not refer to a Promise-compatible constructor value. async function fn6(): Thenable { } // error ~~~~~~~~ -!!! error TS1055: Type 'typeof Thenable' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value. +!!! error TS1055: Type 'typeof Thenable' is not a valid async function return type in ES5 because it does not refer to a Promise-compatible constructor value. !!! error TS1055: Construct signature return types 'Thenable' and 'PromiseLike' are incompatible. !!! error TS1055: The types returned by 'then(...)' are incompatible between these types. !!! error TS1055: Type 'void' is not assignable to type 'PromiseLike'. diff --git a/tests/baselines/reference/asyncFunctionDeclaration16_es5.errors.txt b/tests/baselines/reference/asyncFunctionDeclaration16_es5.errors.txt index 93362f0d805e1..f6f88f047eb49 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration16_es5.errors.txt +++ b/tests/baselines/reference/asyncFunctionDeclaration16_es5.errors.txt @@ -1,7 +1,7 @@ -/a.js(21,14): error TS1055: Type 'string' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value. +/a.js(21,14): error TS1055: Type 'string' is not a valid async function return type in ES5 because it does not refer to a Promise-compatible constructor value. /a.js(27,12): error TS1065: The return type of an async function or method must be the global Promise type. /a.js(45,12): error TS1065: The return type of an async function or method must be the global Promise type. - Type 'typeof Thenable' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value. + Type 'typeof Thenable' is not a valid async function return type in ES5 because it does not refer to a Promise-compatible constructor value. Construct signature return types 'Thenable' and 'PromiseLike' are incompatible. The types returned by 'then(...)' are incompatible between these types. Type 'void' is not assignable to type 'PromiseLike'. @@ -33,7 +33,7 @@ * @param {string} str * @returns {string} ~~~~~~ -!!! error TS1055: Type 'string' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value. +!!! error TS1055: Type 'string' is not a valid async function return type in ES5 because it does not refer to a Promise-compatible constructor value. */ const f1 = async str => { return str; @@ -42,7 +42,7 @@ /** @type {T1} */ ~~ !!! error TS1065: The return type of an async function or method must be the global Promise type. -!!! related TS1055 /a.js:4:14: Type 'string' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value. +!!! related TS1055 /a.js:4:14: Type 'string' is not a valid async function return type in ES5 because it does not refer to a Promise-compatible constructor value. const f2 = async str => { return str; } @@ -63,7 +63,7 @@ /** @type {T3} */ ~~ !!! error TS1065: The return type of an async function or method must be the global Promise type. -!!! error TS1065: Type 'typeof Thenable' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value. +!!! error TS1065: Type 'typeof Thenable' is not a valid async function return type in ES5 because it does not refer to a Promise-compatible constructor value. !!! error TS1065: Construct signature return types 'Thenable' and 'PromiseLike' are incompatible. !!! error TS1065: The types returned by 'then(...)' are incompatible between these types. !!! error TS1065: Type 'void' is not assignable to type 'PromiseLike'. diff --git a/tests/baselines/reference/asyncFunctionDeclarationCapturesArguments_es5.errors.txt b/tests/baselines/reference/asyncFunctionDeclarationCapturesArguments_es5.errors.txt index 0e90942cba168..e6c805127cbcd 100644 --- a/tests/baselines/reference/asyncFunctionDeclarationCapturesArguments_es5.errors.txt +++ b/tests/baselines/reference/asyncFunctionDeclarationCapturesArguments_es5.errors.txt @@ -1,4 +1,4 @@ -asyncFunctionDeclarationCapturesArguments_es5.ts(5,36): error TS2522: The 'arguments' object cannot be referenced in an async function or method in ES3 and ES5. Consider using a standard function or method. +asyncFunctionDeclarationCapturesArguments_es5.ts(5,36): error TS2522: The 'arguments' object cannot be referenced in an async function or method in ES5. Consider using a standard function or method. ==== asyncFunctionDeclarationCapturesArguments_es5.ts (1 errors) ==== @@ -8,7 +8,7 @@ asyncFunctionDeclarationCapturesArguments_es5.ts(5,36): error TS2522: The 'argum async function fn () { await other.apply(this, arguments); ~~~~~~~~~ -!!! error TS2522: The 'arguments' object cannot be referenced in an async function or method in ES3 and ES5. Consider using a standard function or method. +!!! error TS2522: The 'arguments' object cannot be referenced in an async function or method in ES5. Consider using a standard function or method. } } } diff --git a/tests/baselines/reference/asyncFunctionNoReturnType.errors.txt b/tests/baselines/reference/asyncFunctionNoReturnType.errors.txt index 57381660b994e..104884d4da16b 100644 --- a/tests/baselines/reference/asyncFunctionNoReturnType.errors.txt +++ b/tests/baselines/reference/asyncFunctionNoReturnType.errors.txt @@ -1,12 +1,12 @@ error TS2468: Cannot find global value 'Promise'. -asyncFunctionNoReturnType.ts(1,1): error TS2705: An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +asyncFunctionNoReturnType.ts(1,1): error TS2705: An async function or method in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. !!! error TS2468: Cannot find global value 'Promise'. ==== asyncFunctionNoReturnType.ts (1 errors) ==== async () => { ~~~~~~~~~~~~~ -!!! error TS2705: An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +!!! error TS2705: An async function or method in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. if (window) return; } diff --git a/tests/baselines/reference/asyncFunctionReturnExpressionErrorSpans.errors.txt b/tests/baselines/reference/asyncFunctionReturnExpressionErrorSpans.errors.txt index fc6997949ab66..22f1cb846f308 100644 --- a/tests/baselines/reference/asyncFunctionReturnExpressionErrorSpans.errors.txt +++ b/tests/baselines/reference/asyncFunctionReturnExpressionErrorSpans.errors.txt @@ -1,4 +1,4 @@ -asyncFunctionReturnExpressionErrorSpans.ts(11,28): error TS2705: An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +asyncFunctionReturnExpressionErrorSpans.ts(11,28): error TS2705: An async function or method in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. asyncFunctionReturnExpressionErrorSpans.ts(16,21): error TS2322: Type 'number' is not assignable to type 'string'. @@ -15,7 +15,7 @@ asyncFunctionReturnExpressionErrorSpans.ts(16,21): error TS2322: Type 'number' i async function asyncFoo(): Promise { ~~~~~~~~~~~~ -!!! error TS2705: An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +!!! error TS2705: An async function or method in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. return { bar: { baz: { diff --git a/tests/baselines/reference/blockScopedFunctionDeclarationInStrictClass.errors.txt b/tests/baselines/reference/blockScopedFunctionDeclarationInStrictClass.errors.txt index ab7a3d1713a8c..f0e4c2cc061c6 100644 --- a/tests/baselines/reference/blockScopedFunctionDeclarationInStrictClass.errors.txt +++ b/tests/baselines/reference/blockScopedFunctionDeclarationInStrictClass.errors.txt @@ -1,4 +1,4 @@ -blockScopedFunctionDeclarationInStrictClass.ts(4,22): error TS1251: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode. +blockScopedFunctionDeclarationInStrictClass.ts(4,22): error TS1251: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. Class definitions are automatically in strict mode. blockScopedFunctionDeclarationInStrictClass.ts(7,9): error TS2304: Cannot find name 'foo'. @@ -8,7 +8,7 @@ blockScopedFunctionDeclarationInStrictClass.ts(7,9): error TS2304: Cannot find n if (true) { function foo() { } ~~~ -!!! error TS1251: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode. +!!! error TS1251: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. Class definitions are automatically in strict mode. foo(); // ok } foo(); // not ok diff --git a/tests/baselines/reference/blockScopedFunctionDeclarationInStrictModule.errors.txt b/tests/baselines/reference/blockScopedFunctionDeclarationInStrictModule.errors.txt index 13ac50759d5eb..175fd5671a294 100644 --- a/tests/baselines/reference/blockScopedFunctionDeclarationInStrictModule.errors.txt +++ b/tests/baselines/reference/blockScopedFunctionDeclarationInStrictModule.errors.txt @@ -1,4 +1,4 @@ -blockScopedFunctionDeclarationInStrictModule.ts(2,14): error TS1252: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode. +blockScopedFunctionDeclarationInStrictModule.ts(2,14): error TS1252: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. Modules are automatically in strict mode. blockScopedFunctionDeclarationInStrictModule.ts(6,10): error TS2304: Cannot find name 'foo'. @@ -6,7 +6,7 @@ blockScopedFunctionDeclarationInStrictModule.ts(6,10): error TS2304: Cannot find if (true) { function foo() { } ~~~ -!!! error TS1252: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode. +!!! error TS1252: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. Modules are automatically in strict mode. foo(); // ok } diff --git a/tests/baselines/reference/blockScopedFunctionDeclarationStrictES5.errors.txt b/tests/baselines/reference/blockScopedFunctionDeclarationStrictES5.errors.txt index 69bc6cd4af043..857941c464872 100644 --- a/tests/baselines/reference/blockScopedFunctionDeclarationStrictES5.errors.txt +++ b/tests/baselines/reference/blockScopedFunctionDeclarationStrictES5.errors.txt @@ -1,4 +1,4 @@ -blockScopedFunctionDeclarationStrictES5.ts(3,14): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. +blockScopedFunctionDeclarationStrictES5.ts(3,14): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. blockScopedFunctionDeclarationStrictES5.ts(6,1): error TS2304: Cannot find name 'foo'. @@ -7,7 +7,7 @@ blockScopedFunctionDeclarationStrictES5.ts(6,1): error TS2304: Cannot find name if (true) { function foo() { } // Error to declare function in block scope ~~~ -!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. foo(); // This call should be ok } foo(); // Error to find name foo diff --git a/tests/baselines/reference/blockScopedSameNameFunctionDeclarationStrictES5.errors.txt b/tests/baselines/reference/blockScopedSameNameFunctionDeclarationStrictES5.errors.txt index 86d4d724cac10..2a0872026df8e 100644 --- a/tests/baselines/reference/blockScopedSameNameFunctionDeclarationStrictES5.errors.txt +++ b/tests/baselines/reference/blockScopedSameNameFunctionDeclarationStrictES5.errors.txt @@ -1,6 +1,6 @@ -blockScopedSameNameFunctionDeclarationStrictES5.ts(4,18): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. +blockScopedSameNameFunctionDeclarationStrictES5.ts(4,18): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. blockScopedSameNameFunctionDeclarationStrictES5.ts(6,13): error TS2554: Expected 0 arguments, but got 1. -blockScopedSameNameFunctionDeclarationStrictES5.ts(9,18): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. +blockScopedSameNameFunctionDeclarationStrictES5.ts(9,18): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. blockScopedSameNameFunctionDeclarationStrictES5.ts(11,13): error TS2554: Expected 0 arguments, but got 1. blockScopedSameNameFunctionDeclarationStrictES5.ts(14,5): error TS2554: Expected 1 arguments, but got 0. blockScopedSameNameFunctionDeclarationStrictES5.ts(17,1): error TS2554: Expected 1 arguments, but got 0. @@ -12,7 +12,7 @@ blockScopedSameNameFunctionDeclarationStrictES5.ts(17,1): error TS2554: Expected if (a === 1) { function foo() { } // Error to declare function in block scope ~~~ -!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. foo(); foo(10); // not ok ~~ @@ -21,7 +21,7 @@ blockScopedSameNameFunctionDeclarationStrictES5.ts(17,1): error TS2554: Expected else { function foo() { } // Error to declare function in block scope ~~~ -!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. foo(); foo(10); // not ok ~~ diff --git a/tests/baselines/reference/bundlerSyntaxRestrictions(module=esnext).errors.txt b/tests/baselines/reference/bundlerSyntaxRestrictions(module=esnext).errors.txt index 0883750c3d136..29d49deb747cd 100644 --- a/tests/baselines/reference/bundlerSyntaxRestrictions(module=esnext).errors.txt +++ b/tests/baselines/reference/bundlerSyntaxRestrictions(module=esnext).errors.txt @@ -1,7 +1,7 @@ error TS2468: Cannot find global value 'Promise'. /main.ts(2,1): error TS1202: Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from "mod"', 'import {a} from "mod"', 'import d from "mod"', or another module format instead. /main.ts(3,1): error TS1203: Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead. -/mainJs.js(2,1): error TS2712: A dynamic import call in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +/mainJs.js(2,1): error TS2712: A dynamic import call in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. !!! error TS2468: Cannot find global value 'Promise'. @@ -24,7 +24,7 @@ error TS2468: Cannot find global value 'Promise'. import {} from "./a"; import("./a"); ~~~~~~~~~~~~~ -!!! error TS2712: A dynamic import call in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +!!! error TS2712: A dynamic import call in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. const _ = require("./a"); _.a; // any diff --git a/tests/baselines/reference/bundlerSyntaxRestrictions(module=preserve).errors.txt b/tests/baselines/reference/bundlerSyntaxRestrictions(module=preserve).errors.txt index 7f3ea3715320c..e384c312dc244 100644 --- a/tests/baselines/reference/bundlerSyntaxRestrictions(module=preserve).errors.txt +++ b/tests/baselines/reference/bundlerSyntaxRestrictions(module=preserve).errors.txt @@ -1,5 +1,5 @@ error TS2468: Cannot find global value 'Promise'. -/mainJs.js(2,1): error TS2712: A dynamic import call in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +/mainJs.js(2,1): error TS2712: A dynamic import call in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. !!! error TS2468: Cannot find global value 'Promise'. @@ -22,7 +22,7 @@ error TS2468: Cannot find global value 'Promise'. import {} from "./a"; import("./a"); ~~~~~~~~~~~~~ -!!! error TS2712: A dynamic import call in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +!!! error TS2712: A dynamic import call in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. const _ = require("./a"); _.a; // any diff --git a/tests/baselines/reference/classStaticBlock6.errors.txt b/tests/baselines/reference/classStaticBlock6.errors.txt index fad78cc7db292..95efb4f523b64 100644 --- a/tests/baselines/reference/classStaticBlock6.errors.txt +++ b/tests/baselines/reference/classStaticBlock6.errors.txt @@ -10,7 +10,7 @@ classStaticBlock6.ts(32,17): error TS2337: Super calls are not permitted outside classStaticBlock6.ts(41,13): error TS2815: 'arguments' cannot be referenced in property initializers. classStaticBlock6.ts(42,13): error TS18037: 'await' expression cannot be used inside a class static block. classStaticBlock6.ts(42,18): error TS1109: Expression expected. -classStaticBlock6.ts(45,17): error TS2522: The 'arguments' object cannot be referenced in an async function or method in ES3 and ES5. Consider using a standard function or method. +classStaticBlock6.ts(45,17): error TS2522: The 'arguments' object cannot be referenced in an async function or method in ES5. Consider using a standard function or method. classStaticBlock6.ts(46,22): error TS1109: Expression expected. classStaticBlock6.ts(55,13): error TS2815: 'arguments' cannot be referenced in property initializers. @@ -86,7 +86,7 @@ classStaticBlock6.ts(55,13): error TS2815: 'arguments' cannot be referenced in p async function ff () { arguments; ~~~~~~~~~ -!!! error TS2522: The 'arguments' object cannot be referenced in an async function or method in ES3 and ES5. Consider using a standard function or method. +!!! error TS2522: The 'arguments' object cannot be referenced in an async function or method in ES5. Consider using a standard function or method. await; ~ !!! error TS1109: Expression expected. diff --git a/tests/baselines/reference/definePropertyOutputES3.errors.txt b/tests/baselines/reference/definePropertyOutputES3.errors.txt index ea82363114e49..913bc2b369f5f 100644 --- a/tests/baselines/reference/definePropertyOutputES3.errors.txt +++ b/tests/baselines/reference/definePropertyOutputES3.errors.txt @@ -1,8 +1,6 @@ -error TS5048: Option 'useDefineForClassFields' cannot be specified when option 'target' is 'ES3'. error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -!!! error TS5048: Option 'useDefineForClassFields' cannot be specified when option 'target' is 'ES3'. !!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. ==== definePropertyOutputES3.ts (0 errors) ==== class A { diff --git a/tests/baselines/reference/destructuringControlFlowNoCrash.errors.txt b/tests/baselines/reference/destructuringControlFlowNoCrash.errors.txt index 5f9ccc1757e18..79e0d7bb0c00b 100644 --- a/tests/baselines/reference/destructuringControlFlowNoCrash.errors.txt +++ b/tests/baselines/reference/destructuringControlFlowNoCrash.errors.txt @@ -2,7 +2,7 @@ error TS2468: Cannot find global value 'Promise'. destructuringControlFlowNoCrash.ts(3,3): error TS2339: Property 'date' does not exist on type '(inspectedElement: any) => number'. destructuringControlFlowNoCrash.ts(10,3): error TS2339: Property 'date2' does not exist on type '(inspectedElement: any) => any'. destructuringControlFlowNoCrash.ts(11,28): error TS1005: '=>' expected. -destructuringControlFlowNoCrash.ts(16,25): error TS2705: An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +destructuringControlFlowNoCrash.ts(16,25): error TS2705: An async function or method in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. !!! error TS2468: Cannot find global value 'Promise'. @@ -30,5 +30,5 @@ destructuringControlFlowNoCrash.ts(16,25): error TS2705: An async function or me // It could also be an async function const { constructor } = async () => {}; ~~~~~~~~~~~~~~ -!!! error TS2705: An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +!!! error TS2705: An async function or method in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. \ No newline at end of file diff --git a/tests/baselines/reference/downlevelLetConst18.errors.txt b/tests/baselines/reference/downlevelLetConst18.errors.txt index 90445b1cd20ac..1b818a010bcc4 100644 --- a/tests/baselines/reference/downlevelLetConst18.errors.txt +++ b/tests/baselines/reference/downlevelLetConst18.errors.txt @@ -1,5 +1,5 @@ -downlevelLetConst18.ts(4,14): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. -downlevelLetConst18.ts(8,14): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. +downlevelLetConst18.ts(4,14): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. +downlevelLetConst18.ts(8,14): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. ==== downlevelLetConst18.ts (2 errors) ==== @@ -8,13 +8,13 @@ downlevelLetConst18.ts(8,14): error TS1250: Function declarations are not allowe for (let x; ;) { function foo() { x }; ~~~ -!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. } for (let x; ;) { function foo1() { x }; ~~~~ -!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. } for (let x; ;) { diff --git a/tests/baselines/reference/downlevelLetConst19.errors.txt b/tests/baselines/reference/downlevelLetConst19.errors.txt index d28c42e9f68f4..216ba2d6de48c 100644 --- a/tests/baselines/reference/downlevelLetConst19.errors.txt +++ b/tests/baselines/reference/downlevelLetConst19.errors.txt @@ -1,4 +1,4 @@ -downlevelLetConst19.ts(9,14): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. +downlevelLetConst19.ts(9,14): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. ==== downlevelLetConst19.ts (1 errors) ==== @@ -12,7 +12,7 @@ downlevelLetConst19.ts(9,14): error TS1250: Function declarations are not allowe function b() { ~ -!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. { let x; use(x); diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments01.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments01.errors.txt index 91e405578ac69..4f3fd70472338 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments01.errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments01.errors.txt @@ -1,21 +1,21 @@ -emitArrowFunctionWhenUsingArguments01.ts(2,15): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. -emitArrowFunctionWhenUsingArguments01.ts(7,19): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. -emitArrowFunctionWhenUsingArguments01.ts(13,13): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. -emitArrowFunctionWhenUsingArguments01.ts(19,15): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +emitArrowFunctionWhenUsingArguments01.ts(2,15): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. +emitArrowFunctionWhenUsingArguments01.ts(7,19): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. +emitArrowFunctionWhenUsingArguments01.ts(13,13): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. +emitArrowFunctionWhenUsingArguments01.ts(19,15): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. ==== emitArrowFunctionWhenUsingArguments01.ts (4 errors) ==== var a = () => { var arg = arguments[0]; // error ~~~~~~~~~ -!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. } var b = function () { var a = () => { var arg = arguments[0]; // error ~~~~~~~~~ -!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. } } @@ -23,7 +23,7 @@ emitArrowFunctionWhenUsingArguments01.ts(19,15): error TS2496: The 'arguments' o () => { var arg = arguments[0]; ~~~~~~~~~ -!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. } } @@ -31,7 +31,7 @@ emitArrowFunctionWhenUsingArguments01.ts(19,15): error TS2496: The 'arguments' o foo(() => { var arg = arguments[0]; // error ~~~~~~~~~ -!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. }); function bar() { diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments02.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments02.errors.txt index 72da3f6d2f898..dd2a76eaddb4d 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments02.errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments02.errors.txt @@ -1,7 +1,7 @@ -emitArrowFunctionWhenUsingArguments02.ts(1,15): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +emitArrowFunctionWhenUsingArguments02.ts(1,15): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. ==== emitArrowFunctionWhenUsingArguments02.ts (1 errors) ==== var a = () => arguments; ~~~~~~~~~ -!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. \ No newline at end of file +!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments03.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments03.errors.txt index a827617121ece..c9f5526b14ebe 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments03.errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments03.errors.txt @@ -1,8 +1,8 @@ -emitArrowFunctionWhenUsingArguments03.ts(2,15): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +emitArrowFunctionWhenUsingArguments03.ts(2,15): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. ==== emitArrowFunctionWhenUsingArguments03.ts (1 errors) ==== var arguments; var a = () => arguments; ~~~~~~~~~ -!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. \ No newline at end of file +!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments04.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments04.errors.txt index aca687fd46d59..b962c5453e1bf 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments04.errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments04.errors.txt @@ -1,4 +1,4 @@ -emitArrowFunctionWhenUsingArguments04.ts(3,19): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +emitArrowFunctionWhenUsingArguments04.ts(3,19): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. ==== emitArrowFunctionWhenUsingArguments04.ts (1 errors) ==== @@ -6,5 +6,5 @@ emitArrowFunctionWhenUsingArguments04.ts(3,19): error TS2496: The 'arguments' ob var arguments; var a = () => arguments; ~~~~~~~~~ -!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. } \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments05.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments05.errors.txt index 0384c485fc99d..802e88b146761 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments05.errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments05.errors.txt @@ -1,9 +1,9 @@ -emitArrowFunctionWhenUsingArguments05.ts(2,19): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +emitArrowFunctionWhenUsingArguments05.ts(2,19): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. ==== emitArrowFunctionWhenUsingArguments05.ts (1 errors) ==== function f(arguments) { var a = () => arguments; ~~~~~~~~~ -!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. } \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments06.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments06.errors.txt index 50328f29caf57..1d17c2669a321 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments06.errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments06.errors.txt @@ -1,9 +1,9 @@ -emitArrowFunctionWhenUsingArguments06.ts(2,25): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +emitArrowFunctionWhenUsingArguments06.ts(2,25): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. ==== emitArrowFunctionWhenUsingArguments06.ts (1 errors) ==== function f(arguments) { var a = () => () => arguments; ~~~~~~~~~ -!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. } \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments07.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments07.errors.txt index c9d00a00cfabe..c3037a6e2b559 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments07.errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments07.errors.txt @@ -1,9 +1,9 @@ -emitArrowFunctionWhenUsingArguments07.ts(2,34): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +emitArrowFunctionWhenUsingArguments07.ts(2,34): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. ==== emitArrowFunctionWhenUsingArguments07.ts (1 errors) ==== function f(arguments) { var a = (arguments) => () => arguments; ~~~~~~~~~ -!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. } \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments09.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments09.errors.txt index d26e3f03f26fe..3cc070dda0a6c 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments09.errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments09.errors.txt @@ -1,9 +1,9 @@ -emitArrowFunctionWhenUsingArguments09.ts(2,25): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +emitArrowFunctionWhenUsingArguments09.ts(2,25): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. ==== emitArrowFunctionWhenUsingArguments09.ts (1 errors) ==== function f(_arguments) { var a = () => () => arguments; ~~~~~~~~~ -!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. } \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments10.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments10.errors.txt index 6a9edcfe8a024..2117758380281 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments10.errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments10.errors.txt @@ -1,4 +1,4 @@ -emitArrowFunctionWhenUsingArguments10.ts(3,25): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +emitArrowFunctionWhenUsingArguments10.ts(3,25): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. ==== emitArrowFunctionWhenUsingArguments10.ts (1 errors) ==== @@ -6,5 +6,5 @@ emitArrowFunctionWhenUsingArguments10.ts(3,25): error TS2496: The 'arguments' ob var _arguments = 10; var a = () => () => arguments; ~~~~~~~~~ -!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. } \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments11.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments11.errors.txt index 1e2004a306904..dcce324a922d3 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments11.errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments11.errors.txt @@ -1,4 +1,4 @@ -emitArrowFunctionWhenUsingArguments11.ts(3,25): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +emitArrowFunctionWhenUsingArguments11.ts(3,25): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. ==== emitArrowFunctionWhenUsingArguments11.ts (1 errors) ==== @@ -6,5 +6,5 @@ emitArrowFunctionWhenUsingArguments11.ts(3,25): error TS2496: The 'arguments' ob var _arguments = 10; var a = () => () => arguments; ~~~~~~~~~ -!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. } \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments12.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments12.errors.txt index a7e64f3e22733..6d2385b2cb7f7 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments12.errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments12.errors.txt @@ -1,5 +1,5 @@ emitArrowFunctionWhenUsingArguments12.ts(2,7): error TS1210: Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of 'arguments'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode. -emitArrowFunctionWhenUsingArguments12.ts(3,23): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +emitArrowFunctionWhenUsingArguments12.ts(3,23): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. ==== emitArrowFunctionWhenUsingArguments12.ts (2 errors) ==== @@ -9,6 +9,6 @@ emitArrowFunctionWhenUsingArguments12.ts(3,23): error TS2496: The 'arguments' ob !!! error TS1210: Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of 'arguments'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode. var a = () => arguments; ~~~~~~~~~ -!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. } } \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments14.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments14.errors.txt index 722230448a868..38491ae7195a5 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments14.errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments14.errors.txt @@ -1,4 +1,4 @@ -emitArrowFunctionWhenUsingArguments14.ts(4,22): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +emitArrowFunctionWhenUsingArguments14.ts(4,22): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. ==== emitArrowFunctionWhenUsingArguments14.ts (1 errors) ==== @@ -7,6 +7,6 @@ emitArrowFunctionWhenUsingArguments14.ts(4,22): error TS2496: The 'arguments' ob const arguments = 100; return () => arguments; ~~~~~~~~~ -!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. } } \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments15.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments15.errors.txt index 430b795a99fdd..08a608ae1216d 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments15.errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments15.errors.txt @@ -1,4 +1,4 @@ -emitArrowFunctionWhenUsingArguments15.ts(5,22): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +emitArrowFunctionWhenUsingArguments15.ts(5,22): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. ==== emitArrowFunctionWhenUsingArguments15.ts (1 errors) ==== @@ -8,6 +8,6 @@ emitArrowFunctionWhenUsingArguments15.ts(5,22): error TS2496: The 'arguments' ob const arguments = 100; return () => arguments; ~~~~~~~~~ -!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. } } \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments16.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments16.errors.txt index 02366376f2f95..f3becb13393c7 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments16.errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments16.errors.txt @@ -1,4 +1,4 @@ -emitArrowFunctionWhenUsingArguments16.ts(4,22): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +emitArrowFunctionWhenUsingArguments16.ts(4,22): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. ==== emitArrowFunctionWhenUsingArguments16.ts (1 errors) ==== @@ -7,7 +7,7 @@ emitArrowFunctionWhenUsingArguments16.ts(4,22): error TS2496: The 'arguments' ob if (Math.random()) { return () => arguments[0]; ~~~~~~~~~ -!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. } var arguments = "world"; } \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments17.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments17.errors.txt index ed5e7bd58702c..47a1971378097 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments17.errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments17.errors.txt @@ -1,4 +1,4 @@ -emitArrowFunctionWhenUsingArguments17.ts(4,22): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +emitArrowFunctionWhenUsingArguments17.ts(4,22): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. ==== emitArrowFunctionWhenUsingArguments17.ts (1 errors) ==== @@ -7,7 +7,7 @@ emitArrowFunctionWhenUsingArguments17.ts(4,22): error TS2496: The 'arguments' ob if (Math.random()) { return () => arguments[0]; ~~~~~~~~~ -!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. } var arguments = "world"; } \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments18.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments18.errors.txt index 753b571fb1073..69afb2040f137 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments18.errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments18.errors.txt @@ -1,4 +1,4 @@ -emitArrowFunctionWhenUsingArguments18.ts(4,22): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +emitArrowFunctionWhenUsingArguments18.ts(4,22): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. ==== emitArrowFunctionWhenUsingArguments18.ts (1 errors) ==== @@ -7,6 +7,6 @@ emitArrowFunctionWhenUsingArguments18.ts(4,22): error TS2496: The 'arguments' ob if (Math.random()) { return () => arguments; ~~~~~~~~~ -!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. } } \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments19.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments19.errors.txt index 367ddde30e693..3095afb9eda95 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments19.errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments19.errors.txt @@ -1,4 +1,4 @@ -emitArrowFunctionWhenUsingArguments19.ts(5,33): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +emitArrowFunctionWhenUsingArguments19.ts(5,33): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. ==== emitArrowFunctionWhenUsingArguments19.ts (1 errors) ==== @@ -8,7 +8,7 @@ emitArrowFunctionWhenUsingArguments19.ts(5,33): error TS2496: The 'arguments' ob function h() { var capture = () => arguments; // Should trigger an '_arguments' capture into function 'h' ~~~~~~~~~ -!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression. +!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. foo(_arguments); // Error as this does not resolve to the user defined '_arguments' } } diff --git a/tests/baselines/reference/errorOnFunctionReturnType.errors.txt b/tests/baselines/reference/errorOnFunctionReturnType.errors.txt index ea68a3b08990b..4af0d2f1c63ab 100644 --- a/tests/baselines/reference/errorOnFunctionReturnType.errors.txt +++ b/tests/baselines/reference/errorOnFunctionReturnType.errors.txt @@ -1,5 +1,5 @@ foo.js(7,10): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value. -foo.js(11,12): error TS2705: An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +foo.js(11,12): error TS2705: An async function or method in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. foo.js(13,5): error TS2322: Type 'string' is not assignable to type 'number'. foo.js(16,60): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value. foo.js(21,20): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value. @@ -25,7 +25,7 @@ foo.js(45,18): error TS2534: A function returning 'never' cannot have a reachabl /** @type {FunctionReturningPromise} */ ~~~~~~~~~~~~~~~~~~~~~~~~ -!!! error TS2705: An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +!!! error TS2705: An async function or method in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. async function testPromise2() { return "asd"; ~~~~~~ @@ -60,7 +60,7 @@ foo.js(45,18): error TS2534: A function returning 'never' cannot have a reachabl /** @type {FunctionReturningNever} */ ~~~~~~~~~~~~~~~~~~~~~~ !!! error TS1065: The return type of an async function or method must be the global Promise type. -!!! related TS1055 foo.js:27:14: Type 'never' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value. +!!! related TS1055 foo.js:27:14: Type 'never' is not a valid async function return type in ES5 because it does not refer to a Promise-compatible constructor value. async function testNever2() { return "asd"; ~~~~~~ diff --git a/tests/baselines/reference/es3defaultAliasIsQuoted.js b/tests/baselines/reference/es3defaultAliasIsQuoted.js index a486ad614046b..f1838019c0828 100644 --- a/tests/baselines/reference/es3defaultAliasIsQuoted.js +++ b/tests/baselines/reference/es3defaultAliasIsQuoted.js @@ -15,7 +15,7 @@ assert(Foo.CONSTANT === "Foo"); //// [es3defaultAliasQuoted_file0.js] "use strict"; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { value: true }); exports.Foo = void 0; var Foo = /** @class */ (function () { function Foo() { @@ -28,9 +28,9 @@ function assert(value) { if (!value) throw new Error("Assertion failed!"); } -exports["default"] = assert; +exports.default = assert; //// [es3defaultAliasQuoted_file1.js] "use strict"; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { value: true }); var es3defaultAliasQuoted_file0_1 = require("./es3defaultAliasQuoted_file0"); -(0, es3defaultAliasQuoted_file0_1["default"])(es3defaultAliasQuoted_file0_1.Foo.CONSTANT === "Foo"); +(0, es3defaultAliasQuoted_file0_1.default)(es3defaultAliasQuoted_file0_1.Foo.CONSTANT === "Foo"); diff --git a/tests/baselines/reference/esModuleInteropWithExportStar(target=es3).js b/tests/baselines/reference/esModuleInteropWithExportStar(target=es3).js index 01f196c438281..b52b84ecbf484 100644 --- a/tests/baselines/reference/esModuleInteropWithExportStar(target=es3).js +++ b/tests/baselines/reference/esModuleInteropWithExportStar(target=es3).js @@ -40,12 +40,12 @@ var __importStar = (this && this.__importStar) || function (mod) { var __exportStar = (this && this.__exportStar) || function(m, exports) { for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); }; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { value: true }); exports.y = exports.x = void 0; var fs = __importStar(require("./fs")); fs; __exportStar(require("./fs"), exports); var fs_1 = require("./fs"); -__createBinding(exports, fs_1, "x"); +Object.defineProperty(exports, "x", { enumerable: true, get: function () { return fs_1.x; } }); var fs_2 = require("./fs"); -__createBinding(exports, fs_2, "x", "y"); +Object.defineProperty(exports, "y", { enumerable: true, get: function () { return fs_2.x; } }); diff --git a/tests/baselines/reference/exportAndImport-es3-amd.js b/tests/baselines/reference/exportAndImport-es3-amd.js index 6f7de5ee871f2..1212ac9620696 100644 --- a/tests/baselines/reference/exportAndImport-es3-amd.js +++ b/tests/baselines/reference/exportAndImport-es3-amd.js @@ -14,17 +14,17 @@ export default function f2() { //// [m1.js] define(["require", "exports"], function (require, exports) { "use strict"; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { value: true }); function f1() { } - exports["default"] = f1; + exports.default = f1; }); //// [m2.js] define(["require", "exports", "./m1"], function (require, exports, m1_1) { "use strict"; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { value: true }); function f2() { - (0, m1_1["default"])(); + (0, m1_1.default)(); } - exports["default"] = f2; + exports.default = f2; }); diff --git a/tests/baselines/reference/exportAndImport-es3.js b/tests/baselines/reference/exportAndImport-es3.js index de49050ff930e..23b48424e2901 100644 --- a/tests/baselines/reference/exportAndImport-es3.js +++ b/tests/baselines/reference/exportAndImport-es3.js @@ -13,15 +13,15 @@ export default function f2() { //// [m1.js] "use strict"; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { value: true }); function f1() { } -exports["default"] = f1; +exports.default = f1; //// [m2.js] "use strict"; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { value: true }); var m1_1 = require("./m1"); function f2() { - (0, m1_1["default"])(); + (0, m1_1.default)(); } -exports["default"] = f2; +exports.default = f2; diff --git a/tests/baselines/reference/exportsAndImportsWithUnderscores1.js b/tests/baselines/reference/exportsAndImportsWithUnderscores1.js index 284537252fe70..4a79981889d1f 100644 --- a/tests/baselines/reference/exportsAndImportsWithUnderscores1.js +++ b/tests/baselines/reference/exportsAndImportsWithUnderscores1.js @@ -15,15 +15,15 @@ const { __, _, ___ } = R; //// [m1.js] "use strict"; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { value: true }); var R; -exports["default"] = R = { +exports.default = R = { "__": 20, "_": 10, "___": 30 }; //// [m2.js] "use strict"; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { value: true }); var m1_1 = require("./m1"); -var __ = m1_1["default"].__, _ = m1_1["default"]._, ___ = m1_1["default"].___; +var __ = m1_1.default.__, _ = m1_1.default._, ___ = m1_1.default.___; diff --git a/tests/baselines/reference/exportsAndImportsWithUnderscores2.js b/tests/baselines/reference/exportsAndImportsWithUnderscores2.js index 90cbc11b95b10..4d4f0e53c1679 100644 --- a/tests/baselines/reference/exportsAndImportsWithUnderscores2.js +++ b/tests/baselines/reference/exportsAndImportsWithUnderscores2.js @@ -14,14 +14,14 @@ const { __esmodule, __proto__ } = R; //// [m1.js] "use strict"; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { value: true }); var R; -exports["default"] = R = { +exports.default = R = { "__esmodule": true, "__proto__": {} }; //// [m2.js] "use strict"; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { value: true }); var m1_1 = require("./m1"); -var __esmodule = m1_1["default"].__esmodule, __proto__ = m1_1["default"].__proto__; +var __esmodule = m1_1.default.__esmodule, __proto__ = m1_1.default.__proto__; diff --git a/tests/baselines/reference/exportsAndImportsWithUnderscores3.js b/tests/baselines/reference/exportsAndImportsWithUnderscores3.js index 0aead5f1f8bbc..66d8c70e4cb5c 100644 --- a/tests/baselines/reference/exportsAndImportsWithUnderscores3.js +++ b/tests/baselines/reference/exportsAndImportsWithUnderscores3.js @@ -15,15 +15,15 @@ const { ___, ___hello, _hi } = R; //// [m1.js] "use strict"; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { value: true }); var R; -exports["default"] = R = { +exports.default = R = { "___": 30, "___hello": 21, - "_hi": 40 + "_hi": 40, }; //// [m2.js] "use strict"; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { value: true }); var m1_1 = require("./m1"); -var ___ = m1_1["default"].___, ___hello = m1_1["default"].___hello, _hi = m1_1["default"]._hi; +var ___ = m1_1.default.___, ___hello = m1_1.default.___hello, _hi = m1_1.default._hi; diff --git a/tests/baselines/reference/exportsAndImportsWithUnderscores4.js b/tests/baselines/reference/exportsAndImportsWithUnderscores4.js index 1fa3b3fd5e1d8..860a60f2620ca 100644 --- a/tests/baselines/reference/exportsAndImportsWithUnderscores4.js +++ b/tests/baselines/reference/exportsAndImportsWithUnderscores4.js @@ -35,7 +35,7 @@ _hi(); //// [m1.js] "use strict"; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { value: true }); exports.___hello = exports.__esmodule = exports.__proto = exports._hi = exports.___ = exports.__ = exports._ = void 0; function _() { console.log("_"); @@ -67,7 +67,7 @@ function ___hello() { exports.___hello = ___hello; //// [m2.js] "use strict"; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { value: true }); var m1_1 = require("./m1"); (0, m1_1._)(); (0, m1_1.__)(); diff --git a/tests/baselines/reference/importCallExpressionAsyncES3AMD.js b/tests/baselines/reference/importCallExpressionAsyncES3AMD.js index 538bda3cdc9ff..5254ea6664e47 100644 --- a/tests/baselines/reference/importCallExpressionAsyncES3AMD.js +++ b/tests/baselines/reference/importCallExpressionAsyncES3AMD.js @@ -69,7 +69,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) { }; define(["require", "exports"], function (require, exports) { "use strict"; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { value: true }); exports.l = exports.cl2 = exports.obj = exports.cl1 = exports.fn = void 0; function fn() { return __awaiter(this, void 0, void 0, function () { diff --git a/tests/baselines/reference/importCallExpressionAsyncES3CJS.js b/tests/baselines/reference/importCallExpressionAsyncES3CJS.js index 8c95d8a6b0758..f8402af359959 100644 --- a/tests/baselines/reference/importCallExpressionAsyncES3CJS.js +++ b/tests/baselines/reference/importCallExpressionAsyncES3CJS.js @@ -68,7 +68,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) { if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; } }; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { value: true }); exports.l = exports.cl2 = exports.obj = exports.cl1 = exports.fn = void 0; function fn() { return __awaiter(this, void 0, void 0, function () { diff --git a/tests/baselines/reference/importCallExpressionAsyncES3System.js b/tests/baselines/reference/importCallExpressionAsyncES3System.js index fba5bcd345f02..abf98ebfb1422 100644 --- a/tests/baselines/reference/importCallExpressionAsyncES3System.js +++ b/tests/baselines/reference/importCallExpressionAsyncES3System.js @@ -76,7 +76,7 @@ System.register([], function (exports_1, context_1) { var req; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, context_1["import"]('./test')]; // ONE + case 0: return [4 /*yield*/, context_1.import('./test')]; // ONE case 1: req = _a.sent() // ONE ; @@ -97,7 +97,7 @@ System.register([], function (exports_1, context_1) { var req; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, context_1["import"]('./test')]; // TWO + case 0: return [4 /*yield*/, context_1.import('./test')]; // TWO case 1: req = _a.sent() // TWO ; @@ -114,7 +114,7 @@ System.register([], function (exports_1, context_1) { var req; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, context_1["import"]('./test')]; // THREE + case 0: return [4 /*yield*/, context_1.import('./test')]; // THREE case 1: req = _a.sent() // THREE ; @@ -131,7 +131,7 @@ System.register([], function (exports_1, context_1) { var req; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, context_1["import"]('./test')]; // FOUR + case 0: return [4 /*yield*/, context_1.import('./test')]; // FOUR case 1: req = _a.sent() // FOUR ; @@ -148,7 +148,7 @@ System.register([], function (exports_1, context_1) { var req; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, context_1["import"]('./test')]; // FIVE + case 0: return [4 /*yield*/, context_1.import('./test')]; // FIVE case 1: req = _a.sent() // FIVE ; diff --git a/tests/baselines/reference/importCallExpressionAsyncES3UMD.js b/tests/baselines/reference/importCallExpressionAsyncES3UMD.js index 8118b26dd4c43..9dea686b35157 100644 --- a/tests/baselines/reference/importCallExpressionAsyncES3UMD.js +++ b/tests/baselines/reference/importCallExpressionAsyncES3UMD.js @@ -78,7 +78,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) { })(function (require, exports) { "use strict"; var __syncRequire = typeof module === "object" && typeof module.exports === "object"; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { value: true }); exports.l = exports.cl2 = exports.obj = exports.cl1 = exports.fn = void 0; function fn() { return __awaiter(this, void 0, void 0, function () { diff --git a/tests/baselines/reference/importCallExpressionNoModuleKindSpecified.errors.txt b/tests/baselines/reference/importCallExpressionNoModuleKindSpecified.errors.txt index 00bae34c9076b..14374297948bb 100644 --- a/tests/baselines/reference/importCallExpressionNoModuleKindSpecified.errors.txt +++ b/tests/baselines/reference/importCallExpressionNoModuleKindSpecified.errors.txt @@ -1,8 +1,8 @@ error TS2468: Cannot find global value 'Promise'. -2.ts(3,24): error TS2712: A dynamic import call in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. -2.ts(5,27): error TS2712: A dynamic import call in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. -2.ts(8,12): error TS2705: An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. -2.ts(10,29): error TS2712: A dynamic import call in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +2.ts(3,24): error TS2712: A dynamic import call in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +2.ts(5,27): error TS2712: A dynamic import call in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +2.ts(8,12): error TS2705: An async function or method in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +2.ts(10,29): error TS2712: A dynamic import call in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. !!! error TS2468: Cannot find global value 'Promise'. @@ -21,20 +21,20 @@ error TS2468: Cannot find global value 'Promise'. class C { private myModule = import("./0"); ~~~~~~~~~~~~~ -!!! error TS2712: A dynamic import call in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +!!! error TS2712: A dynamic import call in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. method() { const loadAsync = import("./0"); ~~~~~~~~~~~~~ -!!! error TS2712: A dynamic import call in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +!!! error TS2712: A dynamic import call in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. this.myModule.then(Zero => { console.log(Zero.foo()); }, async err => { ~~~~~~~~~~~~~~ -!!! error TS2705: An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +!!! error TS2705: An async function or method in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. console.log(err); let one = await import("./1"); ~~~~~~~~~~~~~ -!!! error TS2712: A dynamic import call in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +!!! error TS2712: A dynamic import call in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. console.log(one.backup()); }); } diff --git a/tests/baselines/reference/importMeta(module=commonjs,target=es5).errors.txt b/tests/baselines/reference/importMeta(module=commonjs,target=es5).errors.txt index 4e58f5f82c56d..4be6e8a4823e8 100644 --- a/tests/baselines/reference/importMeta(module=commonjs,target=es5).errors.txt +++ b/tests/baselines/reference/importMeta(module=commonjs,target=es5).errors.txt @@ -7,7 +7,7 @@ assignmentTargets.ts(1,70): error TS1343: The 'import.meta' meta-property is onl assignmentTargets.ts(2,1): error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'. assignmentTargets.ts(2,1): error TS2364: The left-hand side of an assignment expression must be a variable or a property access. assignmentTargets.ts(11,21): error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'. -example.ts(2,2): error TS2705: An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +example.ts(2,2): error TS2705: An async function or method in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. example.ts(3,59): error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'. example.ts(6,16): error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'. example.ts(6,28): error TS2339: Property 'scriptElement' does not exist on type 'ImportMeta'. @@ -28,7 +28,7 @@ scriptLookingFile01.ts(3,22): error TS17012: 'import' is not a valid meta-proper // Adapted from https://github.com/tc39/proposal-import-meta/tree/c3902a9ffe2e69a7ac42c19d7ea74cbdcea9b7fb#example (async () => { ~~~~~~~~~~~~~ -!!! error TS2705: An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +!!! error TS2705: An async function or method in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. const response = await fetch(new URL("../hamsters.jpg", import.meta.url).toString()); ~~~~~~~~~~~ !!! error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'. diff --git a/tests/baselines/reference/importMeta(module=commonjs,target=esnext).errors.txt b/tests/baselines/reference/importMeta(module=commonjs,target=esnext).errors.txt index 4e58f5f82c56d..4be6e8a4823e8 100644 --- a/tests/baselines/reference/importMeta(module=commonjs,target=esnext).errors.txt +++ b/tests/baselines/reference/importMeta(module=commonjs,target=esnext).errors.txt @@ -7,7 +7,7 @@ assignmentTargets.ts(1,70): error TS1343: The 'import.meta' meta-property is onl assignmentTargets.ts(2,1): error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'. assignmentTargets.ts(2,1): error TS2364: The left-hand side of an assignment expression must be a variable or a property access. assignmentTargets.ts(11,21): error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'. -example.ts(2,2): error TS2705: An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +example.ts(2,2): error TS2705: An async function or method in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. example.ts(3,59): error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'. example.ts(6,16): error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'. example.ts(6,28): error TS2339: Property 'scriptElement' does not exist on type 'ImportMeta'. @@ -28,7 +28,7 @@ scriptLookingFile01.ts(3,22): error TS17012: 'import' is not a valid meta-proper // Adapted from https://github.com/tc39/proposal-import-meta/tree/c3902a9ffe2e69a7ac42c19d7ea74cbdcea9b7fb#example (async () => { ~~~~~~~~~~~~~ -!!! error TS2705: An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +!!! error TS2705: An async function or method in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. const response = await fetch(new URL("../hamsters.jpg", import.meta.url).toString()); ~~~~~~~~~~~ !!! error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'. diff --git a/tests/baselines/reference/importMeta(module=es2020,target=es5).errors.txt b/tests/baselines/reference/importMeta(module=es2020,target=es5).errors.txt index 3cbf92fee5ff9..8c43f299b55fd 100644 --- a/tests/baselines/reference/importMeta(module=es2020,target=es5).errors.txt +++ b/tests/baselines/reference/importMeta(module=es2020,target=es5).errors.txt @@ -2,7 +2,7 @@ error TS2468: Cannot find global value 'Promise'. assignmentTargets.ts(1,44): error TS2339: Property 'blah' does not exist on type 'ImportMeta'. assignmentTargets.ts(1,63): error TS2339: Property 'blue' does not exist on type 'ImportMeta'. assignmentTargets.ts(2,1): error TS2364: The left-hand side of an assignment expression must be a variable or a property access. -example.ts(2,2): error TS2705: An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +example.ts(2,2): error TS2705: An async function or method in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. example.ts(6,28): error TS2339: Property 'scriptElement' does not exist on type 'ImportMeta'. moduleLookingFile01.ts(2,23): error TS17012: 'metal' is not a valid meta-property for keyword 'import'. Did you mean 'meta'? moduleLookingFile01.ts(3,23): error TS17012: 'import' is not a valid meta-property for keyword 'import'. Did you mean 'meta'? @@ -15,7 +15,7 @@ scriptLookingFile01.ts(3,22): error TS17012: 'import' is not a valid meta-proper // Adapted from https://github.com/tc39/proposal-import-meta/tree/c3902a9ffe2e69a7ac42c19d7ea74cbdcea9b7fb#example (async () => { ~~~~~~~~~~~~~ -!!! error TS2705: An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +!!! error TS2705: An async function or method in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. const response = await fetch(new URL("../hamsters.jpg", import.meta.url).toString()); const blob = await response.blob(); diff --git a/tests/baselines/reference/importMeta(module=es2020,target=esnext).errors.txt b/tests/baselines/reference/importMeta(module=es2020,target=esnext).errors.txt index 3cbf92fee5ff9..8c43f299b55fd 100644 --- a/tests/baselines/reference/importMeta(module=es2020,target=esnext).errors.txt +++ b/tests/baselines/reference/importMeta(module=es2020,target=esnext).errors.txt @@ -2,7 +2,7 @@ error TS2468: Cannot find global value 'Promise'. assignmentTargets.ts(1,44): error TS2339: Property 'blah' does not exist on type 'ImportMeta'. assignmentTargets.ts(1,63): error TS2339: Property 'blue' does not exist on type 'ImportMeta'. assignmentTargets.ts(2,1): error TS2364: The left-hand side of an assignment expression must be a variable or a property access. -example.ts(2,2): error TS2705: An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +example.ts(2,2): error TS2705: An async function or method in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. example.ts(6,28): error TS2339: Property 'scriptElement' does not exist on type 'ImportMeta'. moduleLookingFile01.ts(2,23): error TS17012: 'metal' is not a valid meta-property for keyword 'import'. Did you mean 'meta'? moduleLookingFile01.ts(3,23): error TS17012: 'import' is not a valid meta-property for keyword 'import'. Did you mean 'meta'? @@ -15,7 +15,7 @@ scriptLookingFile01.ts(3,22): error TS17012: 'import' is not a valid meta-proper // Adapted from https://github.com/tc39/proposal-import-meta/tree/c3902a9ffe2e69a7ac42c19d7ea74cbdcea9b7fb#example (async () => { ~~~~~~~~~~~~~ -!!! error TS2705: An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +!!! error TS2705: An async function or method in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. const response = await fetch(new URL("../hamsters.jpg", import.meta.url).toString()); const blob = await response.blob(); diff --git a/tests/baselines/reference/importMeta(module=esnext,target=es5).errors.txt b/tests/baselines/reference/importMeta(module=esnext,target=es5).errors.txt index 3cbf92fee5ff9..8c43f299b55fd 100644 --- a/tests/baselines/reference/importMeta(module=esnext,target=es5).errors.txt +++ b/tests/baselines/reference/importMeta(module=esnext,target=es5).errors.txt @@ -2,7 +2,7 @@ error TS2468: Cannot find global value 'Promise'. assignmentTargets.ts(1,44): error TS2339: Property 'blah' does not exist on type 'ImportMeta'. assignmentTargets.ts(1,63): error TS2339: Property 'blue' does not exist on type 'ImportMeta'. assignmentTargets.ts(2,1): error TS2364: The left-hand side of an assignment expression must be a variable or a property access. -example.ts(2,2): error TS2705: An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +example.ts(2,2): error TS2705: An async function or method in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. example.ts(6,28): error TS2339: Property 'scriptElement' does not exist on type 'ImportMeta'. moduleLookingFile01.ts(2,23): error TS17012: 'metal' is not a valid meta-property for keyword 'import'. Did you mean 'meta'? moduleLookingFile01.ts(3,23): error TS17012: 'import' is not a valid meta-property for keyword 'import'. Did you mean 'meta'? @@ -15,7 +15,7 @@ scriptLookingFile01.ts(3,22): error TS17012: 'import' is not a valid meta-proper // Adapted from https://github.com/tc39/proposal-import-meta/tree/c3902a9ffe2e69a7ac42c19d7ea74cbdcea9b7fb#example (async () => { ~~~~~~~~~~~~~ -!!! error TS2705: An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +!!! error TS2705: An async function or method in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. const response = await fetch(new URL("../hamsters.jpg", import.meta.url).toString()); const blob = await response.blob(); diff --git a/tests/baselines/reference/importMeta(module=esnext,target=esnext).errors.txt b/tests/baselines/reference/importMeta(module=esnext,target=esnext).errors.txt index 3cbf92fee5ff9..8c43f299b55fd 100644 --- a/tests/baselines/reference/importMeta(module=esnext,target=esnext).errors.txt +++ b/tests/baselines/reference/importMeta(module=esnext,target=esnext).errors.txt @@ -2,7 +2,7 @@ error TS2468: Cannot find global value 'Promise'. assignmentTargets.ts(1,44): error TS2339: Property 'blah' does not exist on type 'ImportMeta'. assignmentTargets.ts(1,63): error TS2339: Property 'blue' does not exist on type 'ImportMeta'. assignmentTargets.ts(2,1): error TS2364: The left-hand side of an assignment expression must be a variable or a property access. -example.ts(2,2): error TS2705: An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +example.ts(2,2): error TS2705: An async function or method in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. example.ts(6,28): error TS2339: Property 'scriptElement' does not exist on type 'ImportMeta'. moduleLookingFile01.ts(2,23): error TS17012: 'metal' is not a valid meta-property for keyword 'import'. Did you mean 'meta'? moduleLookingFile01.ts(3,23): error TS17012: 'import' is not a valid meta-property for keyword 'import'. Did you mean 'meta'? @@ -15,7 +15,7 @@ scriptLookingFile01.ts(3,22): error TS17012: 'import' is not a valid meta-proper // Adapted from https://github.com/tc39/proposal-import-meta/tree/c3902a9ffe2e69a7ac42c19d7ea74cbdcea9b7fb#example (async () => { ~~~~~~~~~~~~~ -!!! error TS2705: An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +!!! error TS2705: An async function or method in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. const response = await fetch(new URL("../hamsters.jpg", import.meta.url).toString()); const blob = await response.blob(); diff --git a/tests/baselines/reference/importMeta(module=system,target=es5).errors.txt b/tests/baselines/reference/importMeta(module=system,target=es5).errors.txt index 3cbf92fee5ff9..8c43f299b55fd 100644 --- a/tests/baselines/reference/importMeta(module=system,target=es5).errors.txt +++ b/tests/baselines/reference/importMeta(module=system,target=es5).errors.txt @@ -2,7 +2,7 @@ error TS2468: Cannot find global value 'Promise'. assignmentTargets.ts(1,44): error TS2339: Property 'blah' does not exist on type 'ImportMeta'. assignmentTargets.ts(1,63): error TS2339: Property 'blue' does not exist on type 'ImportMeta'. assignmentTargets.ts(2,1): error TS2364: The left-hand side of an assignment expression must be a variable or a property access. -example.ts(2,2): error TS2705: An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +example.ts(2,2): error TS2705: An async function or method in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. example.ts(6,28): error TS2339: Property 'scriptElement' does not exist on type 'ImportMeta'. moduleLookingFile01.ts(2,23): error TS17012: 'metal' is not a valid meta-property for keyword 'import'. Did you mean 'meta'? moduleLookingFile01.ts(3,23): error TS17012: 'import' is not a valid meta-property for keyword 'import'. Did you mean 'meta'? @@ -15,7 +15,7 @@ scriptLookingFile01.ts(3,22): error TS17012: 'import' is not a valid meta-proper // Adapted from https://github.com/tc39/proposal-import-meta/tree/c3902a9ffe2e69a7ac42c19d7ea74cbdcea9b7fb#example (async () => { ~~~~~~~~~~~~~ -!!! error TS2705: An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +!!! error TS2705: An async function or method in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. const response = await fetch(new URL("../hamsters.jpg", import.meta.url).toString()); const blob = await response.blob(); diff --git a/tests/baselines/reference/importMeta(module=system,target=esnext).errors.txt b/tests/baselines/reference/importMeta(module=system,target=esnext).errors.txt index 3cbf92fee5ff9..8c43f299b55fd 100644 --- a/tests/baselines/reference/importMeta(module=system,target=esnext).errors.txt +++ b/tests/baselines/reference/importMeta(module=system,target=esnext).errors.txt @@ -2,7 +2,7 @@ error TS2468: Cannot find global value 'Promise'. assignmentTargets.ts(1,44): error TS2339: Property 'blah' does not exist on type 'ImportMeta'. assignmentTargets.ts(1,63): error TS2339: Property 'blue' does not exist on type 'ImportMeta'. assignmentTargets.ts(2,1): error TS2364: The left-hand side of an assignment expression must be a variable or a property access. -example.ts(2,2): error TS2705: An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +example.ts(2,2): error TS2705: An async function or method in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. example.ts(6,28): error TS2339: Property 'scriptElement' does not exist on type 'ImportMeta'. moduleLookingFile01.ts(2,23): error TS17012: 'metal' is not a valid meta-property for keyword 'import'. Did you mean 'meta'? moduleLookingFile01.ts(3,23): error TS17012: 'import' is not a valid meta-property for keyword 'import'. Did you mean 'meta'? @@ -15,7 +15,7 @@ scriptLookingFile01.ts(3,22): error TS17012: 'import' is not a valid meta-proper // Adapted from https://github.com/tc39/proposal-import-meta/tree/c3902a9ffe2e69a7ac42c19d7ea74cbdcea9b7fb#example (async () => { ~~~~~~~~~~~~~ -!!! error TS2705: An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +!!! error TS2705: An async function or method in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. const response = await fetch(new URL("../hamsters.jpg", import.meta.url).toString()); const blob = await response.blob(); diff --git a/tests/baselines/reference/objectLiteralErrorsES3.errors.txt b/tests/baselines/reference/objectLiteralErrorsES3.errors.txt index 723c249a8b7aa..1462237ca81ff 100644 --- a/tests/baselines/reference/objectLiteralErrorsES3.errors.txt +++ b/tests/baselines/reference/objectLiteralErrorsES3.errors.txt @@ -1,22 +1,10 @@ error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -objectLiteralErrorsES3.ts(1,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. -objectLiteralErrorsES3.ts(2,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. -objectLiteralErrorsES3.ts(3,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. -objectLiteralErrorsES3.ts(3,40): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. !!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== objectLiteralErrorsES3.ts (4 errors) ==== +==== objectLiteralErrorsES3.ts (0 errors) ==== var e1 = { get a() { return 4; } }; - ~ -!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. var e2 = { set a(n) { } }; - ~ -!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. var e3 = { get a() { return ''; }, set a(n) { } }; - ~ -!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. - ~ -!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. \ No newline at end of file diff --git a/tests/baselines/reference/operationsAvailableOnPromisedType.errors.txt b/tests/baselines/reference/operationsAvailableOnPromisedType.errors.txt index 12ec1f189b503..9a0b9becfc1a2 100644 --- a/tests/baselines/reference/operationsAvailableOnPromisedType.errors.txt +++ b/tests/baselines/reference/operationsAvailableOnPromisedType.errors.txt @@ -1,5 +1,5 @@ error TS2468: Cannot find global value 'Promise'. -operationsAvailableOnPromisedType.ts(1,16): error TS2705: An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +operationsAvailableOnPromisedType.ts(1,16): error TS2705: An async function or method in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. operationsAvailableOnPromisedType.ts(11,9): error TS2363: The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. operationsAvailableOnPromisedType.ts(12,5): error TS2362: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. operationsAvailableOnPromisedType.ts(13,5): error TS2365: Operator '+' cannot be applied to types 'number' and 'Promise'. @@ -27,7 +27,7 @@ operationsAvailableOnPromisedType.ts(27,5): error TS2349: This expression is not ==== operationsAvailableOnPromisedType.ts (17 errors) ==== async function fn( ~~ -!!! error TS2705: An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. +!!! error TS2705: An async function or method in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. a: number, b: Promise, c: Promise, diff --git a/tests/baselines/reference/privateNameES5Ban(target=es3).errors.txt b/tests/baselines/reference/privateNameES5Ban(target=es3).errors.txt index a6d694f0c73c9..dba64b4f5529b 100644 --- a/tests/baselines/reference/privateNameES5Ban(target=es3).errors.txt +++ b/tests/baselines/reference/privateNameES5Ban(target=es3).errors.txt @@ -3,10 +3,10 @@ privateNameES5Ban.ts(3,5): error TS18028: Private identifiers are only available privateNameES5Ban.ts(4,5): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher. privateNameES5Ban.ts(5,12): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher. privateNameES5Ban.ts(6,12): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher. -privateNameES5Ban.ts(7,9): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. -privateNameES5Ban.ts(8,9): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. -privateNameES5Ban.ts(9,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. -privateNameES5Ban.ts(10,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. +privateNameES5Ban.ts(7,9): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher. +privateNameES5Ban.ts(8,9): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher. +privateNameES5Ban.ts(9,16): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher. +privateNameES5Ban.ts(10,16): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher. !!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. @@ -27,16 +27,16 @@ privateNameES5Ban.ts(10,16): error TS1056: Accessors are only available when tar !!! error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher. get #acc() { return ""; } ~~~~ -!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. +!!! error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher. set #acc(x: string) {} ~~~~ -!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. +!!! error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher. static get #sAcc() { return 0; } ~~~~~ -!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. +!!! error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher. static set #sAcc(x: number) {} ~~~~~ -!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. +!!! error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher. } \ No newline at end of file diff --git a/tests/baselines/reference/trailingCommasES3.js b/tests/baselines/reference/trailingCommasES3.js index 26d910b0cdb49..11d2d0d8f0c9f 100644 --- a/tests/baselines/reference/trailingCommasES3.js +++ b/tests/baselines/reference/trailingCommasES3.js @@ -15,8 +15,8 @@ var a6 = [, , ]; //// [trailingCommasES3.js] var o1 = { a: 1, b: 2 }; -var o2 = { a: 1, b: 2 }; -var o3 = { a: 1 }; +var o2 = { a: 1, b: 2, }; +var o3 = { a: 1, }; var o4 = {}; var a1 = [1, 2]; var a2 = [1, 2,]; diff --git a/tests/baselines/reference/transpile/Does not elide import equals referenced only by export type (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Does not elide import equals referenced only by export type (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index a386c7ac82f09..0000000000000 --- a/tests/baselines/reference/transpile/Does not elide import equals referenced only by export type (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - import IFoo = Namespace.IFoo;export type { IFoo }; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Does not elide import equals referenced only by export type (verbatimModuleSyntax=true).js b/tests/baselines/reference/transpile/Does not elide import equals referenced only by export type (verbatimModuleSyntax=true).js index 3b56b45b823aa..5038357ffe31c 100644 --- a/tests/baselines/reference/transpile/Does not elide import equals referenced only by export type (verbatimModuleSyntax=true).js +++ b/tests/baselines/reference/transpile/Does not elide import equals referenced only by export type (verbatimModuleSyntax=true).js @@ -1,4 +1,4 @@ "use strict"; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { value: true }); var IFoo = Namespace.IFoo; //# sourceMappingURL=file.js.map \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Does not elide import equals referenced only by export type (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Does not elide import equals referenced only by export type (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index a386c7ac82f09..0000000000000 --- a/tests/baselines/reference/transpile/Does not elide import equals referenced only by export type (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - import IFoo = Namespace.IFoo;export type { IFoo }; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Does not elide import equals referenced only by export type (verbatimModuleSyntax=true).oldTranspile.js b/tests/baselines/reference/transpile/Does not elide import equals referenced only by export type (verbatimModuleSyntax=true).oldTranspile.js index 3b56b45b823aa..5038357ffe31c 100644 --- a/tests/baselines/reference/transpile/Does not elide import equals referenced only by export type (verbatimModuleSyntax=true).oldTranspile.js +++ b/tests/baselines/reference/transpile/Does not elide import equals referenced only by export type (verbatimModuleSyntax=true).oldTranspile.js @@ -1,4 +1,4 @@ "use strict"; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { value: true }); var IFoo = Namespace.IFoo; //# sourceMappingURL=file.js.map \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Does not elide import equals referenced only by type only export specifier (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Does not elide import equals referenced only by type only export specifier (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 17fe95867a72a..0000000000000 --- a/tests/baselines/reference/transpile/Does not elide import equals referenced only by type only export specifier (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - import IFoo = Namespace.IFoo;export { type IFoo }; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Does not elide import equals referenced only by type only export specifier (verbatimModuleSyntax=true).js b/tests/baselines/reference/transpile/Does not elide import equals referenced only by type only export specifier (verbatimModuleSyntax=true).js index 3b56b45b823aa..5038357ffe31c 100644 --- a/tests/baselines/reference/transpile/Does not elide import equals referenced only by type only export specifier (verbatimModuleSyntax=true).js +++ b/tests/baselines/reference/transpile/Does not elide import equals referenced only by type only export specifier (verbatimModuleSyntax=true).js @@ -1,4 +1,4 @@ "use strict"; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { value: true }); var IFoo = Namespace.IFoo; //# sourceMappingURL=file.js.map \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Does not elide import equals referenced only by type only export specifier (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Does not elide import equals referenced only by type only export specifier (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 17fe95867a72a..0000000000000 --- a/tests/baselines/reference/transpile/Does not elide import equals referenced only by type only export specifier (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - import IFoo = Namespace.IFoo;export { type IFoo }; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Does not elide import equals referenced only by type only export specifier (verbatimModuleSyntax=true).oldTranspile.js b/tests/baselines/reference/transpile/Does not elide import equals referenced only by type only export specifier (verbatimModuleSyntax=true).oldTranspile.js index 3b56b45b823aa..5038357ffe31c 100644 --- a/tests/baselines/reference/transpile/Does not elide import equals referenced only by type only export specifier (verbatimModuleSyntax=true).oldTranspile.js +++ b/tests/baselines/reference/transpile/Does not elide import equals referenced only by type only export specifier (verbatimModuleSyntax=true).oldTranspile.js @@ -1,4 +1,4 @@ "use strict"; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { value: true }); var IFoo = Namespace.IFoo; //# sourceMappingURL=file.js.map \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Does not generate semantic diagnostics (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Does not generate semantic diagnostics (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 61c84f29d5048..0000000000000 --- a/tests/baselines/reference/transpile/Does not generate semantic diagnostics (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - var x: string = 0; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Does not generate semantic diagnostics (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Does not generate semantic diagnostics (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 61c84f29d5048..0000000000000 --- a/tests/baselines/reference/transpile/Does not generate semantic diagnostics (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - var x: string = 0; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Does not generate semantic diagnostics.errors.txt b/tests/baselines/reference/transpile/Does not generate semantic diagnostics.errors.txt deleted file mode 100644 index 61c84f29d5048..0000000000000 --- a/tests/baselines/reference/transpile/Does not generate semantic diagnostics.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - var x: string = 0; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Does not generate semantic diagnostics.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Does not generate semantic diagnostics.oldTranspile.errors.txt deleted file mode 100644 index 61c84f29d5048..0000000000000 --- a/tests/baselines/reference/transpile/Does not generate semantic diagnostics.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - var x: string = 0; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Does not support setting isolatedModules (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Does not support setting isolatedModules (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Does not support setting isolatedModules (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Does not support setting isolatedModules (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Does not support setting isolatedModules (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Does not support setting isolatedModules (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Elides import equals referenced only by export type.errors.txt b/tests/baselines/reference/transpile/Elides import equals referenced only by export type.errors.txt deleted file mode 100644 index a386c7ac82f09..0000000000000 --- a/tests/baselines/reference/transpile/Elides import equals referenced only by export type.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - import IFoo = Namespace.IFoo;export type { IFoo }; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Elides import equals referenced only by export type.js b/tests/baselines/reference/transpile/Elides import equals referenced only by export type.js index e9493d9d5917d..61215bc876f57 100644 --- a/tests/baselines/reference/transpile/Elides import equals referenced only by export type.js +++ b/tests/baselines/reference/transpile/Elides import equals referenced only by export type.js @@ -1,3 +1,3 @@ "use strict"; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { value: true }); //# sourceMappingURL=file.js.map \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Elides import equals referenced only by export type.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Elides import equals referenced only by export type.oldTranspile.errors.txt deleted file mode 100644 index a386c7ac82f09..0000000000000 --- a/tests/baselines/reference/transpile/Elides import equals referenced only by export type.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - import IFoo = Namespace.IFoo;export type { IFoo }; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Elides import equals referenced only by export type.oldTranspile.js b/tests/baselines/reference/transpile/Elides import equals referenced only by export type.oldTranspile.js index e9493d9d5917d..61215bc876f57 100644 --- a/tests/baselines/reference/transpile/Elides import equals referenced only by export type.oldTranspile.js +++ b/tests/baselines/reference/transpile/Elides import equals referenced only by export type.oldTranspile.js @@ -1,3 +1,3 @@ "use strict"; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { value: true }); //# sourceMappingURL=file.js.map \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Elides import equals referenced only by type only export specifier.errors.txt b/tests/baselines/reference/transpile/Elides import equals referenced only by type only export specifier.errors.txt deleted file mode 100644 index 17fe95867a72a..0000000000000 --- a/tests/baselines/reference/transpile/Elides import equals referenced only by type only export specifier.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - import IFoo = Namespace.IFoo;export { type IFoo }; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Elides import equals referenced only by type only export specifier.js b/tests/baselines/reference/transpile/Elides import equals referenced only by type only export specifier.js index e9493d9d5917d..61215bc876f57 100644 --- a/tests/baselines/reference/transpile/Elides import equals referenced only by type only export specifier.js +++ b/tests/baselines/reference/transpile/Elides import equals referenced only by type only export specifier.js @@ -1,3 +1,3 @@ "use strict"; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { value: true }); //# sourceMappingURL=file.js.map \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Elides import equals referenced only by type only export specifier.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Elides import equals referenced only by type only export specifier.oldTranspile.errors.txt deleted file mode 100644 index 17fe95867a72a..0000000000000 --- a/tests/baselines/reference/transpile/Elides import equals referenced only by type only export specifier.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - import IFoo = Namespace.IFoo;export { type IFoo }; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Elides import equals referenced only by type only export specifier.oldTranspile.js b/tests/baselines/reference/transpile/Elides import equals referenced only by type only export specifier.oldTranspile.js index e9493d9d5917d..61215bc876f57 100644 --- a/tests/baselines/reference/transpile/Elides import equals referenced only by type only export specifier.oldTranspile.js +++ b/tests/baselines/reference/transpile/Elides import equals referenced only by type only export specifier.oldTranspile.js @@ -1,3 +1,3 @@ "use strict"; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { value: true }); //# sourceMappingURL=file.js.map \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Export star as ns conflict does not crash (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Export star as ns conflict does not crash (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 82586dfb3767f..0000000000000 --- a/tests/baselines/reference/transpile/Export star as ns conflict does not crash (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,9 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - - var a; - export { a as alias }; - export * as alias from './file'; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Export star as ns conflict does not crash (verbatimModuleSyntax=true).js b/tests/baselines/reference/transpile/Export star as ns conflict does not crash (verbatimModuleSyntax=true).js index 716afd5bdd11a..b9099960ddc61 100644 --- a/tests/baselines/reference/transpile/Export star as ns conflict does not crash (verbatimModuleSyntax=true).js +++ b/tests/baselines/reference/transpile/Export star as ns conflict does not crash (verbatimModuleSyntax=true).js @@ -1,5 +1,5 @@ "use strict"; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { value: true }); exports.alias = void 0; var a; exports.alias = require("./file"); diff --git a/tests/baselines/reference/transpile/Export star as ns conflict does not crash (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Export star as ns conflict does not crash (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 82586dfb3767f..0000000000000 --- a/tests/baselines/reference/transpile/Export star as ns conflict does not crash (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,9 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - - var a; - export { a as alias }; - export * as alias from './file'; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Export star as ns conflict does not crash (verbatimModuleSyntax=true).oldTranspile.js b/tests/baselines/reference/transpile/Export star as ns conflict does not crash (verbatimModuleSyntax=true).oldTranspile.js index 716afd5bdd11a..b9099960ddc61 100644 --- a/tests/baselines/reference/transpile/Export star as ns conflict does not crash (verbatimModuleSyntax=true).oldTranspile.js +++ b/tests/baselines/reference/transpile/Export star as ns conflict does not crash (verbatimModuleSyntax=true).oldTranspile.js @@ -1,5 +1,5 @@ "use strict"; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { value: true }); exports.alias = void 0; var a; exports.alias = require("./file"); diff --git a/tests/baselines/reference/transpile/Export star as ns conflict does not crash.errors.txt b/tests/baselines/reference/transpile/Export star as ns conflict does not crash.errors.txt deleted file mode 100644 index 82586dfb3767f..0000000000000 --- a/tests/baselines/reference/transpile/Export star as ns conflict does not crash.errors.txt +++ /dev/null @@ -1,9 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - - var a; - export { a as alias }; - export * as alias from './file'; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Export star as ns conflict does not crash.js b/tests/baselines/reference/transpile/Export star as ns conflict does not crash.js index 716afd5bdd11a..b9099960ddc61 100644 --- a/tests/baselines/reference/transpile/Export star as ns conflict does not crash.js +++ b/tests/baselines/reference/transpile/Export star as ns conflict does not crash.js @@ -1,5 +1,5 @@ "use strict"; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { value: true }); exports.alias = void 0; var a; exports.alias = require("./file"); diff --git a/tests/baselines/reference/transpile/Export star as ns conflict does not crash.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Export star as ns conflict does not crash.oldTranspile.errors.txt deleted file mode 100644 index 82586dfb3767f..0000000000000 --- a/tests/baselines/reference/transpile/Export star as ns conflict does not crash.oldTranspile.errors.txt +++ /dev/null @@ -1,9 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - - var a; - export { a as alias }; - export * as alias from './file'; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Export star as ns conflict does not crash.oldTranspile.js b/tests/baselines/reference/transpile/Export star as ns conflict does not crash.oldTranspile.js index 716afd5bdd11a..b9099960ddc61 100644 --- a/tests/baselines/reference/transpile/Export star as ns conflict does not crash.oldTranspile.js +++ b/tests/baselines/reference/transpile/Export star as ns conflict does not crash.oldTranspile.js @@ -1,5 +1,5 @@ "use strict"; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { value: true }); exports.alias = void 0; var a; exports.alias = require("./file"); diff --git a/tests/baselines/reference/transpile/Generates expected syntactic diagnostics (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Generates expected syntactic diagnostics (verbatimModuleSyntax=true).errors.txt index b399ddc1ae745..c203977424625 100644 --- a/tests/baselines/reference/transpile/Generates expected syntactic diagnostics (verbatimModuleSyntax=true).errors.txt +++ b/tests/baselines/reference/transpile/Generates expected syntactic diagnostics (verbatimModuleSyntax=true).errors.txt @@ -1,8 +1,6 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. file.ts(1,1): error TS1434: Unexpected keyword or identifier. -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. ==== file.ts (1 errors) ==== a b ~ diff --git a/tests/baselines/reference/transpile/Generates expected syntactic diagnostics (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Generates expected syntactic diagnostics (verbatimModuleSyntax=true).oldTranspile.errors.txt index b399ddc1ae745..c203977424625 100644 --- a/tests/baselines/reference/transpile/Generates expected syntactic diagnostics (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ b/tests/baselines/reference/transpile/Generates expected syntactic diagnostics (verbatimModuleSyntax=true).oldTranspile.errors.txt @@ -1,8 +1,6 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. file.ts(1,1): error TS1434: Unexpected keyword or identifier. -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. ==== file.ts (1 errors) ==== a b ~ diff --git a/tests/baselines/reference/transpile/Generates expected syntactic diagnostics.errors.txt b/tests/baselines/reference/transpile/Generates expected syntactic diagnostics.errors.txt index b399ddc1ae745..c203977424625 100644 --- a/tests/baselines/reference/transpile/Generates expected syntactic diagnostics.errors.txt +++ b/tests/baselines/reference/transpile/Generates expected syntactic diagnostics.errors.txt @@ -1,8 +1,6 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. file.ts(1,1): error TS1434: Unexpected keyword or identifier. -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. ==== file.ts (1 errors) ==== a b ~ diff --git a/tests/baselines/reference/transpile/Generates expected syntactic diagnostics.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Generates expected syntactic diagnostics.oldTranspile.errors.txt index b399ddc1ae745..c203977424625 100644 --- a/tests/baselines/reference/transpile/Generates expected syntactic diagnostics.oldTranspile.errors.txt +++ b/tests/baselines/reference/transpile/Generates expected syntactic diagnostics.oldTranspile.errors.txt @@ -1,8 +1,6 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. file.ts(1,1): error TS1434: Unexpected keyword or identifier. -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. ==== file.ts (1 errors) ==== a b ~ diff --git a/tests/baselines/reference/transpile/Generates module output.errors.txt b/tests/baselines/reference/transpile/Generates module output.errors.txt deleted file mode 100644 index 3d5a29154ec5e..0000000000000 --- a/tests/baselines/reference/transpile/Generates module output.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - var x = 0; export {}; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Generates module output.js b/tests/baselines/reference/transpile/Generates module output.js index 2c7bb7add09eb..aadb3cab3e06f 100644 --- a/tests/baselines/reference/transpile/Generates module output.js +++ b/tests/baselines/reference/transpile/Generates module output.js @@ -1,6 +1,6 @@ define(["require", "exports"], function (require, exports) { "use strict"; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { value: true }); var x = 0; }); //# sourceMappingURL=file.js.map \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Generates module output.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Generates module output.oldTranspile.errors.txt deleted file mode 100644 index 3d5a29154ec5e..0000000000000 --- a/tests/baselines/reference/transpile/Generates module output.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - var x = 0; export {}; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Generates module output.oldTranspile.js b/tests/baselines/reference/transpile/Generates module output.oldTranspile.js index 2c7bb7add09eb..aadb3cab3e06f 100644 --- a/tests/baselines/reference/transpile/Generates module output.oldTranspile.js +++ b/tests/baselines/reference/transpile/Generates module output.oldTranspile.js @@ -1,6 +1,6 @@ define(["require", "exports"], function (require, exports) { "use strict"; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { value: true }); var x = 0; }); //# sourceMappingURL=file.js.map \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Generates no diagnostics for missing file references (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Generates no diagnostics for missing file references (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 45b129bd012ad..0000000000000 --- a/tests/baselines/reference/transpile/Generates no diagnostics for missing file references (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,7 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - /// - var x = 0; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Generates no diagnostics for missing file references (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Generates no diagnostics for missing file references (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 45b129bd012ad..0000000000000 --- a/tests/baselines/reference/transpile/Generates no diagnostics for missing file references (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,7 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - /// - var x = 0; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Generates no diagnostics for missing file references.errors.txt b/tests/baselines/reference/transpile/Generates no diagnostics for missing file references.errors.txt deleted file mode 100644 index 45b129bd012ad..0000000000000 --- a/tests/baselines/reference/transpile/Generates no diagnostics for missing file references.errors.txt +++ /dev/null @@ -1,7 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - /// - var x = 0; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Generates no diagnostics for missing file references.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Generates no diagnostics for missing file references.oldTranspile.errors.txt deleted file mode 100644 index 45b129bd012ad..0000000000000 --- a/tests/baselines/reference/transpile/Generates no diagnostics for missing file references.oldTranspile.errors.txt +++ /dev/null @@ -1,7 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - /// - var x = 0; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Generates no diagnostics for missing module imports (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Generates no diagnostics for missing module imports (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 8aecf14a2b3e5..0000000000000 --- a/tests/baselines/reference/transpile/Generates no diagnostics for missing module imports (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - import {a} from "module2"; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Generates no diagnostics for missing module imports (verbatimModuleSyntax=true).js b/tests/baselines/reference/transpile/Generates no diagnostics for missing module imports (verbatimModuleSyntax=true).js index 5008119217a2f..f1619e9605778 100644 --- a/tests/baselines/reference/transpile/Generates no diagnostics for missing module imports (verbatimModuleSyntax=true).js +++ b/tests/baselines/reference/transpile/Generates no diagnostics for missing module imports (verbatimModuleSyntax=true).js @@ -1,4 +1,4 @@ "use strict"; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { value: true }); var module2_1 = require("module2"); //# sourceMappingURL=file.js.map \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Generates no diagnostics for missing module imports (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Generates no diagnostics for missing module imports (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 8aecf14a2b3e5..0000000000000 --- a/tests/baselines/reference/transpile/Generates no diagnostics for missing module imports (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - import {a} from "module2"; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Generates no diagnostics for missing module imports (verbatimModuleSyntax=true).oldTranspile.js b/tests/baselines/reference/transpile/Generates no diagnostics for missing module imports (verbatimModuleSyntax=true).oldTranspile.js index 5008119217a2f..f1619e9605778 100644 --- a/tests/baselines/reference/transpile/Generates no diagnostics for missing module imports (verbatimModuleSyntax=true).oldTranspile.js +++ b/tests/baselines/reference/transpile/Generates no diagnostics for missing module imports (verbatimModuleSyntax=true).oldTranspile.js @@ -1,4 +1,4 @@ "use strict"; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { value: true }); var module2_1 = require("module2"); //# sourceMappingURL=file.js.map \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Generates no diagnostics for missing module imports.errors.txt b/tests/baselines/reference/transpile/Generates no diagnostics for missing module imports.errors.txt deleted file mode 100644 index 8aecf14a2b3e5..0000000000000 --- a/tests/baselines/reference/transpile/Generates no diagnostics for missing module imports.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - import {a} from "module2"; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Generates no diagnostics for missing module imports.js b/tests/baselines/reference/transpile/Generates no diagnostics for missing module imports.js index e9493d9d5917d..61215bc876f57 100644 --- a/tests/baselines/reference/transpile/Generates no diagnostics for missing module imports.js +++ b/tests/baselines/reference/transpile/Generates no diagnostics for missing module imports.js @@ -1,3 +1,3 @@ "use strict"; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { value: true }); //# sourceMappingURL=file.js.map \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Generates no diagnostics for missing module imports.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Generates no diagnostics for missing module imports.oldTranspile.errors.txt deleted file mode 100644 index 8aecf14a2b3e5..0000000000000 --- a/tests/baselines/reference/transpile/Generates no diagnostics for missing module imports.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - import {a} from "module2"; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Generates no diagnostics for missing module imports.oldTranspile.js b/tests/baselines/reference/transpile/Generates no diagnostics for missing module imports.oldTranspile.js index e9493d9d5917d..61215bc876f57 100644 --- a/tests/baselines/reference/transpile/Generates no diagnostics for missing module imports.oldTranspile.js +++ b/tests/baselines/reference/transpile/Generates no diagnostics for missing module imports.oldTranspile.js @@ -1,3 +1,3 @@ "use strict"; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { value: true }); //# sourceMappingURL=file.js.map \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Generates no diagnostics with valid inputs (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Generates no diagnostics with valid inputs (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 0903ad12e4669..0000000000000 --- a/tests/baselines/reference/transpile/Generates no diagnostics with valid inputs (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - var x = 0; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Generates no diagnostics with valid inputs (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Generates no diagnostics with valid inputs (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 0903ad12e4669..0000000000000 --- a/tests/baselines/reference/transpile/Generates no diagnostics with valid inputs (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - var x = 0; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Generates no diagnostics with valid inputs.errors.txt b/tests/baselines/reference/transpile/Generates no diagnostics with valid inputs.errors.txt deleted file mode 100644 index 0903ad12e4669..0000000000000 --- a/tests/baselines/reference/transpile/Generates no diagnostics with valid inputs.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - var x = 0; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Generates no diagnostics with valid inputs.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Generates no diagnostics with valid inputs.oldTranspile.errors.txt deleted file mode 100644 index 0903ad12e4669..0000000000000 --- a/tests/baselines/reference/transpile/Generates no diagnostics with valid inputs.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - var x = 0; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Infer correct file extension (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Infer correct file extension (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 61a6b2e9d0107..0000000000000 --- a/tests/baselines/reference/transpile/Infer correct file extension (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - const fn = (a: T) => a \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Infer correct file extension (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Infer correct file extension (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 61a6b2e9d0107..0000000000000 --- a/tests/baselines/reference/transpile/Infer correct file extension (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - const fn = (a: T) => a \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Infer correct file extension.errors.txt b/tests/baselines/reference/transpile/Infer correct file extension.errors.txt deleted file mode 100644 index 61a6b2e9d0107..0000000000000 --- a/tests/baselines/reference/transpile/Infer correct file extension.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - const fn = (a: T) => a \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Infer correct file extension.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Infer correct file extension.oldTranspile.errors.txt deleted file mode 100644 index 61a6b2e9d0107..0000000000000 --- a/tests/baselines/reference/transpile/Infer correct file extension.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - const fn = (a: T) => a \ No newline at end of file diff --git a/tests/baselines/reference/transpile/No extra errors for file without extension (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/No extra errors for file without extension (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 698b1593a6102..0000000000000 --- a/tests/baselines/reference/transpile/No extra errors for file without extension (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,7 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file (0 errors) ==== - "use strict"; - var x = 0; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/No extra errors for file without extension (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/No extra errors for file without extension (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 698b1593a6102..0000000000000 --- a/tests/baselines/reference/transpile/No extra errors for file without extension (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,7 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file (0 errors) ==== - "use strict"; - var x = 0; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/No extra errors for file without extension.errors.txt b/tests/baselines/reference/transpile/No extra errors for file without extension.errors.txt deleted file mode 100644 index 698b1593a6102..0000000000000 --- a/tests/baselines/reference/transpile/No extra errors for file without extension.errors.txt +++ /dev/null @@ -1,7 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file (0 errors) ==== - "use strict"; - var x = 0; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/No extra errors for file without extension.oldTranspile.errors.txt b/tests/baselines/reference/transpile/No extra errors for file without extension.oldTranspile.errors.txt deleted file mode 100644 index 698b1593a6102..0000000000000 --- a/tests/baselines/reference/transpile/No extra errors for file without extension.oldTranspile.errors.txt +++ /dev/null @@ -1,7 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file (0 errors) ==== - "use strict"; - var x = 0; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Rename dependencies - AMD.errors.txt b/tests/baselines/reference/transpile/Rename dependencies - AMD.errors.txt deleted file mode 100644 index 04f5f97f9e536..0000000000000 --- a/tests/baselines/reference/transpile/Rename dependencies - AMD.errors.txt +++ /dev/null @@ -1,8 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - import {foo} from "SomeName"; - declare function use(a: any); - use(foo); \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Rename dependencies - AMD.js b/tests/baselines/reference/transpile/Rename dependencies - AMD.js index c5ffb86a1aa34..5874219d5bdda 100644 --- a/tests/baselines/reference/transpile/Rename dependencies - AMD.js +++ b/tests/baselines/reference/transpile/Rename dependencies - AMD.js @@ -1,6 +1,6 @@ define(["require", "exports", "SomeOtherName"], function (require, exports, SomeName_1) { "use strict"; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { value: true }); use(SomeName_1.foo); }); //# sourceMappingURL=file.js.map \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Rename dependencies - System.errors.txt b/tests/baselines/reference/transpile/Rename dependencies - System.errors.txt deleted file mode 100644 index 04f5f97f9e536..0000000000000 --- a/tests/baselines/reference/transpile/Rename dependencies - System.errors.txt +++ /dev/null @@ -1,8 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - import {foo} from "SomeName"; - declare function use(a: any); - use(foo); \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Rename dependencies - UMD.errors.txt b/tests/baselines/reference/transpile/Rename dependencies - UMD.errors.txt deleted file mode 100644 index 04f5f97f9e536..0000000000000 --- a/tests/baselines/reference/transpile/Rename dependencies - UMD.errors.txt +++ /dev/null @@ -1,8 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - import {foo} from "SomeName"; - declare function use(a: any); - use(foo); \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Rename dependencies - UMD.js b/tests/baselines/reference/transpile/Rename dependencies - UMD.js index 0ecfbce239727..d8b8cf43986f2 100644 --- a/tests/baselines/reference/transpile/Rename dependencies - UMD.js +++ b/tests/baselines/reference/transpile/Rename dependencies - UMD.js @@ -8,7 +8,7 @@ } })(function (require, exports) { "use strict"; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { value: true }); var SomeName_1 = require("SomeOtherName"); use(SomeName_1.foo); }); diff --git a/tests/baselines/reference/transpile/Report an error when compiler-options module-kind is out-of-range.errors.txt b/tests/baselines/reference/transpile/Report an error when compiler-options module-kind is out-of-range.errors.txt index e28fa57bed106..cb831b29062be 100644 --- a/tests/baselines/reference/transpile/Report an error when compiler-options module-kind is out-of-range.errors.txt +++ b/tests/baselines/reference/transpile/Report an error when compiler-options module-kind is out-of-range.errors.txt @@ -1,8 +1,6 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. error TS6046: Argument for '--module' option must be: 'none', 'commonjs', 'amd', 'system', 'umd', 'es6', 'es2015', 'es2020', 'es2022', 'esnext', 'node16', 'nodenext', 'preserve'. -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. !!! error TS6046: Argument for '--module' option must be: 'none', 'commonjs', 'amd', 'system', 'umd', 'es6', 'es2015', 'es2020', 'es2022', 'esnext', 'node16', 'nodenext', 'preserve'. ==== file.ts (0 errors) ==== \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Report an error when compiler-options module-kind is out-of-range.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Report an error when compiler-options module-kind is out-of-range.oldTranspile.errors.txt index e28fa57bed106..cb831b29062be 100644 --- a/tests/baselines/reference/transpile/Report an error when compiler-options module-kind is out-of-range.oldTranspile.errors.txt +++ b/tests/baselines/reference/transpile/Report an error when compiler-options module-kind is out-of-range.oldTranspile.errors.txt @@ -1,8 +1,6 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. error TS6046: Argument for '--module' option must be: 'none', 'commonjs', 'amd', 'system', 'umd', 'es6', 'es2015', 'es2020', 'es2022', 'esnext', 'node16', 'nodenext', 'preserve'. -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. !!! error TS6046: Argument for '--module' option must be: 'none', 'commonjs', 'amd', 'system', 'umd', 'es6', 'es2015', 'es2020', 'es2022', 'esnext', 'node16', 'nodenext', 'preserve'. ==== file.ts (0 errors) ==== \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Report an error when compiler-options target-script is out-of-range.errors.txt b/tests/baselines/reference/transpile/Report an error when compiler-options target-script is out-of-range.errors.txt index e28fa57bed106..cb831b29062be 100644 --- a/tests/baselines/reference/transpile/Report an error when compiler-options target-script is out-of-range.errors.txt +++ b/tests/baselines/reference/transpile/Report an error when compiler-options target-script is out-of-range.errors.txt @@ -1,8 +1,6 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. error TS6046: Argument for '--module' option must be: 'none', 'commonjs', 'amd', 'system', 'umd', 'es6', 'es2015', 'es2020', 'es2022', 'esnext', 'node16', 'nodenext', 'preserve'. -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. !!! error TS6046: Argument for '--module' option must be: 'none', 'commonjs', 'amd', 'system', 'umd', 'es6', 'es2015', 'es2020', 'es2022', 'esnext', 'node16', 'nodenext', 'preserve'. ==== file.ts (0 errors) ==== \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Report an error when compiler-options target-script is out-of-range.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Report an error when compiler-options target-script is out-of-range.oldTranspile.errors.txt index e28fa57bed106..cb831b29062be 100644 --- a/tests/baselines/reference/transpile/Report an error when compiler-options target-script is out-of-range.oldTranspile.errors.txt +++ b/tests/baselines/reference/transpile/Report an error when compiler-options target-script is out-of-range.oldTranspile.errors.txt @@ -1,8 +1,6 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. error TS6046: Argument for '--module' option must be: 'none', 'commonjs', 'amd', 'system', 'umd', 'es6', 'es2015', 'es2020', 'es2022', 'esnext', 'node16', 'nodenext', 'preserve'. -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. !!! error TS6046: Argument for '--module' option must be: 'none', 'commonjs', 'amd', 'system', 'umd', 'es6', 'es2015', 'es2020', 'es2022', 'esnext', 'node16', 'nodenext', 'preserve'. ==== file.ts (0 errors) ==== \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Sets module name.errors.txt b/tests/baselines/reference/transpile/Sets module name.errors.txt deleted file mode 100644 index ca38a2312a85b..0000000000000 --- a/tests/baselines/reference/transpile/Sets module name.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - var x = 1; export {}; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Sets module name.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Sets module name.oldTranspile.errors.txt deleted file mode 100644 index ca38a2312a85b..0000000000000 --- a/tests/baselines/reference/transpile/Sets module name.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - var x = 1; export {}; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Support options with lib values (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Support options with lib values (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 5d913c19f5108..0000000000000 --- a/tests/baselines/reference/transpile/Support options with lib values (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - const a = 10; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Support options with lib values (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Support options with lib values (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 5d913c19f5108..0000000000000 --- a/tests/baselines/reference/transpile/Support options with lib values (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - const a = 10; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Support options with lib values.errors.txt b/tests/baselines/reference/transpile/Support options with lib values.errors.txt deleted file mode 100644 index 5d913c19f5108..0000000000000 --- a/tests/baselines/reference/transpile/Support options with lib values.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - const a = 10; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Support options with lib values.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Support options with lib values.oldTranspile.errors.txt deleted file mode 100644 index 5d913c19f5108..0000000000000 --- a/tests/baselines/reference/transpile/Support options with lib values.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - const a = 10; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Support options with types values (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Support options with types values (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 5d913c19f5108..0000000000000 --- a/tests/baselines/reference/transpile/Support options with types values (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - const a = 10; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Support options with types values (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Support options with types values (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 5d913c19f5108..0000000000000 --- a/tests/baselines/reference/transpile/Support options with types values (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - const a = 10; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Support options with types values.errors.txt b/tests/baselines/reference/transpile/Support options with types values.errors.txt deleted file mode 100644 index 5d913c19f5108..0000000000000 --- a/tests/baselines/reference/transpile/Support options with types values.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - const a = 10; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Support options with types values.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Support options with types values.oldTranspile.errors.txt deleted file mode 100644 index 5d913c19f5108..0000000000000 --- a/tests/baselines/reference/transpile/Support options with types values.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - const a = 10; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports as const arrays (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports as const arrays (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 5b7e06b79cc53..0000000000000 --- a/tests/baselines/reference/transpile/Supports as const arrays (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - ([] as const).forEach(k => console.log(k)); \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports as const arrays (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports as const arrays (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 5b7e06b79cc53..0000000000000 --- a/tests/baselines/reference/transpile/Supports as const arrays (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - ([] as const).forEach(k => console.log(k)); \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports as const arrays.errors.txt b/tests/baselines/reference/transpile/Supports as const arrays.errors.txt deleted file mode 100644 index 5b7e06b79cc53..0000000000000 --- a/tests/baselines/reference/transpile/Supports as const arrays.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - ([] as const).forEach(k => console.log(k)); \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports as const arrays.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports as const arrays.oldTranspile.errors.txt deleted file mode 100644 index 5b7e06b79cc53..0000000000000 --- a/tests/baselines/reference/transpile/Supports as const arrays.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - ([] as const).forEach(k => console.log(k)); \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports backslashes in file name.errors.txt b/tests/baselines/reference/transpile/Supports backslashes in file name.errors.txt deleted file mode 100644 index 516a63d716236..0000000000000 --- a/tests/baselines/reference/transpile/Supports backslashes in file name.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== a\b.ts (0 errors) ==== - var x \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports backslashes in file name.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports backslashes in file name.oldTranspile.errors.txt deleted file mode 100644 index 516a63d716236..0000000000000 --- a/tests/baselines/reference/transpile/Supports backslashes in file name.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== a\b.ts (0 errors) ==== - var x \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports readonly keyword for arrays (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports readonly keyword for arrays (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 8e5c810e155ca..0000000000000 --- a/tests/baselines/reference/transpile/Supports readonly keyword for arrays (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - let x: readonly string[]; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports readonly keyword for arrays (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports readonly keyword for arrays (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 8e5c810e155ca..0000000000000 --- a/tests/baselines/reference/transpile/Supports readonly keyword for arrays (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - let x: readonly string[]; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports readonly keyword for arrays.errors.txt b/tests/baselines/reference/transpile/Supports readonly keyword for arrays.errors.txt deleted file mode 100644 index 8e5c810e155ca..0000000000000 --- a/tests/baselines/reference/transpile/Supports readonly keyword for arrays.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - let x: readonly string[]; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports readonly keyword for arrays.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports readonly keyword for arrays.oldTranspile.errors.txt deleted file mode 100644 index 8e5c810e155ca..0000000000000 --- a/tests/baselines/reference/transpile/Supports readonly keyword for arrays.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - let x: readonly string[]; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting allowJs (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting allowJs (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting allowJs (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting allowJs (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting allowJs (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting allowJs (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting allowJs.errors.txt b/tests/baselines/reference/transpile/Supports setting allowJs.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting allowJs.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting allowJs.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting allowJs.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting allowJs.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting allowSyntheticDefaultImports (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting allowSyntheticDefaultImports (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting allowSyntheticDefaultImports (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting allowSyntheticDefaultImports (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting allowSyntheticDefaultImports (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting allowSyntheticDefaultImports (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting allowSyntheticDefaultImports.errors.txt b/tests/baselines/reference/transpile/Supports setting allowSyntheticDefaultImports.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting allowSyntheticDefaultImports.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting allowSyntheticDefaultImports.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting allowSyntheticDefaultImports.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting allowSyntheticDefaultImports.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting allowUnreachableCode (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting allowUnreachableCode (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting allowUnreachableCode (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting allowUnreachableCode (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting allowUnreachableCode (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting allowUnreachableCode (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting allowUnreachableCode.errors.txt b/tests/baselines/reference/transpile/Supports setting allowUnreachableCode.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting allowUnreachableCode.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting allowUnreachableCode.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting allowUnreachableCode.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting allowUnreachableCode.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting allowUnusedLabels (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting allowUnusedLabels (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting allowUnusedLabels (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting allowUnusedLabels (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting allowUnusedLabels (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting allowUnusedLabels (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting allowUnusedLabels.errors.txt b/tests/baselines/reference/transpile/Supports setting allowUnusedLabels.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting allowUnusedLabels.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting allowUnusedLabels.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting allowUnusedLabels.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting allowUnusedLabels.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting alwaysStrict (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting alwaysStrict (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting alwaysStrict (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting alwaysStrict (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting alwaysStrict (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting alwaysStrict (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting alwaysStrict.errors.txt b/tests/baselines/reference/transpile/Supports setting alwaysStrict.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting alwaysStrict.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting alwaysStrict.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting alwaysStrict.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting alwaysStrict.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting baseUrl (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting baseUrl (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting baseUrl (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting baseUrl (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting baseUrl (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting baseUrl (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting baseUrl.errors.txt b/tests/baselines/reference/transpile/Supports setting baseUrl.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting baseUrl.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting baseUrl.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting baseUrl.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting baseUrl.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting charset (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting charset (verbatimModuleSyntax=true).errors.txt index 53e7258dc3e13..c72ba4cb95509 100644 --- a/tests/baselines/reference/transpile/Supports setting charset (verbatimModuleSyntax=true).errors.txt +++ b/tests/baselines/reference/transpile/Supports setting charset (verbatimModuleSyntax=true).errors.txt @@ -1,8 +1,6 @@ error TS5102: Option 'charset' has been removed. Please remove it from your configuration. -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. !!! error TS5102: Option 'charset' has been removed. Please remove it from your configuration. -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. ==== input.js (0 errors) ==== x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting charset (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting charset (verbatimModuleSyntax=true).oldTranspile.errors.txt index 53e7258dc3e13..c72ba4cb95509 100644 --- a/tests/baselines/reference/transpile/Supports setting charset (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ b/tests/baselines/reference/transpile/Supports setting charset (verbatimModuleSyntax=true).oldTranspile.errors.txt @@ -1,8 +1,6 @@ error TS5102: Option 'charset' has been removed. Please remove it from your configuration. -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. !!! error TS5102: Option 'charset' has been removed. Please remove it from your configuration. -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. ==== input.js (0 errors) ==== x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting charset.errors.txt b/tests/baselines/reference/transpile/Supports setting charset.errors.txt index 53e7258dc3e13..c72ba4cb95509 100644 --- a/tests/baselines/reference/transpile/Supports setting charset.errors.txt +++ b/tests/baselines/reference/transpile/Supports setting charset.errors.txt @@ -1,8 +1,6 @@ error TS5102: Option 'charset' has been removed. Please remove it from your configuration. -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. !!! error TS5102: Option 'charset' has been removed. Please remove it from your configuration. -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. ==== input.js (0 errors) ==== x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting charset.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting charset.oldTranspile.errors.txt index 53e7258dc3e13..c72ba4cb95509 100644 --- a/tests/baselines/reference/transpile/Supports setting charset.oldTranspile.errors.txt +++ b/tests/baselines/reference/transpile/Supports setting charset.oldTranspile.errors.txt @@ -1,8 +1,6 @@ error TS5102: Option 'charset' has been removed. Please remove it from your configuration. -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. !!! error TS5102: Option 'charset' has been removed. Please remove it from your configuration. -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. ==== input.js (0 errors) ==== x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting composite (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting composite (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting composite (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting composite (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting composite (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting composite (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting composite.errors.txt b/tests/baselines/reference/transpile/Supports setting composite.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting composite.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting composite.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting composite.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting composite.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting declaration (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting declaration (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting declaration (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting declaration (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting declaration (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting declaration (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting declaration.errors.txt b/tests/baselines/reference/transpile/Supports setting declaration.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting declaration.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting declaration.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting declaration.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting declaration.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting declarationDir (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting declarationDir (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting declarationDir (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting declarationDir (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting declarationDir (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting declarationDir (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting declarationDir.errors.txt b/tests/baselines/reference/transpile/Supports setting declarationDir.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting declarationDir.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting declarationDir.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting declarationDir.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting declarationDir.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting emitBOM (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting emitBOM (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting emitBOM (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting emitBOM (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting emitBOM (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting emitBOM (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting emitBOM.errors.txt b/tests/baselines/reference/transpile/Supports setting emitBOM.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting emitBOM.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting emitBOM.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting emitBOM.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting emitBOM.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting emitDecoratorMetadata (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting emitDecoratorMetadata (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting emitDecoratorMetadata (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting emitDecoratorMetadata (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting emitDecoratorMetadata (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting emitDecoratorMetadata (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting emitDecoratorMetadata.errors.txt b/tests/baselines/reference/transpile/Supports setting emitDecoratorMetadata.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting emitDecoratorMetadata.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting emitDecoratorMetadata.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting emitDecoratorMetadata.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting emitDecoratorMetadata.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting experimentalDecorators (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting experimentalDecorators (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting experimentalDecorators (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting experimentalDecorators (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting experimentalDecorators (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting experimentalDecorators (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting experimentalDecorators.errors.txt b/tests/baselines/reference/transpile/Supports setting experimentalDecorators.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting experimentalDecorators.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting experimentalDecorators.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting experimentalDecorators.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting experimentalDecorators.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting forceConsistentCasingInFileNames (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting forceConsistentCasingInFileNames (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting forceConsistentCasingInFileNames (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting forceConsistentCasingInFileNames (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting forceConsistentCasingInFileNames (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting forceConsistentCasingInFileNames (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting forceConsistentCasingInFileNames.errors.txt b/tests/baselines/reference/transpile/Supports setting forceConsistentCasingInFileNames.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting forceConsistentCasingInFileNames.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting forceConsistentCasingInFileNames.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting forceConsistentCasingInFileNames.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting forceConsistentCasingInFileNames.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting incremental (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting incremental (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting incremental (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting incremental (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting incremental (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting incremental (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting incremental.errors.txt b/tests/baselines/reference/transpile/Supports setting incremental.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting incremental.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting incremental.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting incremental.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting incremental.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting isolatedModules.errors.txt b/tests/baselines/reference/transpile/Supports setting isolatedModules.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting isolatedModules.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting isolatedModules.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting isolatedModules.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting isolatedModules.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting jsx (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting jsx (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting jsx (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting jsx (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting jsx (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting jsx (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting jsx.errors.txt b/tests/baselines/reference/transpile/Supports setting jsx.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting jsx.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting jsx.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting jsx.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting jsx.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting jsxFactory (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting jsxFactory (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting jsxFactory (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting jsxFactory (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting jsxFactory (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting jsxFactory (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting jsxFactory.errors.txt b/tests/baselines/reference/transpile/Supports setting jsxFactory.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting jsxFactory.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting jsxFactory.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting jsxFactory.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting jsxFactory.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting jsxFragmentFactory (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting jsxFragmentFactory (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting jsxFragmentFactory (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting jsxFragmentFactory (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting jsxFragmentFactory (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting jsxFragmentFactory (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting jsxFragmentFactory.errors.txt b/tests/baselines/reference/transpile/Supports setting jsxFragmentFactory.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting jsxFragmentFactory.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting jsxFragmentFactory.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting jsxFragmentFactory.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting jsxFragmentFactory.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting lib (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting lib (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting lib (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting lib (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting lib (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting lib (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting lib.errors.txt b/tests/baselines/reference/transpile/Supports setting lib.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting lib.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting lib.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting lib.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting lib.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting locale (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting locale (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting locale (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting locale (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting locale (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting locale (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting locale.errors.txt b/tests/baselines/reference/transpile/Supports setting locale.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting locale.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting locale.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting locale.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting locale.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting module (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting module (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting module (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting module (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting module (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting module (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting module.errors.txt b/tests/baselines/reference/transpile/Supports setting module.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting module.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting module.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting module.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting module.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting moduleResolution (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting moduleResolution (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting moduleResolution (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting moduleResolution (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting moduleResolution (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting moduleResolution (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting moduleResolution.errors.txt b/tests/baselines/reference/transpile/Supports setting moduleResolution.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting moduleResolution.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting moduleResolution.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting moduleResolution.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting moduleResolution.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting newLine (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting newLine (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting newLine (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting newLine (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting newLine (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting newLine (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting newLine.errors.txt b/tests/baselines/reference/transpile/Supports setting newLine.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting newLine.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting newLine.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting newLine.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting newLine.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noEmit (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting noEmit (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noEmit (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noEmit (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting noEmit (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noEmit (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noEmit.errors.txt b/tests/baselines/reference/transpile/Supports setting noEmit.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noEmit.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noEmit.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting noEmit.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noEmit.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noEmitHelpers (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting noEmitHelpers (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noEmitHelpers (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noEmitHelpers (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting noEmitHelpers (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noEmitHelpers (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noEmitHelpers.errors.txt b/tests/baselines/reference/transpile/Supports setting noEmitHelpers.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noEmitHelpers.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noEmitHelpers.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting noEmitHelpers.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noEmitHelpers.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noEmitOnError (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting noEmitOnError (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noEmitOnError (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noEmitOnError (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting noEmitOnError (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noEmitOnError (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noEmitOnError.errors.txt b/tests/baselines/reference/transpile/Supports setting noEmitOnError.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noEmitOnError.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noEmitOnError.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting noEmitOnError.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noEmitOnError.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noErrorTruncation (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting noErrorTruncation (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noErrorTruncation (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noErrorTruncation (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting noErrorTruncation (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noErrorTruncation (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noErrorTruncation.errors.txt b/tests/baselines/reference/transpile/Supports setting noErrorTruncation.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noErrorTruncation.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noErrorTruncation.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting noErrorTruncation.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noErrorTruncation.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noFallthroughCasesInSwitch (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting noFallthroughCasesInSwitch (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noFallthroughCasesInSwitch (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noFallthroughCasesInSwitch (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting noFallthroughCasesInSwitch (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noFallthroughCasesInSwitch (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noFallthroughCasesInSwitch.errors.txt b/tests/baselines/reference/transpile/Supports setting noFallthroughCasesInSwitch.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noFallthroughCasesInSwitch.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noFallthroughCasesInSwitch.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting noFallthroughCasesInSwitch.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noFallthroughCasesInSwitch.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noImplicitAny (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting noImplicitAny (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noImplicitAny (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noImplicitAny (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting noImplicitAny (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noImplicitAny (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noImplicitAny.errors.txt b/tests/baselines/reference/transpile/Supports setting noImplicitAny.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noImplicitAny.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noImplicitAny.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting noImplicitAny.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noImplicitAny.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noImplicitReturns (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting noImplicitReturns (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noImplicitReturns (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noImplicitReturns (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting noImplicitReturns (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noImplicitReturns (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noImplicitReturns.errors.txt b/tests/baselines/reference/transpile/Supports setting noImplicitReturns.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noImplicitReturns.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noImplicitReturns.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting noImplicitReturns.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noImplicitReturns.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noImplicitThis (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting noImplicitThis (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noImplicitThis (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noImplicitThis (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting noImplicitThis (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noImplicitThis (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noImplicitThis.errors.txt b/tests/baselines/reference/transpile/Supports setting noImplicitThis.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noImplicitThis.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noImplicitThis.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting noImplicitThis.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noImplicitThis.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noImplicitUseStrict (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting noImplicitUseStrict (verbatimModuleSyntax=true).errors.txt index 7d798815c8154..b62d0171e60d2 100644 --- a/tests/baselines/reference/transpile/Supports setting noImplicitUseStrict (verbatimModuleSyntax=true).errors.txt +++ b/tests/baselines/reference/transpile/Supports setting noImplicitUseStrict (verbatimModuleSyntax=true).errors.txt @@ -1,8 +1,6 @@ error TS5102: Option 'noImplicitUseStrict' has been removed. Please remove it from your configuration. -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. !!! error TS5102: Option 'noImplicitUseStrict' has been removed. Please remove it from your configuration. -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. ==== input.js (0 errors) ==== x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noImplicitUseStrict (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting noImplicitUseStrict (verbatimModuleSyntax=true).oldTranspile.errors.txt index 7d798815c8154..b62d0171e60d2 100644 --- a/tests/baselines/reference/transpile/Supports setting noImplicitUseStrict (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ b/tests/baselines/reference/transpile/Supports setting noImplicitUseStrict (verbatimModuleSyntax=true).oldTranspile.errors.txt @@ -1,8 +1,6 @@ error TS5102: Option 'noImplicitUseStrict' has been removed. Please remove it from your configuration. -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. !!! error TS5102: Option 'noImplicitUseStrict' has been removed. Please remove it from your configuration. -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. ==== input.js (0 errors) ==== x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noImplicitUseStrict.errors.txt b/tests/baselines/reference/transpile/Supports setting noImplicitUseStrict.errors.txt index 7d798815c8154..b62d0171e60d2 100644 --- a/tests/baselines/reference/transpile/Supports setting noImplicitUseStrict.errors.txt +++ b/tests/baselines/reference/transpile/Supports setting noImplicitUseStrict.errors.txt @@ -1,8 +1,6 @@ error TS5102: Option 'noImplicitUseStrict' has been removed. Please remove it from your configuration. -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. !!! error TS5102: Option 'noImplicitUseStrict' has been removed. Please remove it from your configuration. -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. ==== input.js (0 errors) ==== x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noImplicitUseStrict.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting noImplicitUseStrict.oldTranspile.errors.txt index 7d798815c8154..b62d0171e60d2 100644 --- a/tests/baselines/reference/transpile/Supports setting noImplicitUseStrict.oldTranspile.errors.txt +++ b/tests/baselines/reference/transpile/Supports setting noImplicitUseStrict.oldTranspile.errors.txt @@ -1,8 +1,6 @@ error TS5102: Option 'noImplicitUseStrict' has been removed. Please remove it from your configuration. -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. !!! error TS5102: Option 'noImplicitUseStrict' has been removed. Please remove it from your configuration. -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. ==== input.js (0 errors) ==== x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noLib (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting noLib (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noLib (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noLib (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting noLib (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noLib (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noLib.errors.txt b/tests/baselines/reference/transpile/Supports setting noLib.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noLib.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noLib.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting noLib.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noLib.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noResolve (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting noResolve (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noResolve (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noResolve (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting noResolve (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noResolve (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noResolve.errors.txt b/tests/baselines/reference/transpile/Supports setting noResolve.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noResolve.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting noResolve.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting noResolve.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting noResolve.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting out (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting out (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting out (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting out (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting out (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting out (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting out.errors.txt b/tests/baselines/reference/transpile/Supports setting out.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting out.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting out.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting out.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting out.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting outDir (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting outDir (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting outDir (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting outDir (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting outDir (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting outDir (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting outDir.errors.txt b/tests/baselines/reference/transpile/Supports setting outDir.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting outDir.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting outDir.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting outDir.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting outDir.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting outFile (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting outFile (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting outFile (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting outFile (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting outFile (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting outFile (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting outFile.errors.txt b/tests/baselines/reference/transpile/Supports setting outFile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting outFile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting outFile.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting outFile.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting outFile.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting paths (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting paths (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting paths (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting paths (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting paths (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting paths (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting paths.errors.txt b/tests/baselines/reference/transpile/Supports setting paths.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting paths.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting paths.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting paths.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting paths.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting preserveConstEnums (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting preserveConstEnums (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting preserveConstEnums (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting preserveConstEnums (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting preserveConstEnums (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting preserveConstEnums (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting preserveConstEnums.errors.txt b/tests/baselines/reference/transpile/Supports setting preserveConstEnums.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting preserveConstEnums.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting preserveConstEnums.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting preserveConstEnums.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting preserveConstEnums.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting reactNamespace (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting reactNamespace (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting reactNamespace (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting reactNamespace (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting reactNamespace (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting reactNamespace (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting reactNamespace.errors.txt b/tests/baselines/reference/transpile/Supports setting reactNamespace.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting reactNamespace.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting reactNamespace.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting reactNamespace.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting reactNamespace.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting removeComments (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting removeComments (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting removeComments (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting removeComments (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting removeComments (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting removeComments (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting removeComments.errors.txt b/tests/baselines/reference/transpile/Supports setting removeComments.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting removeComments.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting removeComments.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting removeComments.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting removeComments.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting rootDir (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting rootDir (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 1c0603614c445..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting rootDir (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== ./rootDir/input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting rootDir (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting rootDir (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 1c0603614c445..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting rootDir (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== ./rootDir/input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting rootDir.errors.txt b/tests/baselines/reference/transpile/Supports setting rootDir.errors.txt deleted file mode 100644 index 1c0603614c445..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting rootDir.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== ./rootDir/input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting rootDir.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting rootDir.oldTranspile.errors.txt deleted file mode 100644 index 1c0603614c445..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting rootDir.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== ./rootDir/input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting rootDirs (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting rootDirs (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting rootDirs (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting rootDirs (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting rootDirs (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting rootDirs (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting rootDirs.errors.txt b/tests/baselines/reference/transpile/Supports setting rootDirs.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting rootDirs.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting rootDirs.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting rootDirs.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting rootDirs.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting skipDefaultLibCheck (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting skipDefaultLibCheck (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting skipDefaultLibCheck (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting skipDefaultLibCheck (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting skipDefaultLibCheck (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting skipDefaultLibCheck (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting skipDefaultLibCheck.errors.txt b/tests/baselines/reference/transpile/Supports setting skipDefaultLibCheck.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting skipDefaultLibCheck.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting skipDefaultLibCheck.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting skipDefaultLibCheck.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting skipDefaultLibCheck.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting skipLibCheck (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting skipLibCheck (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting skipLibCheck (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting skipLibCheck (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting skipLibCheck (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting skipLibCheck (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting skipLibCheck.errors.txt b/tests/baselines/reference/transpile/Supports setting skipLibCheck.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting skipLibCheck.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting skipLibCheck.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting skipLibCheck.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting skipLibCheck.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting strictNullChecks (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting strictNullChecks (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting strictNullChecks (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting strictNullChecks (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting strictNullChecks (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting strictNullChecks (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting strictNullChecks.errors.txt b/tests/baselines/reference/transpile/Supports setting strictNullChecks.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting strictNullChecks.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting strictNullChecks.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting strictNullChecks.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting strictNullChecks.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting stripInternal (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting stripInternal (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting stripInternal (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting stripInternal (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting stripInternal (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting stripInternal (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting stripInternal.errors.txt b/tests/baselines/reference/transpile/Supports setting stripInternal.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting stripInternal.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting stripInternal.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting stripInternal.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting stripInternal.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting suppressExcessPropertyErrors (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting suppressExcessPropertyErrors (verbatimModuleSyntax=true).errors.txt index d782f566a15dd..7cb89e6d1213e 100644 --- a/tests/baselines/reference/transpile/Supports setting suppressExcessPropertyErrors (verbatimModuleSyntax=true).errors.txt +++ b/tests/baselines/reference/transpile/Supports setting suppressExcessPropertyErrors (verbatimModuleSyntax=true).errors.txt @@ -1,8 +1,6 @@ error TS5102: Option 'suppressExcessPropertyErrors' has been removed. Please remove it from your configuration. -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. !!! error TS5102: Option 'suppressExcessPropertyErrors' has been removed. Please remove it from your configuration. -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. ==== input.js (0 errors) ==== x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting suppressExcessPropertyErrors (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting suppressExcessPropertyErrors (verbatimModuleSyntax=true).oldTranspile.errors.txt index d782f566a15dd..7cb89e6d1213e 100644 --- a/tests/baselines/reference/transpile/Supports setting suppressExcessPropertyErrors (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ b/tests/baselines/reference/transpile/Supports setting suppressExcessPropertyErrors (verbatimModuleSyntax=true).oldTranspile.errors.txt @@ -1,8 +1,6 @@ error TS5102: Option 'suppressExcessPropertyErrors' has been removed. Please remove it from your configuration. -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. !!! error TS5102: Option 'suppressExcessPropertyErrors' has been removed. Please remove it from your configuration. -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. ==== input.js (0 errors) ==== x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting suppressExcessPropertyErrors.errors.txt b/tests/baselines/reference/transpile/Supports setting suppressExcessPropertyErrors.errors.txt index d782f566a15dd..7cb89e6d1213e 100644 --- a/tests/baselines/reference/transpile/Supports setting suppressExcessPropertyErrors.errors.txt +++ b/tests/baselines/reference/transpile/Supports setting suppressExcessPropertyErrors.errors.txt @@ -1,8 +1,6 @@ error TS5102: Option 'suppressExcessPropertyErrors' has been removed. Please remove it from your configuration. -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. !!! error TS5102: Option 'suppressExcessPropertyErrors' has been removed. Please remove it from your configuration. -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. ==== input.js (0 errors) ==== x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting suppressExcessPropertyErrors.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting suppressExcessPropertyErrors.oldTranspile.errors.txt index d782f566a15dd..7cb89e6d1213e 100644 --- a/tests/baselines/reference/transpile/Supports setting suppressExcessPropertyErrors.oldTranspile.errors.txt +++ b/tests/baselines/reference/transpile/Supports setting suppressExcessPropertyErrors.oldTranspile.errors.txt @@ -1,8 +1,6 @@ error TS5102: Option 'suppressExcessPropertyErrors' has been removed. Please remove it from your configuration. -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. !!! error TS5102: Option 'suppressExcessPropertyErrors' has been removed. Please remove it from your configuration. -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. ==== input.js (0 errors) ==== x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting suppressImplicitAnyIndexErrors (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting suppressImplicitAnyIndexErrors (verbatimModuleSyntax=true).errors.txt index 54bbc3dc7daa0..cfa77ab1edbf5 100644 --- a/tests/baselines/reference/transpile/Supports setting suppressImplicitAnyIndexErrors (verbatimModuleSyntax=true).errors.txt +++ b/tests/baselines/reference/transpile/Supports setting suppressImplicitAnyIndexErrors (verbatimModuleSyntax=true).errors.txt @@ -1,8 +1,6 @@ error TS5102: Option 'suppressImplicitAnyIndexErrors' has been removed. Please remove it from your configuration. -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. !!! error TS5102: Option 'suppressImplicitAnyIndexErrors' has been removed. Please remove it from your configuration. -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. ==== input.js (0 errors) ==== x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting suppressImplicitAnyIndexErrors (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting suppressImplicitAnyIndexErrors (verbatimModuleSyntax=true).oldTranspile.errors.txt index 54bbc3dc7daa0..cfa77ab1edbf5 100644 --- a/tests/baselines/reference/transpile/Supports setting suppressImplicitAnyIndexErrors (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ b/tests/baselines/reference/transpile/Supports setting suppressImplicitAnyIndexErrors (verbatimModuleSyntax=true).oldTranspile.errors.txt @@ -1,8 +1,6 @@ error TS5102: Option 'suppressImplicitAnyIndexErrors' has been removed. Please remove it from your configuration. -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. !!! error TS5102: Option 'suppressImplicitAnyIndexErrors' has been removed. Please remove it from your configuration. -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. ==== input.js (0 errors) ==== x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting suppressImplicitAnyIndexErrors.errors.txt b/tests/baselines/reference/transpile/Supports setting suppressImplicitAnyIndexErrors.errors.txt index 54bbc3dc7daa0..cfa77ab1edbf5 100644 --- a/tests/baselines/reference/transpile/Supports setting suppressImplicitAnyIndexErrors.errors.txt +++ b/tests/baselines/reference/transpile/Supports setting suppressImplicitAnyIndexErrors.errors.txt @@ -1,8 +1,6 @@ error TS5102: Option 'suppressImplicitAnyIndexErrors' has been removed. Please remove it from your configuration. -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. !!! error TS5102: Option 'suppressImplicitAnyIndexErrors' has been removed. Please remove it from your configuration. -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. ==== input.js (0 errors) ==== x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting suppressImplicitAnyIndexErrors.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting suppressImplicitAnyIndexErrors.oldTranspile.errors.txt index 54bbc3dc7daa0..cfa77ab1edbf5 100644 --- a/tests/baselines/reference/transpile/Supports setting suppressImplicitAnyIndexErrors.oldTranspile.errors.txt +++ b/tests/baselines/reference/transpile/Supports setting suppressImplicitAnyIndexErrors.oldTranspile.errors.txt @@ -1,8 +1,6 @@ error TS5102: Option 'suppressImplicitAnyIndexErrors' has been removed. Please remove it from your configuration. -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. !!! error TS5102: Option 'suppressImplicitAnyIndexErrors' has been removed. Please remove it from your configuration. -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. ==== input.js (0 errors) ==== x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting tsbuildinfo (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting tsbuildinfo (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting tsbuildinfo (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting tsbuildinfo (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting tsbuildinfo (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting tsbuildinfo (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting tsbuildinfo.errors.txt b/tests/baselines/reference/transpile/Supports setting tsbuildinfo.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting tsbuildinfo.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting tsbuildinfo.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting tsbuildinfo.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting tsbuildinfo.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting typeRoots (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting typeRoots (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting typeRoots (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting typeRoots (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting typeRoots (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting typeRoots (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting typeRoots.errors.txt b/tests/baselines/reference/transpile/Supports setting typeRoots.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting typeRoots.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting typeRoots.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting typeRoots.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting typeRoots.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting types (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting types (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting types (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting types (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting types (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting types (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting types.errors.txt b/tests/baselines/reference/transpile/Supports setting types.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting types.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting types.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting types.oldTranspile.errors.txt deleted file mode 100644 index 145488a434a33..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting types.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports urls in file name.errors.txt b/tests/baselines/reference/transpile/Supports urls in file name.errors.txt deleted file mode 100644 index cc8f88c03b192..0000000000000 --- a/tests/baselines/reference/transpile/Supports urls in file name.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== http://somewhere/directory//directory2/file.ts (0 errors) ==== - var x \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports urls in file name.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports urls in file name.oldTranspile.errors.txt deleted file mode 100644 index cc8f88c03b192..0000000000000 --- a/tests/baselines/reference/transpile/Supports urls in file name.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== http://somewhere/directory//directory2/file.ts (0 errors) ==== - var x \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Uses correct newLine character (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Uses correct newLine character (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 0903ad12e4669..0000000000000 --- a/tests/baselines/reference/transpile/Uses correct newLine character (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - var x = 0; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Uses correct newLine character (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Uses correct newLine character (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 0903ad12e4669..0000000000000 --- a/tests/baselines/reference/transpile/Uses correct newLine character (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - var x = 0; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Uses correct newLine character.errors.txt b/tests/baselines/reference/transpile/Uses correct newLine character.errors.txt deleted file mode 100644 index 0903ad12e4669..0000000000000 --- a/tests/baselines/reference/transpile/Uses correct newLine character.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - var x = 0; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Uses correct newLine character.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Uses correct newLine character.oldTranspile.errors.txt deleted file mode 100644 index 0903ad12e4669..0000000000000 --- a/tests/baselines/reference/transpile/Uses correct newLine character.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.ts (0 errors) ==== - var x = 0; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/transpile .js files.errors.txt b/tests/baselines/reference/transpile/transpile .js files.errors.txt deleted file mode 100644 index 5d913c19f5108..0000000000000 --- a/tests/baselines/reference/transpile/transpile .js files.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - const a = 10; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/transpile .js files.oldTranspile.errors.txt b/tests/baselines/reference/transpile/transpile .js files.oldTranspile.errors.txt deleted file mode 100644 index 5d913c19f5108..0000000000000 --- a/tests/baselines/reference/transpile/transpile .js files.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== input.js (0 errors) ==== - const a = 10; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/transpile file as tsx if jsx is specified.errors.txt b/tests/baselines/reference/transpile/transpile file as tsx if jsx is specified.errors.txt deleted file mode 100644 index 8c8112d3dc06d..0000000000000 --- a/tests/baselines/reference/transpile/transpile file as tsx if jsx is specified.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.tsx (0 errors) ==== - var x =
\ No newline at end of file diff --git a/tests/baselines/reference/transpile/transpile file as tsx if jsx is specified.oldTranspile.errors.txt b/tests/baselines/reference/transpile/transpile file as tsx if jsx is specified.oldTranspile.errors.txt deleted file mode 100644 index 8c8112d3dc06d..0000000000000 --- a/tests/baselines/reference/transpile/transpile file as tsx if jsx is specified.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. -==== file.tsx (0 errors) ==== - var x =
\ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js index 14da0f70f0542..1a34627df79fd 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js @@ -76,7 +76,7 @@ export const m = mod; //// [/user/username/projects/sample1/tests/tsconfig.base.json] { "compilerOptions": { - "target": "es3" + "target": "es5" } } @@ -122,12 +122,7 @@ Output:: [12:00:45 AM] Building project '/user/username/projects/sample1/tests/tsconfig.json'... -error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration. - - -Found 1 error. - -exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.Success //// [/user/username/projects/sample1/core/anotherModule.d.ts] @@ -350,8 +345,25 @@ exports.m = mod; "size": 1511 } +//// [/user/username/projects/sample1/tests/index.d.ts] +import * as mod from '../core/anotherModule'; +export declare const m: typeof mod; + + +//// [/user/username/projects/sample1/tests/index.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.m = void 0; +var c = require("../core/index"); +var logic = require("../logic/index"); +c.leftPad("", 10); +logic.getSecondsInDay(); +var mod = require("../core/anotherModule"); +exports.m = mod; + + //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","signature":false},{"version":"-9234818176-export declare const World = \"hello\";\n","signature":false},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","signature":false},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":false}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"target":0},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"changeFileSet":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"target":1},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -377,39 +389,31 @@ exports.m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "signature": false, "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": false - }, - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": false - }, - "version": "-9234818176-export declare const World = \"hello\";\n" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": false - }, - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": false + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, - "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n" + "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -422,7 +426,7 @@ exports.m = mod; "composite": true, "declaration": true, "skipDefaultLibCheck": true, - "target": 0 + "target": 1 }, "referencedMap": { "../logic/index.d.ts": [ @@ -434,17 +438,25 @@ exports.m = mod; "../logic/index.d.ts" ] }, - "exportedModulesMap": {}, - "changeFileSet": [ + "exportedModulesMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/anothermodule.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ "../../../../../a/lib/lib.d.ts", "../core/anothermodule.d.ts", "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1618 + "size": 1664 } @@ -460,39 +472,23 @@ Input:: Output:: /a/lib/tsc --b tests --verbose -[12:00:50 AM] Projects in this build: +[12:00:52 AM] Projects in this build: * core/tsconfig.json * logic/tsconfig.json * tests/tsconfig.json -[12:00:51 AM] Project 'core/tsconfig.json' is up to date because newest input 'core/anotherModule.ts' is older than output 'core/tsconfig.tsbuildinfo' +[12:00:53 AM] Project 'core/tsconfig.json' is up to date because newest input 'core/anotherModule.ts' is older than output 'core/tsconfig.tsbuildinfo' -[12:00:52 AM] Project 'logic/tsconfig.json' is up to date because newest input 'logic/index.ts' is older than output 'logic/tsconfig.tsbuildinfo' +[12:00:54 AM] Project 'logic/tsconfig.json' is up to date because newest input 'logic/index.ts' is older than output 'logic/tsconfig.tsbuildinfo' -[12:00:53 AM] Project 'tests/tsconfig.json' is out of date because buildinfo file 'tests/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted +[12:00:55 AM] Project 'tests/tsconfig.json' is out of date because output 'tests/tsconfig.tsbuildinfo' is older than input 'tests/tsconfig.base.json' -[12:00:54 AM] Building project '/user/username/projects/sample1/tests/tsconfig.json'... +[12:00:56 AM] Building project '/user/username/projects/sample1/tests/tsconfig.json'... exitCode:: ExitStatus.Success -//// [/user/username/projects/sample1/tests/index.d.ts] -import * as mod from '../core/anotherModule'; -export declare const m: typeof mod; - - -//// [/user/username/projects/sample1/tests/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = require("../core/index"); -var logic = require("../logic/index"); -c.leftPad("", 10); -logic.getSecondsInDay(); -var mod = require("../core/anotherModule"); -exports.m = mod; - - +//// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} From 025c00ea5d101b48e79e9050a33a31859b5ca5d9 Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Tue, 27 Feb 2024 09:54:04 -0800 Subject: [PATCH 2/3] PR feedback to remove some unused internal code --- src/compiler/factory/emitHelpers.ts | 12 ------------ src/compiler/types.ts | 2 -- 2 files changed, 14 deletions(-) diff --git a/src/compiler/factory/emitHelpers.ts b/src/compiler/factory/emitHelpers.ts index bbc9d8f019b19..db9e8ccf0a458 100644 --- a/src/compiler/factory/emitHelpers.ts +++ b/src/compiler/factory/emitHelpers.ts @@ -129,8 +129,6 @@ export interface EmitHelperFactory { // ES2015 Generator Helpers createGeneratorHelper(body: FunctionExpression): Expression; // ES Module Helpers - /** @deprecated */ - createCreateBindingHelper(module: Expression, inputName: Expression, outputName: Expression | undefined): Expression; createImportStarHelper(expression: Expression): Expression; createImportStarCallbackHelper(): Expression; createImportDefaultHelper(expression: Expression): Expression; @@ -181,7 +179,6 @@ export function createEmitHelperFactory(context: TransformationContext): EmitHel // ES2015 Generator Helpers createGeneratorHelper, // ES Module Helpers - createCreateBindingHelper, createImportStarHelper, createImportStarCallbackHelper, createImportDefaultHelper, @@ -609,15 +606,6 @@ export function createEmitHelperFactory(context: TransformationContext): EmitHel // ES Module Helpers - function createCreateBindingHelper(module: Expression, inputName: Expression, outputName: Expression | undefined) { - context.requestEmitHelper(createBindingHelper); - return factory.createCallExpression( - getUnscopedHelperName("__createBinding"), - /*typeArguments*/ undefined, - [factory.createIdentifier("exports"), module, inputName, ...(outputName ? [outputName] : [])], - ); - } - function createImportStarHelper(expression: Expression) { context.requestEmitHelper(importStarHelper); return factory.createCallExpression( diff --git a/src/compiler/types.ts b/src/compiler/types.ts index 3c1869cc238ab..629a64b1cc68a 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -8153,8 +8153,6 @@ export const enum ExternalEmitHelpers { ClassPrivateFieldGet = 1 << 19, // __classPrivateFieldGet (used by the class private field transformation) ClassPrivateFieldSet = 1 << 20, // __classPrivateFieldSet (used by the class private field transformation) ClassPrivateFieldIn = 1 << 21, // __classPrivateFieldIn (used by the class private field transformation) - /** @deprecated */ - CreateBinding = 1 << 22, // __createBinding (use by the module transform for (re)exports and namespace imports) SetFunctionName = 1 << 23, // __setFunctionName (used by class fields and ECMAScript decorators) PropKey = 1 << 24, // __propKey (used by class fields and ECMAScript decorators) AddDisposableResourceAndDisposeResources = 1 << 25, // __addDisposableResource and __disposeResources (used by ESNext transformations) From 6838101a207b3512a0ceed884963847a4098d826 Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Tue, 27 Feb 2024 11:28:59 -0800 Subject: [PATCH 3/3] Shift enum values down --- src/compiler/types.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/compiler/types.ts b/src/compiler/types.ts index 629a64b1cc68a..bd8b78dfce0b3 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -8153,9 +8153,9 @@ export const enum ExternalEmitHelpers { ClassPrivateFieldGet = 1 << 19, // __classPrivateFieldGet (used by the class private field transformation) ClassPrivateFieldSet = 1 << 20, // __classPrivateFieldSet (used by the class private field transformation) ClassPrivateFieldIn = 1 << 21, // __classPrivateFieldIn (used by the class private field transformation) - SetFunctionName = 1 << 23, // __setFunctionName (used by class fields and ECMAScript decorators) - PropKey = 1 << 24, // __propKey (used by class fields and ECMAScript decorators) - AddDisposableResourceAndDisposeResources = 1 << 25, // __addDisposableResource and __disposeResources (used by ESNext transformations) + SetFunctionName = 1 << 22, // __setFunctionName (used by class fields and ECMAScript decorators) + PropKey = 1 << 23, // __propKey (used by class fields and ECMAScript decorators) + AddDisposableResourceAndDisposeResources = 1 << 24, // __addDisposableResource and __disposeResources (used by ESNext transformations) FirstEmitHelper = Extends, LastEmitHelper = AddDisposableResourceAndDisposeResources,