diff --git a/tests/baselines/reference/ES3For-ofTypeCheck1.errors.txt b/tests/baselines/reference/ES3For-ofTypeCheck1.errors.txt
deleted file mode 100644
index d0e9a6691066f..0000000000000
--- a/tests/baselines/reference/ES3For-ofTypeCheck1.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.
-==== ES3For-ofTypeCheck1.ts (0 errors) ====
- for (var v of "") { }
\ No newline at end of file
diff --git a/tests/baselines/reference/ES3For-ofTypeCheck2.errors.txt b/tests/baselines/reference/ES3For-ofTypeCheck2.errors.txt
deleted file mode 100644
index 9a5e8d21172e1..0000000000000
--- a/tests/baselines/reference/ES3For-ofTypeCheck2.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.
-==== ES3For-ofTypeCheck2.ts (0 errors) ====
- for (var v of [true]) { }
\ No newline at end of file
diff --git a/tests/baselines/reference/ES3For-ofTypeCheck4.errors.txt b/tests/baselines/reference/ES3For-ofTypeCheck4.errors.txt
deleted file mode 100644
index 7fd2640d3062e..0000000000000
--- a/tests/baselines/reference/ES3For-ofTypeCheck4.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.
-==== ES3For-ofTypeCheck4.ts (0 errors) ====
- var union: string | string[];
- for (const v of union) { }
\ No newline at end of file
diff --git a/tests/baselines/reference/ES3For-ofTypeCheck6.errors.txt b/tests/baselines/reference/ES3For-ofTypeCheck6.errors.txt
deleted file mode 100644
index dfd2dbacc5553..0000000000000
--- a/tests/baselines/reference/ES3For-ofTypeCheck6.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.
-==== ES3For-ofTypeCheck6.ts (0 errors) ====
- var union: string[] | number[];
- for (var 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
deleted file mode 100644
index f50052a2e54a8..0000000000000
--- a/tests/baselines/reference/accessorWithES3.errors.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== accessorWithES3.ts (0 errors) ====
- // error to use accessors in ES3 mode
-
- class C {
- get x() {
- return 1;
- }
- }
-
- class D {
- set x(v) {
- }
- }
-
- var x = {
- get a() { return 1 }
- }
-
- var y = {
- set b(v) { }
- }
\ No newline at end of file
diff --git a/tests/baselines/reference/accessorWithES3.js b/tests/baselines/reference/accessorWithES3.js
deleted file mode 100644
index 7ec59b77e3836..0000000000000
--- a/tests/baselines/reference/accessorWithES3.js
+++ /dev/null
@@ -1,55 +0,0 @@
-//// [tests/cases/conformance/classes/propertyMemberDeclarations/memberAccessorDeclarations/accessorWithES3.ts] ////
-
-//// [accessorWithES3.ts]
-// error to use accessors in ES3 mode
-
-class C {
- get x() {
- return 1;
- }
-}
-
-class D {
- set x(v) {
- }
-}
-
-var x = {
- get a() { return 1 }
-}
-
-var y = {
- set b(v) { }
-}
-
-//// [accessorWithES3.js]
-// error to use accessors in ES3 mode
-var C = /** @class */ (function () {
- function C() {
- }
- Object.defineProperty(C.prototype, "x", {
- get: function () {
- return 1;
- },
- enumerable: false,
- configurable: true
- });
- return C;
-}());
-var D = /** @class */ (function () {
- function D() {
- }
- Object.defineProperty(D.prototype, "x", {
- set: function (v) {
- },
- enumerable: false,
- configurable: true
- });
- return D;
-}());
-var x = {
- get a() { return 1; }
-};
-var y = {
- set b(v) { }
-};
diff --git a/tests/baselines/reference/accessorWithES3.symbols b/tests/baselines/reference/accessorWithES3.symbols
deleted file mode 100644
index ef31f09e2ff8c..0000000000000
--- a/tests/baselines/reference/accessorWithES3.symbols
+++ /dev/null
@@ -1,38 +0,0 @@
-//// [tests/cases/conformance/classes/propertyMemberDeclarations/memberAccessorDeclarations/accessorWithES3.ts] ////
-
-=== accessorWithES3.ts ===
-// error to use accessors in ES3 mode
-
-class C {
->C : Symbol(C, Decl(accessorWithES3.ts, 0, 0))
-
- get x() {
->x : Symbol(C.x, Decl(accessorWithES3.ts, 2, 9))
-
- return 1;
- }
-}
-
-class D {
->D : Symbol(D, Decl(accessorWithES3.ts, 6, 1))
-
- set x(v) {
->x : Symbol(D.x, Decl(accessorWithES3.ts, 8, 9))
->v : Symbol(v, Decl(accessorWithES3.ts, 9, 10))
- }
-}
-
-var x = {
->x : Symbol(x, Decl(accessorWithES3.ts, 13, 3))
-
- get a() { return 1 }
->a : Symbol(a, Decl(accessorWithES3.ts, 13, 9))
-}
-
-var y = {
->y : Symbol(y, Decl(accessorWithES3.ts, 17, 3))
-
- set b(v) { }
->b : Symbol(b, Decl(accessorWithES3.ts, 17, 9))
->v : Symbol(v, Decl(accessorWithES3.ts, 18, 10))
-}
diff --git a/tests/baselines/reference/accessorWithES3.types b/tests/baselines/reference/accessorWithES3.types
deleted file mode 100644
index b1f34e330acd5..0000000000000
--- a/tests/baselines/reference/accessorWithES3.types
+++ /dev/null
@@ -1,42 +0,0 @@
-//// [tests/cases/conformance/classes/propertyMemberDeclarations/memberAccessorDeclarations/accessorWithES3.ts] ////
-
-=== accessorWithES3.ts ===
-// error to use accessors in ES3 mode
-
-class C {
->C : C
-
- get x() {
->x : number
-
- return 1;
->1 : 1
- }
-}
-
-class D {
->D : D
-
- set x(v) {
->x : any
->v : any
- }
-}
-
-var x = {
->x : { readonly a: number; }
->{ get a() { return 1 }} : { readonly a: number; }
-
- get a() { return 1 }
->a : number
->1 : 1
-}
-
-var y = {
->y : { b: any; }
->{ set b(v) { }} : { b: any; }
-
- set b(v) { }
->b : any
->v : any
-}
diff --git a/tests/baselines/reference/accessorsNotAllowedInES3.errors.txt b/tests/baselines/reference/accessorsNotAllowedInES3.errors.txt
deleted file mode 100644
index 071dbc7d160b2..0000000000000
--- a/tests/baselines/reference/accessorsNotAllowedInES3.errors.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== accessorsNotAllowedInES3.ts (0 errors) ====
- class C {
- get x(): number { return 1; }
- }
- var y = { get foo() { return 3; } };
-
\ No newline at end of file
diff --git a/tests/baselines/reference/accessorsNotAllowedInES3.js b/tests/baselines/reference/accessorsNotAllowedInES3.js
deleted file mode 100644
index 5c96ffd64965d..0000000000000
--- a/tests/baselines/reference/accessorsNotAllowedInES3.js
+++ /dev/null
@@ -1,21 +0,0 @@
-//// [tests/cases/compiler/accessorsNotAllowedInES3.ts] ////
-
-//// [accessorsNotAllowedInES3.ts]
-class C {
- get x(): number { return 1; }
-}
-var y = { get foo() { return 3; } };
-
-
-//// [accessorsNotAllowedInES3.js]
-var C = /** @class */ (function () {
- function C() {
- }
- Object.defineProperty(C.prototype, "x", {
- get: function () { return 1; },
- enumerable: false,
- configurable: true
- });
- return C;
-}());
-var y = { get foo() { return 3; } };
diff --git a/tests/baselines/reference/accessorsNotAllowedInES3.symbols b/tests/baselines/reference/accessorsNotAllowedInES3.symbols
deleted file mode 100644
index b84da45d56e32..0000000000000
--- a/tests/baselines/reference/accessorsNotAllowedInES3.symbols
+++ /dev/null
@@ -1,13 +0,0 @@
-//// [tests/cases/compiler/accessorsNotAllowedInES3.ts] ////
-
-=== accessorsNotAllowedInES3.ts ===
-class C {
->C : Symbol(C, Decl(accessorsNotAllowedInES3.ts, 0, 0))
-
- get x(): number { return 1; }
->x : Symbol(C.x, Decl(accessorsNotAllowedInES3.ts, 0, 9))
-}
-var y = { get foo() { return 3; } };
->y : Symbol(y, Decl(accessorsNotAllowedInES3.ts, 3, 3))
->foo : Symbol(foo, Decl(accessorsNotAllowedInES3.ts, 3, 9))
-
diff --git a/tests/baselines/reference/accessorsNotAllowedInES3.types b/tests/baselines/reference/accessorsNotAllowedInES3.types
deleted file mode 100644
index 5a456d95827b7..0000000000000
--- a/tests/baselines/reference/accessorsNotAllowedInES3.types
+++ /dev/null
@@ -1,16 +0,0 @@
-//// [tests/cases/compiler/accessorsNotAllowedInES3.ts] ////
-
-=== accessorsNotAllowedInES3.ts ===
-class C {
->C : C
-
- get x(): number { return 1; }
->x : number
->1 : 1
-}
-var y = { get foo() { return 3; } };
->y : { readonly foo: number; }
->{ get foo() { return 3; } } : { readonly foo: number; }
->foo : number
->3 : 3
-
diff --git a/tests/baselines/reference/ambientAccessors(target=es3).errors.txt b/tests/baselines/reference/ambientAccessors(target=es3).errors.txt
deleted file mode 100644
index 2e4da3b3ddd1b..0000000000000
--- a/tests/baselines/reference/ambientAccessors(target=es3).errors.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== ambientAccessors.ts (0 errors) ====
- // ok to use accessors in ambient class in ES3
- declare class C {
- static get a(): string;
- static set a(value: string);
-
- private static get b(): string;
- private static set b(foo: string);
-
- get x(): string;
- set x(value: string);
-
- private get y(): string;
- private set y(foo: string);
- }
\ No newline at end of file
diff --git a/tests/baselines/reference/ambientAccessors(target=es5).js b/tests/baselines/reference/ambientAccessors(target=es5).js
deleted file mode 100644
index f9835d3460dd9..0000000000000
--- a/tests/baselines/reference/ambientAccessors(target=es5).js
+++ /dev/null
@@ -1,32 +0,0 @@
-//// [tests/cases/conformance/classes/propertyMemberDeclarations/memberAccessorDeclarations/ambientAccessors.ts] ////
-
-//// [ambientAccessors.ts]
-// ok to use accessors in ambient class in ES3
-declare class C {
- static get a(): string;
- static set a(value: string);
-
- private static get b(): string;
- private static set b(foo: string);
-
- get x(): string;
- set x(value: string);
-
- private get y(): string;
- private set y(foo: string);
-}
-
-//// [ambientAccessors.js]
-
-
-//// [ambientAccessors.d.ts]
-declare class C {
- static get a(): string;
- static set a(value: string);
- private static get b();
- private static set b(value);
- get x(): string;
- set x(value: string);
- private get y();
- private set y(value);
-}
diff --git a/tests/baselines/reference/ambientAccessors(target=es5).symbols b/tests/baselines/reference/ambientAccessors(target=es5).symbols
deleted file mode 100644
index 3937cede3ede5..0000000000000
--- a/tests/baselines/reference/ambientAccessors(target=es5).symbols
+++ /dev/null
@@ -1,35 +0,0 @@
-//// [tests/cases/conformance/classes/propertyMemberDeclarations/memberAccessorDeclarations/ambientAccessors.ts] ////
-
-=== ambientAccessors.ts ===
-// ok to use accessors in ambient class in ES3
-declare class C {
->C : Symbol(C, Decl(ambientAccessors.ts, 0, 0))
-
- static get a(): string;
->a : Symbol(C.a, Decl(ambientAccessors.ts, 1, 17), Decl(ambientAccessors.ts, 2, 27))
-
- static set a(value: string);
->a : Symbol(C.a, Decl(ambientAccessors.ts, 1, 17), Decl(ambientAccessors.ts, 2, 27))
->value : Symbol(value, Decl(ambientAccessors.ts, 3, 17))
-
- private static get b(): string;
->b : Symbol(C.b, Decl(ambientAccessors.ts, 3, 32), Decl(ambientAccessors.ts, 5, 35))
-
- private static set b(foo: string);
->b : Symbol(C.b, Decl(ambientAccessors.ts, 3, 32), Decl(ambientAccessors.ts, 5, 35))
->foo : Symbol(foo, Decl(ambientAccessors.ts, 6, 25))
-
- get x(): string;
->x : Symbol(C.x, Decl(ambientAccessors.ts, 6, 38), Decl(ambientAccessors.ts, 8, 20))
-
- set x(value: string);
->x : Symbol(C.x, Decl(ambientAccessors.ts, 6, 38), Decl(ambientAccessors.ts, 8, 20))
->value : Symbol(value, Decl(ambientAccessors.ts, 9, 10))
-
- private get y(): string;
->y : Symbol(C.y, Decl(ambientAccessors.ts, 9, 25), Decl(ambientAccessors.ts, 11, 28))
-
- private set y(foo: string);
->y : Symbol(C.y, Decl(ambientAccessors.ts, 9, 25), Decl(ambientAccessors.ts, 11, 28))
->foo : Symbol(foo, Decl(ambientAccessors.ts, 12, 18))
-}
diff --git a/tests/baselines/reference/ambientAccessors(target=es5).types b/tests/baselines/reference/ambientAccessors(target=es5).types
deleted file mode 100644
index 5771c198f55e3..0000000000000
--- a/tests/baselines/reference/ambientAccessors(target=es5).types
+++ /dev/null
@@ -1,35 +0,0 @@
-//// [tests/cases/conformance/classes/propertyMemberDeclarations/memberAccessorDeclarations/ambientAccessors.ts] ////
-
-=== ambientAccessors.ts ===
-// ok to use accessors in ambient class in ES3
-declare class C {
->C : C
-
- static get a(): string;
->a : string
-
- static set a(value: string);
->a : string
->value : string
-
- private static get b(): string;
->b : string
-
- private static set b(foo: string);
->b : string
->foo : string
-
- get x(): string;
->x : string
-
- set x(value: string);
->x : string
->value : string
-
- private get y(): string;
->y : string
-
- private set y(foo: string);
->y : string
->foo : string
-}
diff --git a/tests/baselines/reference/ambientAccessors(target=es3).js b/tests/baselines/reference/ambientAccessors.js
similarity index 100%
rename from tests/baselines/reference/ambientAccessors(target=es3).js
rename to tests/baselines/reference/ambientAccessors.js
diff --git a/tests/baselines/reference/ambientAccessors(target=es3).symbols b/tests/baselines/reference/ambientAccessors.symbols
similarity index 100%
rename from tests/baselines/reference/ambientAccessors(target=es3).symbols
rename to tests/baselines/reference/ambientAccessors.symbols
diff --git a/tests/baselines/reference/ambientAccessors(target=es3).types b/tests/baselines/reference/ambientAccessors.types
similarity index 100%
rename from tests/baselines/reference/ambientAccessors(target=es3).types
rename to tests/baselines/reference/ambientAccessors.types
diff --git a/tests/baselines/reference/bigIntWithTargetES3.errors.txt b/tests/baselines/reference/bigIntWithTargetES3.errors.txt
deleted file mode 100644
index b3b56dd77606a..0000000000000
--- a/tests/baselines/reference/bigIntWithTargetES3.errors.txt
+++ /dev/null
@@ -1,23 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-bigIntWithTargetES3.ts(5,22): error TS2737: BigInt literals are not available when targeting lower than ES2020.
-bigIntWithTargetES3.ts(5,29): error TS2737: BigInt literals are not available when targeting lower than ES2020.
-bigIntWithTargetES3.ts(5,39): error TS2737: BigInt literals are not available when targeting lower than ES2020.
-bigIntWithTargetES3.ts(5,48): error TS2737: BigInt literals are not available when targeting lower than ES2020.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== bigIntWithTargetES3.ts (4 errors) ====
- const normalNumber = 123; // should not error
- let bigintType: bigint; // should not error
- let bigintLiteralType: 123n; // should not error when used as type
- let bigintNegativeLiteralType: -123n; // should not error when used as type
- const bigintNumber = 123n * 0b1111n + 0o444n * 0x7fn; // each literal should error
- ~~~~
-!!! error TS2737: BigInt literals are not available when targeting lower than ES2020.
- ~~~~~~~
-!!! error TS2737: BigInt literals are not available when targeting lower than ES2020.
- ~~~~~~
-!!! error TS2737: BigInt literals are not available when targeting lower than ES2020.
- ~~~~~
-!!! error TS2737: BigInt literals are not available when targeting lower than ES2020.
-
\ No newline at end of file
diff --git a/tests/baselines/reference/bigIntWithTargetES3.js b/tests/baselines/reference/bigIntWithTargetES3.js
deleted file mode 100644
index a67cae668ebe8..0000000000000
--- a/tests/baselines/reference/bigIntWithTargetES3.js
+++ /dev/null
@@ -1,16 +0,0 @@
-//// [tests/cases/compiler/bigIntWithTargetES3.ts] ////
-
-//// [bigIntWithTargetES3.ts]
-const normalNumber = 123; // should not error
-let bigintType: bigint; // should not error
-let bigintLiteralType: 123n; // should not error when used as type
-let bigintNegativeLiteralType: -123n; // should not error when used as type
-const bigintNumber = 123n * 0b1111n + 0o444n * 0x7fn; // each literal should error
-
-
-//// [bigIntWithTargetES3.js]
-var normalNumber = 123; // should not error
-var bigintType; // should not error
-var bigintLiteralType; // should not error when used as type
-var bigintNegativeLiteralType; // should not error when used as type
-var bigintNumber = 123n * 15n + 292n * 0x7fn; // each literal should error
diff --git a/tests/baselines/reference/bigIntWithTargetES3.symbols b/tests/baselines/reference/bigIntWithTargetES3.symbols
deleted file mode 100644
index 5058faaaf597a..0000000000000
--- a/tests/baselines/reference/bigIntWithTargetES3.symbols
+++ /dev/null
@@ -1,18 +0,0 @@
-//// [tests/cases/compiler/bigIntWithTargetES3.ts] ////
-
-=== bigIntWithTargetES3.ts ===
-const normalNumber = 123; // should not error
->normalNumber : Symbol(normalNumber, Decl(bigIntWithTargetES3.ts, 0, 5))
-
-let bigintType: bigint; // should not error
->bigintType : Symbol(bigintType, Decl(bigIntWithTargetES3.ts, 1, 3))
-
-let bigintLiteralType: 123n; // should not error when used as type
->bigintLiteralType : Symbol(bigintLiteralType, Decl(bigIntWithTargetES3.ts, 2, 3))
-
-let bigintNegativeLiteralType: -123n; // should not error when used as type
->bigintNegativeLiteralType : Symbol(bigintNegativeLiteralType, Decl(bigIntWithTargetES3.ts, 3, 3))
-
-const bigintNumber = 123n * 0b1111n + 0o444n * 0x7fn; // each literal should error
->bigintNumber : Symbol(bigintNumber, Decl(bigIntWithTargetES3.ts, 4, 5))
-
diff --git a/tests/baselines/reference/bigIntWithTargetES3.types b/tests/baselines/reference/bigIntWithTargetES3.types
deleted file mode 100644
index 2a9027933d780..0000000000000
--- a/tests/baselines/reference/bigIntWithTargetES3.types
+++ /dev/null
@@ -1,28 +0,0 @@
-//// [tests/cases/compiler/bigIntWithTargetES3.ts] ////
-
-=== bigIntWithTargetES3.ts ===
-const normalNumber = 123; // should not error
->normalNumber : 123
->123 : 123
-
-let bigintType: bigint; // should not error
->bigintType : bigint
-
-let bigintLiteralType: 123n; // should not error when used as type
->bigintLiteralType : 123n
-
-let bigintNegativeLiteralType: -123n; // should not error when used as type
->bigintNegativeLiteralType : -123n
->-123n : -123n
->123n : 123n
-
-const bigintNumber = 123n * 0b1111n + 0o444n * 0x7fn; // each literal should error
->bigintNumber : bigint
->123n * 0b1111n + 0o444n * 0x7fn : bigint
->123n * 0b1111n : bigint
->123n : 123n
->0b1111n : 15n
->0o444n * 0x7fn : bigint
->0o444n : 292n
->0x7fn : 127n
-
diff --git a/tests/baselines/reference/definePropertyOutputES3.errors.txt b/tests/baselines/reference/definePropertyOutputES3.errors.txt
deleted file mode 100644
index 913bc2b369f5f..0000000000000
--- a/tests/baselines/reference/definePropertyOutputES3.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.
-==== definePropertyOutputES3.ts (0 errors) ====
- class A {
- a = 12
- }
-
\ No newline at end of file
diff --git a/tests/baselines/reference/definePropertyOutputES3.js b/tests/baselines/reference/definePropertyOutputES3.js
deleted file mode 100644
index 7f00d93ff4ef6..0000000000000
--- a/tests/baselines/reference/definePropertyOutputES3.js
+++ /dev/null
@@ -1,20 +0,0 @@
-//// [tests/cases/conformance/classes/propertyMemberDeclarations/definePropertyOutputES3.ts] ////
-
-//// [definePropertyOutputES3.ts]
-class A {
- a = 12
-}
-
-
-//// [definePropertyOutputES3.js]
-var A = /** @class */ (function () {
- function A() {
- Object.defineProperty(this, "a", {
- enumerable: true,
- configurable: true,
- writable: true,
- value: 12
- });
- }
- return A;
-}());
diff --git a/tests/baselines/reference/definePropertyOutputES3.symbols b/tests/baselines/reference/definePropertyOutputES3.symbols
deleted file mode 100644
index c9ea4c59b1c43..0000000000000
--- a/tests/baselines/reference/definePropertyOutputES3.symbols
+++ /dev/null
@@ -1,10 +0,0 @@
-//// [tests/cases/conformance/classes/propertyMemberDeclarations/definePropertyOutputES3.ts] ////
-
-=== definePropertyOutputES3.ts ===
-class A {
->A : Symbol(A, Decl(definePropertyOutputES3.ts, 0, 0))
-
- a = 12
->a : Symbol(A.a, Decl(definePropertyOutputES3.ts, 0, 9))
-}
-
diff --git a/tests/baselines/reference/definePropertyOutputES3.types b/tests/baselines/reference/definePropertyOutputES3.types
deleted file mode 100644
index c51f431cbb7f8..0000000000000
--- a/tests/baselines/reference/definePropertyOutputES3.types
+++ /dev/null
@@ -1,11 +0,0 @@
-//// [tests/cases/conformance/classes/propertyMemberDeclarations/definePropertyOutputES3.ts] ////
-
-=== definePropertyOutputES3.ts ===
-class A {
->A : A
-
- a = 12
->a : number
->12 : 12
-}
-
diff --git a/tests/baselines/reference/emptyFile-declaration.errors.txt b/tests/baselines/reference/emptyFile-declaration.errors.txt
deleted file mode 100644
index 7eb96ca9efaaf..0000000000000
--- a/tests/baselines/reference/emptyFile-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.
-==== emptyFile-declaration.ts (0 errors) ====
-
\ No newline at end of file
diff --git a/tests/baselines/reference/emptyFile-souremap.errors.txt b/tests/baselines/reference/emptyFile-souremap.errors.txt
deleted file mode 100644
index 86145e4e2fa1b..0000000000000
--- a/tests/baselines/reference/emptyFile-souremap.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.
-==== emptyFile-souremap.ts (0 errors) ====
-
\ No newline at end of file
diff --git a/tests/baselines/reference/es3-amd.errors.txt b/tests/baselines/reference/es3-amd.errors.txt
deleted file mode 100644
index 6ba2b3983b513..0000000000000
--- a/tests/baselines/reference/es3-amd.errors.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== es3-amd.ts (0 errors) ====
- class A
- {
- constructor ()
- {
-
- }
-
- public B()
- {
- return 42;
- }
- }
\ No newline at end of file
diff --git a/tests/baselines/reference/es3-amd.js b/tests/baselines/reference/es3-amd.js
deleted file mode 100644
index 714b04eff469b..0000000000000
--- a/tests/baselines/reference/es3-amd.js
+++ /dev/null
@@ -1,25 +0,0 @@
-//// [tests/cases/compiler/es3-amd.ts] ////
-
-//// [es3-amd.ts]
-class A
-{
- constructor ()
- {
-
- }
-
- public B()
- {
- return 42;
- }
-}
-
-//// [es3-amd.js]
-var A = /** @class */ (function () {
- function A() {
- }
- A.prototype.B = function () {
- return 42;
- };
- return A;
-}());
diff --git a/tests/baselines/reference/es3-amd.symbols b/tests/baselines/reference/es3-amd.symbols
deleted file mode 100644
index 5b0f25718c1c1..0000000000000
--- a/tests/baselines/reference/es3-amd.symbols
+++ /dev/null
@@ -1,17 +0,0 @@
-//// [tests/cases/compiler/es3-amd.ts] ////
-
-=== es3-amd.ts ===
-class A
->A : Symbol(A, Decl(es3-amd.ts, 0, 0))
-{
- constructor ()
- {
-
- }
-
- public B()
->B : Symbol(A.B, Decl(es3-amd.ts, 5, 5))
- {
- return 42;
- }
-}
diff --git a/tests/baselines/reference/es3-amd.types b/tests/baselines/reference/es3-amd.types
deleted file mode 100644
index 7a147f1f847c4..0000000000000
--- a/tests/baselines/reference/es3-amd.types
+++ /dev/null
@@ -1,18 +0,0 @@
-//// [tests/cases/compiler/es3-amd.ts] ////
-
-=== es3-amd.ts ===
-class A
->A : A
-{
- constructor ()
- {
-
- }
-
- public B()
->B : () => number
- {
- return 42;
->42 : 42
- }
-}
diff --git a/tests/baselines/reference/es3-declaration-amd.errors.txt b/tests/baselines/reference/es3-declaration-amd.errors.txt
deleted file mode 100644
index b41c1f6bd63b1..0000000000000
--- a/tests/baselines/reference/es3-declaration-amd.errors.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== es3-declaration-amd.ts (0 errors) ====
- class A
- {
- constructor ()
- {
-
- }
-
- public B()
- {
- return 42;
- }
- }
\ No newline at end of file
diff --git a/tests/baselines/reference/es3-declaration-amd.js b/tests/baselines/reference/es3-declaration-amd.js
deleted file mode 100644
index 2332925506cb7..0000000000000
--- a/tests/baselines/reference/es3-declaration-amd.js
+++ /dev/null
@@ -1,32 +0,0 @@
-//// [tests/cases/compiler/es3-declaration-amd.ts] ////
-
-//// [es3-declaration-amd.ts]
-class A
-{
- constructor ()
- {
-
- }
-
- public B()
- {
- return 42;
- }
-}
-
-//// [es3-declaration-amd.js]
-var A = /** @class */ (function () {
- function A() {
- }
- A.prototype.B = function () {
- return 42;
- };
- return A;
-}());
-
-
-//// [es3-declaration-amd.d.ts]
-declare class A {
- constructor();
- B(): number;
-}
diff --git a/tests/baselines/reference/es3-declaration-amd.symbols b/tests/baselines/reference/es3-declaration-amd.symbols
deleted file mode 100644
index a5e18a6f45725..0000000000000
--- a/tests/baselines/reference/es3-declaration-amd.symbols
+++ /dev/null
@@ -1,17 +0,0 @@
-//// [tests/cases/compiler/es3-declaration-amd.ts] ////
-
-=== es3-declaration-amd.ts ===
-class A
->A : Symbol(A, Decl(es3-declaration-amd.ts, 0, 0))
-{
- constructor ()
- {
-
- }
-
- public B()
->B : Symbol(A.B, Decl(es3-declaration-amd.ts, 5, 5))
- {
- return 42;
- }
-}
diff --git a/tests/baselines/reference/es3-declaration-amd.types b/tests/baselines/reference/es3-declaration-amd.types
deleted file mode 100644
index c37fefa9aaf3a..0000000000000
--- a/tests/baselines/reference/es3-declaration-amd.types
+++ /dev/null
@@ -1,18 +0,0 @@
-//// [tests/cases/compiler/es3-declaration-amd.ts] ////
-
-=== es3-declaration-amd.ts ===
-class A
->A : A
-{
- constructor ()
- {
-
- }
-
- public B()
->B : () => number
- {
- return 42;
->42 : 42
- }
-}
diff --git a/tests/baselines/reference/es3-jsx-preserve.errors.txt b/tests/baselines/reference/es3-jsx-preserve.errors.txt
deleted file mode 100644
index 47ea502cc96aa..0000000000000
--- a/tests/baselines/reference/es3-jsx-preserve.errors.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== es3-jsx-preserve.tsx (0 errors) ====
- const React: any = null;
-
- const elem =
;
-
-
\ No newline at end of file
diff --git a/tests/baselines/reference/es3-jsx-preserve.js b/tests/baselines/reference/es3-jsx-preserve.js
deleted file mode 100644
index d657635acd2f5..0000000000000
--- a/tests/baselines/reference/es3-jsx-preserve.js
+++ /dev/null
@@ -1,12 +0,0 @@
-//// [tests/cases/compiler/es3-jsx-preserve.tsx] ////
-
-//// [es3-jsx-preserve.tsx]
-const React: any = null;
-
-const elem = ;
-
-
-
-//// [es3-jsx-preserve.jsx]
-var React = null;
-var elem = ;
diff --git a/tests/baselines/reference/es3-jsx-preserve.symbols b/tests/baselines/reference/es3-jsx-preserve.symbols
deleted file mode 100644
index bfa50914edc6c..0000000000000
--- a/tests/baselines/reference/es3-jsx-preserve.symbols
+++ /dev/null
@@ -1,10 +0,0 @@
-//// [tests/cases/compiler/es3-jsx-preserve.tsx] ////
-
-=== es3-jsx-preserve.tsx ===
-const React: any = null;
->React : Symbol(React, Decl(es3-jsx-preserve.tsx, 0, 5))
-
-const elem = ;
->elem : Symbol(elem, Decl(es3-jsx-preserve.tsx, 2, 5))
-
-
diff --git a/tests/baselines/reference/es3-jsx-preserve.types b/tests/baselines/reference/es3-jsx-preserve.types
deleted file mode 100644
index d41c7aaa56c55..0000000000000
--- a/tests/baselines/reference/es3-jsx-preserve.types
+++ /dev/null
@@ -1,13 +0,0 @@
-//// [tests/cases/compiler/es3-jsx-preserve.tsx] ////
-
-=== es3-jsx-preserve.tsx ===
-const React: any = null;
->React : any
-
-const elem = ;
->elem : any
-> : any
->div : any
->div : any
-
-
diff --git a/tests/baselines/reference/es3-jsx-react-native.errors.txt b/tests/baselines/reference/es3-jsx-react-native.errors.txt
deleted file mode 100644
index 1d2971b1e3353..0000000000000
--- a/tests/baselines/reference/es3-jsx-react-native.errors.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== es3-jsx-react-native.tsx (0 errors) ====
- const React: any = null;
-
- const elem = ;
-
-
\ No newline at end of file
diff --git a/tests/baselines/reference/es3-jsx-react-native.js b/tests/baselines/reference/es3-jsx-react-native.js
deleted file mode 100644
index 3b2c2ff4c5b12..0000000000000
--- a/tests/baselines/reference/es3-jsx-react-native.js
+++ /dev/null
@@ -1,12 +0,0 @@
-//// [tests/cases/compiler/es3-jsx-react-native.tsx] ////
-
-//// [es3-jsx-react-native.tsx]
-const React: any = null;
-
-const elem = ;
-
-
-
-//// [es3-jsx-react-native.js]
-var React = null;
-var elem = ;
diff --git a/tests/baselines/reference/es3-jsx-react-native.symbols b/tests/baselines/reference/es3-jsx-react-native.symbols
deleted file mode 100644
index 395cbb17055d1..0000000000000
--- a/tests/baselines/reference/es3-jsx-react-native.symbols
+++ /dev/null
@@ -1,10 +0,0 @@
-//// [tests/cases/compiler/es3-jsx-react-native.tsx] ////
-
-=== es3-jsx-react-native.tsx ===
-const React: any = null;
->React : Symbol(React, Decl(es3-jsx-react-native.tsx, 0, 5))
-
-const elem = ;
->elem : Symbol(elem, Decl(es3-jsx-react-native.tsx, 2, 5))
-
-
diff --git a/tests/baselines/reference/es3-jsx-react-native.types b/tests/baselines/reference/es3-jsx-react-native.types
deleted file mode 100644
index fcbf5424cf09d..0000000000000
--- a/tests/baselines/reference/es3-jsx-react-native.types
+++ /dev/null
@@ -1,13 +0,0 @@
-//// [tests/cases/compiler/es3-jsx-react-native.tsx] ////
-
-=== es3-jsx-react-native.tsx ===
-const React: any = null;
->React : any
-
-const elem = ;
->elem : any
-> : any
->div : any
->div : any
-
-
diff --git a/tests/baselines/reference/es3-jsx-react.errors.txt b/tests/baselines/reference/es3-jsx-react.errors.txt
deleted file mode 100644
index 43fe326918442..0000000000000
--- a/tests/baselines/reference/es3-jsx-react.errors.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== es3-jsx-react.tsx (0 errors) ====
- const React: any = null;
-
- const elem = ;
-
-
\ No newline at end of file
diff --git a/tests/baselines/reference/es3-jsx-react.js b/tests/baselines/reference/es3-jsx-react.js
deleted file mode 100644
index d410778c465a4..0000000000000
--- a/tests/baselines/reference/es3-jsx-react.js
+++ /dev/null
@@ -1,12 +0,0 @@
-//// [tests/cases/compiler/es3-jsx-react.tsx] ////
-
-//// [es3-jsx-react.tsx]
-const React: any = null;
-
-const elem = ;
-
-
-
-//// [es3-jsx-react.js]
-var React = null;
-var elem = React.createElement("div", null);
diff --git a/tests/baselines/reference/es3-jsx-react.symbols b/tests/baselines/reference/es3-jsx-react.symbols
deleted file mode 100644
index bdc7ba143da4a..0000000000000
--- a/tests/baselines/reference/es3-jsx-react.symbols
+++ /dev/null
@@ -1,10 +0,0 @@
-//// [tests/cases/compiler/es3-jsx-react.tsx] ////
-
-=== es3-jsx-react.tsx ===
-const React: any = null;
->React : Symbol(React, Decl(es3-jsx-react.tsx, 0, 5))
-
-const elem = ;
->elem : Symbol(elem, Decl(es3-jsx-react.tsx, 2, 5))
-
-
diff --git a/tests/baselines/reference/es3-jsx-react.types b/tests/baselines/reference/es3-jsx-react.types
deleted file mode 100644
index 85d88886caf01..0000000000000
--- a/tests/baselines/reference/es3-jsx-react.types
+++ /dev/null
@@ -1,13 +0,0 @@
-//// [tests/cases/compiler/es3-jsx-react.tsx] ////
-
-=== es3-jsx-react.tsx ===
-const React: any = null;
->React : any
-
-const elem = ;
->elem : any
-> : any
->div : any
->div : any
-
-
diff --git a/tests/baselines/reference/es3-oldStyleOctalLiteralInEnums.errors.txt b/tests/baselines/reference/es3-oldStyleOctalLiteralInEnums.errors.txt
deleted file mode 100644
index 62281a63f6b9a..0000000000000
--- a/tests/baselines/reference/es3-oldStyleOctalLiteralInEnums.errors.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-es3-oldStyleOctalLiteralInEnums.ts(2,7): error TS1121: Octal literals are not allowed. Use the syntax '-0o1'.
-es3-oldStyleOctalLiteralInEnums.ts(3,7): error TS1121: Octal literals are not allowed. Use the syntax '0o2'.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== es3-oldStyleOctalLiteralInEnums.ts (2 errors) ====
- enum E {
- x = -01,
- ~~~
-!!! error TS1121: Octal literals are not allowed. Use the syntax '-0o1'.
- y = 02,
- ~~
-!!! error TS1121: Octal literals are not allowed. Use the syntax '0o2'.
- }
\ No newline at end of file
diff --git a/tests/baselines/reference/es3-oldStyleOctalLiteralInEnums.js b/tests/baselines/reference/es3-oldStyleOctalLiteralInEnums.js
deleted file mode 100644
index dd68e2b62ddfd..0000000000000
--- a/tests/baselines/reference/es3-oldStyleOctalLiteralInEnums.js
+++ /dev/null
@@ -1,14 +0,0 @@
-//// [tests/cases/compiler/es3-oldStyleOctalLiteralInEnums.ts] ////
-
-//// [es3-oldStyleOctalLiteralInEnums.ts]
-enum E {
- x = -01,
- y = 02,
-}
-
-//// [es3-oldStyleOctalLiteralInEnums.js]
-var E;
-(function (E) {
- E[E["x"] = -1] = "x";
- E[E["y"] = 2] = "y";
-})(E || (E = {}));
diff --git a/tests/baselines/reference/es3-oldStyleOctalLiteralInEnums.symbols b/tests/baselines/reference/es3-oldStyleOctalLiteralInEnums.symbols
deleted file mode 100644
index 3218b609c1e06..0000000000000
--- a/tests/baselines/reference/es3-oldStyleOctalLiteralInEnums.symbols
+++ /dev/null
@@ -1,12 +0,0 @@
-//// [tests/cases/compiler/es3-oldStyleOctalLiteralInEnums.ts] ////
-
-=== es3-oldStyleOctalLiteralInEnums.ts ===
-enum E {
->E : Symbol(E, Decl(es3-oldStyleOctalLiteralInEnums.ts, 0, 0))
-
- x = -01,
->x : Symbol(E.x, Decl(es3-oldStyleOctalLiteralInEnums.ts, 0, 8))
-
- y = 02,
->y : Symbol(E.y, Decl(es3-oldStyleOctalLiteralInEnums.ts, 1, 10))
-}
diff --git a/tests/baselines/reference/es3-oldStyleOctalLiteralInEnums.types b/tests/baselines/reference/es3-oldStyleOctalLiteralInEnums.types
deleted file mode 100644
index 2008527541a96..0000000000000
--- a/tests/baselines/reference/es3-oldStyleOctalLiteralInEnums.types
+++ /dev/null
@@ -1,15 +0,0 @@
-//// [tests/cases/compiler/es3-oldStyleOctalLiteralInEnums.ts] ////
-
-=== es3-oldStyleOctalLiteralInEnums.ts ===
-enum E {
->E : E
-
- x = -01,
->x : E.x
->-01 : -1
->01 : 1
-
- y = 02,
->y : E.y
->02 : 2
-}
diff --git a/tests/baselines/reference/es3-oldStyleOctalLiteralTypes.errors.txt b/tests/baselines/reference/es3-oldStyleOctalLiteralTypes.errors.txt
deleted file mode 100644
index 3b9739ebd84f1..0000000000000
--- a/tests/baselines/reference/es3-oldStyleOctalLiteralTypes.errors.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-es3-oldStyleOctalLiteralTypes.ts(1,8): error TS1121: Octal literals are not allowed. Use the syntax '0o10'.
-es3-oldStyleOctalLiteralTypes.ts(2,8): error TS1121: Octal literals are not allowed. Use the syntax '-0o20'.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== es3-oldStyleOctalLiteralTypes.ts (2 errors) ====
- let x: 010;
- ~~~
-!!! error TS1121: Octal literals are not allowed. Use the syntax '0o10'.
- let y: -020;
- ~~~~
-!!! error TS1121: Octal literals are not allowed. Use the syntax '-0o20'.
-
\ No newline at end of file
diff --git a/tests/baselines/reference/es3-oldStyleOctalLiteralTypes.js b/tests/baselines/reference/es3-oldStyleOctalLiteralTypes.js
deleted file mode 100644
index 503b5d667cfc4..0000000000000
--- a/tests/baselines/reference/es3-oldStyleOctalLiteralTypes.js
+++ /dev/null
@@ -1,10 +0,0 @@
-//// [tests/cases/compiler/es3-oldStyleOctalLiteralTypes.ts] ////
-
-//// [es3-oldStyleOctalLiteralTypes.ts]
-let x: 010;
-let y: -020;
-
-
-//// [es3-oldStyleOctalLiteralTypes.js]
-var x;
-var y;
diff --git a/tests/baselines/reference/es3-oldStyleOctalLiteralTypes.symbols b/tests/baselines/reference/es3-oldStyleOctalLiteralTypes.symbols
deleted file mode 100644
index 57c01af5d5176..0000000000000
--- a/tests/baselines/reference/es3-oldStyleOctalLiteralTypes.symbols
+++ /dev/null
@@ -1,9 +0,0 @@
-//// [tests/cases/compiler/es3-oldStyleOctalLiteralTypes.ts] ////
-
-=== es3-oldStyleOctalLiteralTypes.ts ===
-let x: 010;
->x : Symbol(x, Decl(es3-oldStyleOctalLiteralTypes.ts, 0, 3))
-
-let y: -020;
->y : Symbol(y, Decl(es3-oldStyleOctalLiteralTypes.ts, 1, 3))
-
diff --git a/tests/baselines/reference/es3-oldStyleOctalLiteralTypes.types b/tests/baselines/reference/es3-oldStyleOctalLiteralTypes.types
deleted file mode 100644
index 099708e19800b..0000000000000
--- a/tests/baselines/reference/es3-oldStyleOctalLiteralTypes.types
+++ /dev/null
@@ -1,11 +0,0 @@
-//// [tests/cases/compiler/es3-oldStyleOctalLiteralTypes.ts] ////
-
-=== es3-oldStyleOctalLiteralTypes.ts ===
-let x: 010;
->x : 8
-
-let y: -020;
->y : -16
->-020 : -16
->020 : 16
-
diff --git a/tests/baselines/reference/es3-sourcemap-amd.errors.txt b/tests/baselines/reference/es3-sourcemap-amd.errors.txt
deleted file mode 100644
index e4748e64ff7df..0000000000000
--- a/tests/baselines/reference/es3-sourcemap-amd.errors.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== es3-sourcemap-amd.ts (0 errors) ====
- class A
- {
- constructor ()
- {
-
- }
-
- public B()
- {
- return 42;
- }
- }
\ No newline at end of file
diff --git a/tests/baselines/reference/es3-sourcemap-amd.js b/tests/baselines/reference/es3-sourcemap-amd.js
deleted file mode 100644
index b26414902744b..0000000000000
--- a/tests/baselines/reference/es3-sourcemap-amd.js
+++ /dev/null
@@ -1,26 +0,0 @@
-//// [tests/cases/compiler/es3-sourcemap-amd.ts] ////
-
-//// [es3-sourcemap-amd.ts]
-class A
-{
- constructor ()
- {
-
- }
-
- public B()
- {
- return 42;
- }
-}
-
-//// [es3-sourcemap-amd.js]
-var A = /** @class */ (function () {
- function A() {
- }
- A.prototype.B = function () {
- return 42;
- };
- return A;
-}());
-//# sourceMappingURL=es3-sourcemap-amd.js.map
\ No newline at end of file
diff --git a/tests/baselines/reference/es3-sourcemap-amd.js.map b/tests/baselines/reference/es3-sourcemap-amd.js.map
deleted file mode 100644
index b51918ca94152..0000000000000
--- a/tests/baselines/reference/es3-sourcemap-amd.js.map
+++ /dev/null
@@ -1,3 +0,0 @@
-//// [es3-sourcemap-amd.js.map]
-{"version":3,"file":"es3-sourcemap-amd.js","sourceRoot":"","sources":["es3-sourcemap-amd.ts"],"names":[],"mappings":"AAAA;IAEI;IAGA,CAAC;IAEM,aAAC,GAAR;QAEI,OAAO,EAAE,CAAC;IACd,CAAC;IACL,QAAC;AAAD,CAAC,AAXD,IAWC"}
-//// https://sokra.github.io/source-map-visualization#base64,dmFyIEEgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoKSB7DQogICAgZnVuY3Rpb24gQSgpIHsNCiAgICB9DQogICAgQS5wcm90b3R5cGUuQiA9IGZ1bmN0aW9uICgpIHsNCiAgICAgICAgcmV0dXJuIDQyOw0KICAgIH07DQogICAgcmV0dXJuIEE7DQp9KCkpOw0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9ZXMzLXNvdXJjZW1hcC1hbWQuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXMzLXNvdXJjZW1hcC1hbWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJlczMtc291cmNlbWFwLWFtZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtJQUVJO0lBR0EsQ0FBQztJQUVNLGFBQUMsR0FBUjtRQUVJLE9BQU8sRUFBRSxDQUFDO0lBQ2QsQ0FBQztJQUNMLFFBQUM7QUFBRCxDQUFDLEFBWEQsSUFXQyJ9,Y2xhc3MgQQp7CiAgICBjb25zdHJ1Y3RvciAoKQogICAgewoKICAgIH0KCiAgICBwdWJsaWMgQigpCiAgICB7CiAgICAgICAgcmV0dXJuIDQyOwogICAgfQp9
diff --git a/tests/baselines/reference/es3-sourcemap-amd.sourcemap.txt b/tests/baselines/reference/es3-sourcemap-amd.sourcemap.txt
deleted file mode 100644
index 584e432123140..0000000000000
--- a/tests/baselines/reference/es3-sourcemap-amd.sourcemap.txt
+++ /dev/null
@@ -1,111 +0,0 @@
-===================================================================
-JsFile: es3-sourcemap-amd.js
-mapUrl: es3-sourcemap-amd.js.map
-sourceRoot:
-sources: es3-sourcemap-amd.ts
-===================================================================
--------------------------------------------------------------------
-emittedFile:es3-sourcemap-amd.js
-sourceFile:es3-sourcemap-amd.ts
--------------------------------------------------------------------
->>>var A = /** @class */ (function () {
-1 >
-2 >^^^^^^^^^^^^^^^^^^^->
-1 >
-1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
----
->>> function A() {
-1->^^^^
-2 > ^^->
-1->class A
- >{
- >
-1->Emitted(2, 5) Source(3, 5) + SourceIndex(0)
----
->>> }
-1->^^^^
-2 > ^
-3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-1->constructor ()
- > {
- >
- >
-2 > }
-1->Emitted(3, 5) Source(6, 5) + SourceIndex(0)
-2 >Emitted(3, 6) Source(6, 6) + SourceIndex(0)
----
->>> A.prototype.B = function () {
-1->^^^^
-2 > ^^^^^^^^^^^^^
-3 > ^^^
-1->
- >
- > public
-2 > B
-3 >
-1->Emitted(4, 5) Source(8, 12) + SourceIndex(0)
-2 >Emitted(4, 18) Source(8, 13) + SourceIndex(0)
-3 >Emitted(4, 21) Source(8, 5) + SourceIndex(0)
----
->>> return 42;
-1 >^^^^^^^^
-2 > ^^^^^^^
-3 > ^^
-4 > ^
-1 >public B()
- > {
- >
-2 > return
-3 > 42
-4 > ;
-1 >Emitted(5, 9) Source(10, 9) + SourceIndex(0)
-2 >Emitted(5, 16) Source(10, 16) + SourceIndex(0)
-3 >Emitted(5, 18) Source(10, 18) + SourceIndex(0)
-4 >Emitted(5, 19) Source(10, 19) + SourceIndex(0)
----
->>> };
-1 >^^^^
-2 > ^
-3 > ^^^^^^^^^->
-1 >
- >
-2 > }
-1 >Emitted(6, 5) Source(11, 5) + SourceIndex(0)
-2 >Emitted(6, 6) Source(11, 6) + SourceIndex(0)
----
->>> return A;
-1->^^^^
-2 > ^^^^^^^^
-1->
- >
-2 > }
-1->Emitted(7, 5) Source(12, 1) + SourceIndex(0)
-2 >Emitted(7, 13) Source(12, 2) + SourceIndex(0)
----
->>>}());
-1 >
-2 >^
-3 >
-4 > ^^^^
-5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
-1 >
-2 >}
-3 >
-4 > class A
- > {
- > constructor ()
- > {
- >
- > }
- >
- > public B()
- > {
- > return 42;
- > }
- > }
-1 >Emitted(8, 1) Source(12, 1) + SourceIndex(0)
-2 >Emitted(8, 2) Source(12, 2) + SourceIndex(0)
-3 >Emitted(8, 2) Source(1, 1) + SourceIndex(0)
-4 >Emitted(8, 6) Source(12, 2) + SourceIndex(0)
----
->>>//# sourceMappingURL=es3-sourcemap-amd.js.map
\ No newline at end of file
diff --git a/tests/baselines/reference/es3-sourcemap-amd.symbols b/tests/baselines/reference/es3-sourcemap-amd.symbols
deleted file mode 100644
index b4f5bf14cc85f..0000000000000
--- a/tests/baselines/reference/es3-sourcemap-amd.symbols
+++ /dev/null
@@ -1,17 +0,0 @@
-//// [tests/cases/compiler/es3-sourcemap-amd.ts] ////
-
-=== es3-sourcemap-amd.ts ===
-class A
->A : Symbol(A, Decl(es3-sourcemap-amd.ts, 0, 0))
-{
- constructor ()
- {
-
- }
-
- public B()
->B : Symbol(A.B, Decl(es3-sourcemap-amd.ts, 5, 5))
- {
- return 42;
- }
-}
diff --git a/tests/baselines/reference/es3-sourcemap-amd.types b/tests/baselines/reference/es3-sourcemap-amd.types
deleted file mode 100644
index 775d9b8575861..0000000000000
--- a/tests/baselines/reference/es3-sourcemap-amd.types
+++ /dev/null
@@ -1,18 +0,0 @@
-//// [tests/cases/compiler/es3-sourcemap-amd.ts] ////
-
-=== es3-sourcemap-amd.ts ===
-class A
->A : A
-{
- constructor ()
- {
-
- }
-
- public B()
->B : () => number
- {
- return 42;
->42 : 42
- }
-}
diff --git a/tests/baselines/reference/es3defaultAliasIsQuoted.errors.txt b/tests/baselines/reference/es3defaultAliasIsQuoted.errors.txt
deleted file mode 100644
index c60a205e98dfa..0000000000000
--- a/tests/baselines/reference/es3defaultAliasIsQuoted.errors.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== es3defaultAliasQuoted_file0.ts (0 errors) ====
- export class Foo {
- static CONSTANT = "Foo";
- }
-
- export default function assert(value: boolean) {
- if (!value) throw new Error("Assertion failed!");
- }
-
-==== es3defaultAliasQuoted_file1.ts (0 errors) ====
- import {Foo, default as assert} from "./es3defaultAliasQuoted_file0";
- assert(Foo.CONSTANT === "Foo");
\ No newline at end of file
diff --git a/tests/baselines/reference/es3defaultAliasIsQuoted.js b/tests/baselines/reference/es3defaultAliasIsQuoted.js
deleted file mode 100644
index f1838019c0828..0000000000000
--- a/tests/baselines/reference/es3defaultAliasIsQuoted.js
+++ /dev/null
@@ -1,36 +0,0 @@
-//// [tests/cases/compiler/es3defaultAliasIsQuoted.ts] ////
-
-//// [es3defaultAliasQuoted_file0.ts]
-export class Foo {
- static CONSTANT = "Foo";
-}
-
-export default function assert(value: boolean) {
- if (!value) throw new Error("Assertion failed!");
-}
-
-//// [es3defaultAliasQuoted_file1.ts]
-import {Foo, default as assert} from "./es3defaultAliasQuoted_file0";
-assert(Foo.CONSTANT === "Foo");
-
-//// [es3defaultAliasQuoted_file0.js]
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.Foo = void 0;
-var Foo = /** @class */ (function () {
- function Foo() {
- }
- Foo.CONSTANT = "Foo";
- return Foo;
-}());
-exports.Foo = Foo;
-function assert(value) {
- if (!value)
- throw new Error("Assertion failed!");
-}
-exports.default = assert;
-//// [es3defaultAliasQuoted_file1.js]
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-var es3defaultAliasQuoted_file0_1 = require("./es3defaultAliasQuoted_file0");
-(0, es3defaultAliasQuoted_file0_1.default)(es3defaultAliasQuoted_file0_1.Foo.CONSTANT === "Foo");
diff --git a/tests/baselines/reference/es3defaultAliasIsQuoted.symbols b/tests/baselines/reference/es3defaultAliasIsQuoted.symbols
deleted file mode 100644
index 8ff039302dde5..0000000000000
--- a/tests/baselines/reference/es3defaultAliasIsQuoted.symbols
+++ /dev/null
@@ -1,31 +0,0 @@
-//// [tests/cases/compiler/es3defaultAliasIsQuoted.ts] ////
-
-=== es3defaultAliasQuoted_file0.ts ===
-export class Foo {
->Foo : Symbol(Foo, Decl(es3defaultAliasQuoted_file0.ts, 0, 0))
-
- static CONSTANT = "Foo";
->CONSTANT : Symbol(Foo.CONSTANT, Decl(es3defaultAliasQuoted_file0.ts, 0, 18))
-}
-
-export default function assert(value: boolean) {
->assert : Symbol(assert, Decl(es3defaultAliasQuoted_file0.ts, 2, 1))
->value : Symbol(value, Decl(es3defaultAliasQuoted_file0.ts, 4, 31))
-
- if (!value) throw new Error("Assertion failed!");
->value : Symbol(value, Decl(es3defaultAliasQuoted_file0.ts, 4, 31))
->Error : Symbol(Error, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
-}
-
-=== es3defaultAliasQuoted_file1.ts ===
-import {Foo, default as assert} from "./es3defaultAliasQuoted_file0";
->Foo : Symbol(Foo, Decl(es3defaultAliasQuoted_file1.ts, 0, 8))
->default : Symbol(assert, Decl(es3defaultAliasQuoted_file0.ts, 2, 1))
->assert : Symbol(assert, Decl(es3defaultAliasQuoted_file1.ts, 0, 12))
-
-assert(Foo.CONSTANT === "Foo");
->assert : Symbol(assert, Decl(es3defaultAliasQuoted_file1.ts, 0, 12))
->Foo.CONSTANT : Symbol(Foo.CONSTANT, Decl(es3defaultAliasQuoted_file0.ts, 0, 18))
->Foo : Symbol(Foo, Decl(es3defaultAliasQuoted_file1.ts, 0, 8))
->CONSTANT : Symbol(Foo.CONSTANT, Decl(es3defaultAliasQuoted_file0.ts, 0, 18))
-
diff --git a/tests/baselines/reference/es3defaultAliasIsQuoted.types b/tests/baselines/reference/es3defaultAliasIsQuoted.types
deleted file mode 100644
index f9df8665b1192..0000000000000
--- a/tests/baselines/reference/es3defaultAliasIsQuoted.types
+++ /dev/null
@@ -1,38 +0,0 @@
-//// [tests/cases/compiler/es3defaultAliasIsQuoted.ts] ////
-
-=== es3defaultAliasQuoted_file0.ts ===
-export class Foo {
->Foo : Foo
-
- static CONSTANT = "Foo";
->CONSTANT : string
->"Foo" : "Foo"
-}
-
-export default function assert(value: boolean) {
->assert : (value: boolean) => void
->value : boolean
-
- if (!value) throw new Error("Assertion failed!");
->!value : boolean
->value : boolean
->new Error("Assertion failed!") : Error
->Error : ErrorConstructor
->"Assertion failed!" : "Assertion failed!"
-}
-
-=== es3defaultAliasQuoted_file1.ts ===
-import {Foo, default as assert} from "./es3defaultAliasQuoted_file0";
->Foo : typeof Foo
->default : (value: boolean) => void
->assert : (value: boolean) => void
-
-assert(Foo.CONSTANT === "Foo");
->assert(Foo.CONSTANT === "Foo") : void
->assert : (value: boolean) => void
->Foo.CONSTANT === "Foo" : boolean
->Foo.CONSTANT : string
->Foo : typeof Foo
->CONSTANT : string
->"Foo" : "Foo"
-
diff --git a/tests/baselines/reference/esModuleInteropWithExportStar(target=es3).errors.txt b/tests/baselines/reference/esModuleInteropWithExportStar(target=es3).errors.txt
deleted file mode 100644
index 4a7c967633215..0000000000000
--- a/tests/baselines/reference/esModuleInteropWithExportStar(target=es3).errors.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== fs.d.ts (0 errors) ====
- export const x: number;
-==== mjts.ts (0 errors) ====
- import * as fs from "./fs";
-
- fs;
-
- export * from "./fs";
- export {x} from "./fs";
- export {x as y} from "./fs";
-
\ No newline at end of file
diff --git a/tests/baselines/reference/esModuleInteropWithExportStar(target=es5).js b/tests/baselines/reference/esModuleInteropWithExportStar(target=es5).js
deleted file mode 100644
index b52b84ecbf484..0000000000000
--- a/tests/baselines/reference/esModuleInteropWithExportStar(target=es5).js
+++ /dev/null
@@ -1,51 +0,0 @@
-//// [tests/cases/compiler/esModuleInteropWithExportStar.ts] ////
-
-//// [fs.d.ts]
-export const x: number;
-//// [mjts.ts]
-import * as fs from "./fs";
-
-fs;
-
-export * from "./fs";
-export {x} from "./fs";
-export {x as y} from "./fs";
-
-
-//// [mjts.js]
-"use strict";
-var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
- if (k2 === undefined) k2 = k;
- var desc = Object.getOwnPropertyDescriptor(m, k);
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
- desc = { enumerable: true, get: function() { return m[k]; } };
- }
- Object.defineProperty(o, k2, desc);
-}) : (function(o, m, k, k2) {
- if (k2 === undefined) k2 = k;
- o[k2] = m[k];
-}));
-var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
- Object.defineProperty(o, "default", { enumerable: true, value: v });
-}) : function(o, v) {
- o["default"] = v;
-});
-var __importStar = (this && this.__importStar) || function (mod) {
- if (mod && mod.__esModule) return mod;
- var result = {};
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
- __setModuleDefault(result, mod);
- return result;
-};
-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);
-};
-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");
-Object.defineProperty(exports, "x", { enumerable: true, get: function () { return fs_1.x; } });
-var fs_2 = require("./fs");
-Object.defineProperty(exports, "y", { enumerable: true, get: function () { return fs_2.x; } });
diff --git a/tests/baselines/reference/esModuleInteropWithExportStar(target=es5).symbols b/tests/baselines/reference/esModuleInteropWithExportStar(target=es5).symbols
deleted file mode 100644
index 5a534253e0d05..0000000000000
--- a/tests/baselines/reference/esModuleInteropWithExportStar(target=es5).symbols
+++ /dev/null
@@ -1,21 +0,0 @@
-//// [tests/cases/compiler/esModuleInteropWithExportStar.ts] ////
-
-=== fs.d.ts ===
-export const x: number;
->x : Symbol(x, Decl(fs.d.ts, 0, 12))
-
-=== mjts.ts ===
-import * as fs from "./fs";
->fs : Symbol(fs, Decl(mjts.ts, 0, 6))
-
-fs;
->fs : Symbol(fs, Decl(mjts.ts, 0, 6))
-
-export * from "./fs";
-export {x} from "./fs";
->x : Symbol(x, Decl(mjts.ts, 5, 8))
-
-export {x as y} from "./fs";
->x : Symbol(fs.x, Decl(fs.d.ts, 0, 12))
->y : Symbol(y, Decl(mjts.ts, 6, 8))
-
diff --git a/tests/baselines/reference/esModuleInteropWithExportStar(target=es5).types b/tests/baselines/reference/esModuleInteropWithExportStar(target=es5).types
deleted file mode 100644
index 56d5de8a12294..0000000000000
--- a/tests/baselines/reference/esModuleInteropWithExportStar(target=es5).types
+++ /dev/null
@@ -1,21 +0,0 @@
-//// [tests/cases/compiler/esModuleInteropWithExportStar.ts] ////
-
-=== fs.d.ts ===
-export const x: number;
->x : number
-
-=== mjts.ts ===
-import * as fs from "./fs";
->fs : typeof fs
-
-fs;
->fs : typeof fs
-
-export * from "./fs";
-export {x} from "./fs";
->x : number
-
-export {x as y} from "./fs";
->x : number
->y : number
-
diff --git a/tests/baselines/reference/esModuleInteropWithExportStar(target=es3).js b/tests/baselines/reference/esModuleInteropWithExportStar.js
similarity index 100%
rename from tests/baselines/reference/esModuleInteropWithExportStar(target=es3).js
rename to tests/baselines/reference/esModuleInteropWithExportStar.js
diff --git a/tests/baselines/reference/esModuleInteropWithExportStar(target=es3).symbols b/tests/baselines/reference/esModuleInteropWithExportStar.symbols
similarity index 100%
rename from tests/baselines/reference/esModuleInteropWithExportStar(target=es3).symbols
rename to tests/baselines/reference/esModuleInteropWithExportStar.symbols
diff --git a/tests/baselines/reference/esModuleInteropWithExportStar(target=es3).types b/tests/baselines/reference/esModuleInteropWithExportStar.types
similarity index 100%
rename from tests/baselines/reference/esModuleInteropWithExportStar(target=es3).types
rename to tests/baselines/reference/esModuleInteropWithExportStar.types
diff --git a/tests/baselines/reference/exportAndImport-es3-amd.errors.txt b/tests/baselines/reference/exportAndImport-es3-amd.errors.txt
deleted file mode 100644
index 70276ce9bf00b..0000000000000
--- a/tests/baselines/reference/exportAndImport-es3-amd.errors.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== m1.ts (0 errors) ====
- export default function f1() {
- }
-
-==== m2.ts (0 errors) ====
- import f1 from "./m1";
- export default function f2() {
- f1();
- }
-
\ No newline at end of file
diff --git a/tests/baselines/reference/exportAndImport-es3-amd.js b/tests/baselines/reference/exportAndImport-es3-amd.js
deleted file mode 100644
index 1212ac9620696..0000000000000
--- a/tests/baselines/reference/exportAndImport-es3-amd.js
+++ /dev/null
@@ -1,30 +0,0 @@
-//// [tests/cases/conformance/es6/modules/exportAndImport-es3-amd.ts] ////
-
-//// [m1.ts]
-export default function f1() {
-}
-
-//// [m2.ts]
-import f1 from "./m1";
-export default function f2() {
- f1();
-}
-
-
-//// [m1.js]
-define(["require", "exports"], function (require, exports) {
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- function f1() {
- }
- exports.default = f1;
-});
-//// [m2.js]
-define(["require", "exports", "./m1"], function (require, exports, m1_1) {
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- function f2() {
- (0, m1_1.default)();
- }
- exports.default = f2;
-});
diff --git a/tests/baselines/reference/exportAndImport-es3-amd.symbols b/tests/baselines/reference/exportAndImport-es3-amd.symbols
deleted file mode 100644
index 6a9d501b6a8c9..0000000000000
--- a/tests/baselines/reference/exportAndImport-es3-amd.symbols
+++ /dev/null
@@ -1,18 +0,0 @@
-//// [tests/cases/conformance/es6/modules/exportAndImport-es3-amd.ts] ////
-
-=== m1.ts ===
-export default function f1() {
->f1 : Symbol(f1, Decl(m1.ts, 0, 0))
-}
-
-=== m2.ts ===
-import f1 from "./m1";
->f1 : Symbol(f1, Decl(m2.ts, 0, 6))
-
-export default function f2() {
->f2 : Symbol(f2, Decl(m2.ts, 0, 22))
-
- f1();
->f1 : Symbol(f1, Decl(m2.ts, 0, 6))
-}
-
diff --git a/tests/baselines/reference/exportAndImport-es3-amd.types b/tests/baselines/reference/exportAndImport-es3-amd.types
deleted file mode 100644
index ada3955e87d3f..0000000000000
--- a/tests/baselines/reference/exportAndImport-es3-amd.types
+++ /dev/null
@@ -1,19 +0,0 @@
-//// [tests/cases/conformance/es6/modules/exportAndImport-es3-amd.ts] ////
-
-=== m1.ts ===
-export default function f1() {
->f1 : () => void
-}
-
-=== m2.ts ===
-import f1 from "./m1";
->f1 : () => void
-
-export default function f2() {
->f2 : () => void
-
- f1();
->f1() : void
->f1 : () => void
-}
-
diff --git a/tests/baselines/reference/exportAndImport-es3.errors.txt b/tests/baselines/reference/exportAndImport-es3.errors.txt
deleted file mode 100644
index 7d95115a64b50..0000000000000
--- a/tests/baselines/reference/exportAndImport-es3.errors.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== m1.ts (0 errors) ====
- export default function f1() {
- }
-
-==== m2.ts (0 errors) ====
- import f1 from "./m1";
- export default function f2() {
- f1();
- }
-
\ No newline at end of file
diff --git a/tests/baselines/reference/exportAndImport-es3.js b/tests/baselines/reference/exportAndImport-es3.js
deleted file mode 100644
index 23b48424e2901..0000000000000
--- a/tests/baselines/reference/exportAndImport-es3.js
+++ /dev/null
@@ -1,27 +0,0 @@
-//// [tests/cases/conformance/es6/modules/exportAndImport-es3.ts] ////
-
-//// [m1.ts]
-export default function f1() {
-}
-
-//// [m2.ts]
-import f1 from "./m1";
-export default function f2() {
- f1();
-}
-
-
-//// [m1.js]
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-function f1() {
-}
-exports.default = f1;
-//// [m2.js]
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-var m1_1 = require("./m1");
-function f2() {
- (0, m1_1.default)();
-}
-exports.default = f2;
diff --git a/tests/baselines/reference/exportAndImport-es3.symbols b/tests/baselines/reference/exportAndImport-es3.symbols
deleted file mode 100644
index ca2cddd3bfa1e..0000000000000
--- a/tests/baselines/reference/exportAndImport-es3.symbols
+++ /dev/null
@@ -1,18 +0,0 @@
-//// [tests/cases/conformance/es6/modules/exportAndImport-es3.ts] ////
-
-=== m1.ts ===
-export default function f1() {
->f1 : Symbol(f1, Decl(m1.ts, 0, 0))
-}
-
-=== m2.ts ===
-import f1 from "./m1";
->f1 : Symbol(f1, Decl(m2.ts, 0, 6))
-
-export default function f2() {
->f2 : Symbol(f2, Decl(m2.ts, 0, 22))
-
- f1();
->f1 : Symbol(f1, Decl(m2.ts, 0, 6))
-}
-
diff --git a/tests/baselines/reference/exportAndImport-es3.types b/tests/baselines/reference/exportAndImport-es3.types
deleted file mode 100644
index d04a585e387e6..0000000000000
--- a/tests/baselines/reference/exportAndImport-es3.types
+++ /dev/null
@@ -1,19 +0,0 @@
-//// [tests/cases/conformance/es6/modules/exportAndImport-es3.ts] ////
-
-=== m1.ts ===
-export default function f1() {
->f1 : () => void
-}
-
-=== m2.ts ===
-import f1 from "./m1";
->f1 : () => void
-
-export default function f2() {
->f2 : () => void
-
- f1();
->f1() : void
->f1 : () => void
-}
-
diff --git a/tests/baselines/reference/exportDefaultInJsFile01.errors.txt b/tests/baselines/reference/exportDefaultInJsFile01.errors.txt
index 705b47e7ebce7..18c2af26645cd 100644
--- a/tests/baselines/reference/exportDefaultInJsFile01.errors.txt
+++ b/tests/baselines/reference/exportDefaultInJsFile01.errors.txt
@@ -1,10 +1,8 @@
error TS5055: Cannot write file 'myFile01.js' because it would overwrite input file.
Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig.
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
!!! error TS5055: Cannot write file 'myFile01.js' because it would overwrite input file.
!!! error TS5055: Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig.
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
==== myFile01.js (0 errors) ====
export default "hello";
\ No newline at end of file
diff --git a/tests/baselines/reference/exportsAndImportsWithUnderscores1.errors.txt b/tests/baselines/reference/exportsAndImportsWithUnderscores1.errors.txt
index 54a22817f3971..7d9f0936433d6 100644
--- a/tests/baselines/reference/exportsAndImportsWithUnderscores1.errors.txt
+++ b/tests/baselines/reference/exportsAndImportsWithUnderscores1.errors.txt
@@ -1,8 +1,6 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
m1.ts(5,5): error TS1005: ',' expected.
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
==== m1.ts (1 errors) ====
var R: any
export default R = {
diff --git a/tests/baselines/reference/exportsAndImportsWithUnderscores2.errors.txt b/tests/baselines/reference/exportsAndImportsWithUnderscores2.errors.txt
deleted file mode 100644
index 426e4d8e07090..0000000000000
--- a/tests/baselines/reference/exportsAndImportsWithUnderscores2.errors.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== m1.ts (0 errors) ====
- var R: any
- export default R = {
- "__esmodule": true,
- "__proto__": {}
- }
-
-==== m2.ts (0 errors) ====
- import R from "./m1";
- const { __esmodule, __proto__ } = R;
-
\ No newline at end of file
diff --git a/tests/baselines/reference/exportsAndImportsWithUnderscores3.errors.txt b/tests/baselines/reference/exportsAndImportsWithUnderscores3.errors.txt
deleted file mode 100644
index d9ac761a75c2d..0000000000000
--- a/tests/baselines/reference/exportsAndImportsWithUnderscores3.errors.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== m1.ts (0 errors) ====
- var R: any
- export default R = {
- "___": 30,
- "___hello": 21,
- "_hi": 40,
- }
-
-==== m2.ts (0 errors) ====
- import R from "./m1";
- const { ___, ___hello, _hi } = R;
-
\ No newline at end of file
diff --git a/tests/baselines/reference/exportsAndImportsWithUnderscores4.errors.txt b/tests/baselines/reference/exportsAndImportsWithUnderscores4.errors.txt
deleted file mode 100644
index c0976cf24be38..0000000000000
--- a/tests/baselines/reference/exportsAndImportsWithUnderscores4.errors.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== m1.ts (0 errors) ====
- declare var console: any;
- export function _() {
- console.log("_");
- }
- export function __() {
- console.log("__");
- }
- export function ___() {
- console.log("___");
- }
- export function _hi() {
- console.log("_hi");
- }
- export function __proto() {
- console.log("__proto");
- }
- export function __esmodule() {
- console.log("__esmodule");
- }
- export function ___hello(){
- console.log("___hello");
- }
-
-==== m2.ts (0 errors) ====
- import {_, __, ___hello, __esmodule, __proto, _hi} from "./m1";
- _();
- __();
- ___hello();
- __esmodule();
- __proto();
- _hi();
\ No newline at end of file
diff --git a/tests/baselines/reference/importCallExpressionAsyncES3AMD.errors.txt b/tests/baselines/reference/importCallExpressionAsyncES3AMD.errors.txt
deleted file mode 100644
index f22f6de7ae1db..0000000000000
--- a/tests/baselines/reference/importCallExpressionAsyncES3AMD.errors.txt
+++ /dev/null
@@ -1,33 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== test.ts (0 errors) ====
- export async function fn() {
- const req = await import('./test') // ONE
- }
-
- export class cl1 {
- public async m() {
- const req = await import('./test') // TWO
- }
- }
-
- export const obj = {
- m: async () => {
- const req = await import('./test') // THREE
- }
- }
-
- export class cl2 {
- public p = {
- m: async () => {
- const req = await import('./test') // FOUR
- }
- }
- }
-
- export const l = async () => {
- const req = await import('./test') // FIVE
- }
-
\ No newline at end of file
diff --git a/tests/baselines/reference/importCallExpressionAsyncES3AMD.js b/tests/baselines/reference/importCallExpressionAsyncES3AMD.js
deleted file mode 100644
index 5254ea6664e47..0000000000000
--- a/tests/baselines/reference/importCallExpressionAsyncES3AMD.js
+++ /dev/null
@@ -1,157 +0,0 @@
-//// [tests/cases/conformance/dynamicImport/importCallExpressionAsyncES3AMD.ts] ////
-
-//// [test.ts]
-export async function fn() {
- const req = await import('./test') // ONE
-}
-
-export class cl1 {
- public async m() {
- const req = await import('./test') // TWO
- }
-}
-
-export const obj = {
- m: async () => {
- const req = await import('./test') // THREE
- }
-}
-
-export class cl2 {
- public p = {
- m: async () => {
- const req = await import('./test') // FOUR
- }
- }
-}
-
-export const l = async () => {
- const req = await import('./test') // FIVE
-}
-
-
-//// [test.js]
-var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
- return new (P || (P = Promise))(function (resolve, reject) {
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
-};
-var __generator = (this && this.__generator) || function (thisArg, body) {
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
- function verb(n) { return function (v) { return step([n, v]); }; }
- function step(op) {
- if (f) throw new TypeError("Generator is already executing.");
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
- if (y = 0, t) op = [op[0] & 2, t.value];
- switch (op[0]) {
- case 0: case 1: t = op; break;
- case 4: _.label++; return { value: op[1], done: false };
- case 5: _.label++; y = op[1]; op = [0]; continue;
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
- default:
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
- if (t[2]) _.ops.pop();
- _.trys.pop(); continue;
- }
- op = body.call(thisArg, _);
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
- }
-};
-define(["require", "exports"], function (require, exports) {
- "use strict";
- 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 () {
- var req;
- return __generator(this, function (_a) {
- switch (_a.label) {
- case 0: return [4 /*yield*/, new Promise(function (resolve_1, reject_1) { require(['./test'], resolve_1, reject_1); })]; // ONE
- case 1:
- req = _a.sent() // ONE
- ;
- return [2 /*return*/];
- }
- });
- });
- }
- exports.fn = fn;
- var cl1 = /** @class */ (function () {
- function cl1() {
- }
- cl1.prototype.m = function () {
- return __awaiter(this, void 0, void 0, function () {
- var req;
- return __generator(this, function (_a) {
- switch (_a.label) {
- case 0: return [4 /*yield*/, new Promise(function (resolve_2, reject_2) { require(['./test'], resolve_2, reject_2); })]; // TWO
- case 1:
- req = _a.sent() // TWO
- ;
- return [2 /*return*/];
- }
- });
- });
- };
- return cl1;
- }());
- exports.cl1 = cl1;
- exports.obj = {
- m: function () { return __awaiter(void 0, void 0, void 0, function () {
- var req;
- return __generator(this, function (_a) {
- switch (_a.label) {
- case 0: return [4 /*yield*/, new Promise(function (resolve_3, reject_3) { require(['./test'], resolve_3, reject_3); })]; // THREE
- case 1:
- req = _a.sent() // THREE
- ;
- return [2 /*return*/];
- }
- });
- }); }
- };
- var cl2 = /** @class */ (function () {
- function cl2() {
- var _this = this;
- this.p = {
- m: function () { return __awaiter(_this, void 0, void 0, function () {
- var req;
- return __generator(this, function (_a) {
- switch (_a.label) {
- case 0: return [4 /*yield*/, new Promise(function (resolve_4, reject_4) { require(['./test'], resolve_4, reject_4); })]; // FOUR
- case 1:
- req = _a.sent() // FOUR
- ;
- return [2 /*return*/];
- }
- });
- }); }
- };
- }
- return cl2;
- }());
- exports.cl2 = cl2;
- var l = function () { return __awaiter(void 0, void 0, void 0, function () {
- var req;
- return __generator(this, function (_a) {
- switch (_a.label) {
- case 0: return [4 /*yield*/, new Promise(function (resolve_5, reject_5) { require(['./test'], resolve_5, reject_5); })]; // FIVE
- case 1:
- req = _a.sent() // FIVE
- ;
- return [2 /*return*/];
- }
- });
- }); };
- exports.l = l;
-});
diff --git a/tests/baselines/reference/importCallExpressionAsyncES3AMD.symbols b/tests/baselines/reference/importCallExpressionAsyncES3AMD.symbols
deleted file mode 100644
index d45a4a3275e71..0000000000000
--- a/tests/baselines/reference/importCallExpressionAsyncES3AMD.symbols
+++ /dev/null
@@ -1,59 +0,0 @@
-//// [tests/cases/conformance/dynamicImport/importCallExpressionAsyncES3AMD.ts] ////
-
-=== test.ts ===
-export async function fn() {
->fn : Symbol(fn, Decl(test.ts, 0, 0))
-
- const req = await import('./test') // ONE
->req : Symbol(req, Decl(test.ts, 1, 9))
->'./test' : Symbol("test", Decl(test.ts, 0, 0))
-}
-
-export class cl1 {
->cl1 : Symbol(cl1, Decl(test.ts, 2, 1))
-
- public async m() {
->m : Symbol(cl1.m, Decl(test.ts, 4, 18))
-
- const req = await import('./test') // TWO
->req : Symbol(req, Decl(test.ts, 6, 13))
->'./test' : Symbol("test", Decl(test.ts, 0, 0))
- }
-}
-
-export const obj = {
->obj : Symbol(obj, Decl(test.ts, 10, 12))
-
- m: async () => {
->m : Symbol(m, Decl(test.ts, 10, 20))
-
- const req = await import('./test') // THREE
->req : Symbol(req, Decl(test.ts, 12, 13))
->'./test' : Symbol("test", Decl(test.ts, 0, 0))
- }
-}
-
-export class cl2 {
->cl2 : Symbol(cl2, Decl(test.ts, 14, 1))
-
- public p = {
->p : Symbol(cl2.p, Decl(test.ts, 16, 18))
-
- m: async () => {
->m : Symbol(m, Decl(test.ts, 17, 16))
-
- const req = await import('./test') // FOUR
->req : Symbol(req, Decl(test.ts, 19, 17))
->'./test' : Symbol("test", Decl(test.ts, 0, 0))
- }
- }
-}
-
-export const l = async () => {
->l : Symbol(l, Decl(test.ts, 24, 12))
-
- const req = await import('./test') // FIVE
->req : Symbol(req, Decl(test.ts, 25, 9))
->'./test' : Symbol("test", Decl(test.ts, 0, 0))
-}
-
diff --git a/tests/baselines/reference/importCallExpressionAsyncES3AMD.types b/tests/baselines/reference/importCallExpressionAsyncES3AMD.types
deleted file mode 100644
index f0e0ae93c3d8c..0000000000000
--- a/tests/baselines/reference/importCallExpressionAsyncES3AMD.types
+++ /dev/null
@@ -1,74 +0,0 @@
-//// [tests/cases/conformance/dynamicImport/importCallExpressionAsyncES3AMD.ts] ////
-
-=== test.ts ===
-export async function fn() {
->fn : () => Promise
-
- const req = await import('./test') // ONE
->req : typeof import("test")
->await import('./test') : typeof import("test")
->import('./test') : Promise
->'./test' : "./test"
-}
-
-export class cl1 {
->cl1 : cl1
-
- public async m() {
->m : () => Promise
-
- const req = await import('./test') // TWO
->req : typeof import("test")
->await import('./test') : typeof import("test")
->import('./test') : Promise
->'./test' : "./test"
- }
-}
-
-export const obj = {
->obj : { m: () => Promise; }
->{ m: async () => { const req = await import('./test') // THREE }} : { m: () => Promise; }
-
- m: async () => {
->m : () => Promise
->async () => { const req = await import('./test') // THREE } : () => Promise
-
- const req = await import('./test') // THREE
->req : typeof import("test")
->await import('./test') : typeof import("test")
->import('./test') : Promise
->'./test' : "./test"
- }
-}
-
-export class cl2 {
->cl2 : cl2
-
- public p = {
->p : { m: () => Promise; }
->{ m: async () => { const req = await import('./test') // FOUR } } : { m: () => Promise; }
-
- m: async () => {
->m : () => Promise
->async () => { const req = await import('./test') // FOUR } : () => Promise
-
- const req = await import('./test') // FOUR
->req : typeof import("test")
->await import('./test') : typeof import("test")
->import('./test') : Promise
->'./test' : "./test"
- }
- }
-}
-
-export const l = async () => {
->l : () => Promise
->async () => { const req = await import('./test') // FIVE} : () => Promise
-
- const req = await import('./test') // FIVE
->req : typeof import("test")
->await import('./test') : typeof import("test")
->import('./test') : Promise
->'./test' : "./test"
-}
-
diff --git a/tests/baselines/reference/importCallExpressionAsyncES3CJS.errors.txt b/tests/baselines/reference/importCallExpressionAsyncES3CJS.errors.txt
deleted file mode 100644
index f22f6de7ae1db..0000000000000
--- a/tests/baselines/reference/importCallExpressionAsyncES3CJS.errors.txt
+++ /dev/null
@@ -1,33 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== test.ts (0 errors) ====
- export async function fn() {
- const req = await import('./test') // ONE
- }
-
- export class cl1 {
- public async m() {
- const req = await import('./test') // TWO
- }
- }
-
- export const obj = {
- m: async () => {
- const req = await import('./test') // THREE
- }
- }
-
- export class cl2 {
- public p = {
- m: async () => {
- const req = await import('./test') // FOUR
- }
- }
- }
-
- export const l = async () => {
- const req = await import('./test') // FIVE
- }
-
\ No newline at end of file
diff --git a/tests/baselines/reference/importCallExpressionAsyncES3CJS.js b/tests/baselines/reference/importCallExpressionAsyncES3CJS.js
deleted file mode 100644
index f8402af359959..0000000000000
--- a/tests/baselines/reference/importCallExpressionAsyncES3CJS.js
+++ /dev/null
@@ -1,155 +0,0 @@
-//// [tests/cases/conformance/dynamicImport/importCallExpressionAsyncES3CJS.ts] ////
-
-//// [test.ts]
-export async function fn() {
- const req = await import('./test') // ONE
-}
-
-export class cl1 {
- public async m() {
- const req = await import('./test') // TWO
- }
-}
-
-export const obj = {
- m: async () => {
- const req = await import('./test') // THREE
- }
-}
-
-export class cl2 {
- public p = {
- m: async () => {
- const req = await import('./test') // FOUR
- }
- }
-}
-
-export const l = async () => {
- const req = await import('./test') // FIVE
-}
-
-
-//// [test.js]
-"use strict";
-var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
- return new (P || (P = Promise))(function (resolve, reject) {
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
-};
-var __generator = (this && this.__generator) || function (thisArg, body) {
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
- function verb(n) { return function (v) { return step([n, v]); }; }
- function step(op) {
- if (f) throw new TypeError("Generator is already executing.");
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
- if (y = 0, t) op = [op[0] & 2, t.value];
- switch (op[0]) {
- case 0: case 1: t = op; break;
- case 4: _.label++; return { value: op[1], done: false };
- case 5: _.label++; y = op[1]; op = [0]; continue;
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
- default:
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
- if (t[2]) _.ops.pop();
- _.trys.pop(); continue;
- }
- op = body.call(thisArg, _);
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: 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 () {
- var req;
- return __generator(this, function (_a) {
- switch (_a.label) {
- case 0: return [4 /*yield*/, Promise.resolve().then(function () { return require('./test'); })]; // ONE
- case 1:
- req = _a.sent() // ONE
- ;
- return [2 /*return*/];
- }
- });
- });
-}
-exports.fn = fn;
-var cl1 = /** @class */ (function () {
- function cl1() {
- }
- cl1.prototype.m = function () {
- return __awaiter(this, void 0, void 0, function () {
- var req;
- return __generator(this, function (_a) {
- switch (_a.label) {
- case 0: return [4 /*yield*/, Promise.resolve().then(function () { return require('./test'); })]; // TWO
- case 1:
- req = _a.sent() // TWO
- ;
- return [2 /*return*/];
- }
- });
- });
- };
- return cl1;
-}());
-exports.cl1 = cl1;
-exports.obj = {
- m: function () { return __awaiter(void 0, void 0, void 0, function () {
- var req;
- return __generator(this, function (_a) {
- switch (_a.label) {
- case 0: return [4 /*yield*/, Promise.resolve().then(function () { return require('./test'); })]; // THREE
- case 1:
- req = _a.sent() // THREE
- ;
- return [2 /*return*/];
- }
- });
- }); }
-};
-var cl2 = /** @class */ (function () {
- function cl2() {
- var _this = this;
- this.p = {
- m: function () { return __awaiter(_this, void 0, void 0, function () {
- var req;
- return __generator(this, function (_a) {
- switch (_a.label) {
- case 0: return [4 /*yield*/, Promise.resolve().then(function () { return require('./test'); })]; // FOUR
- case 1:
- req = _a.sent() // FOUR
- ;
- return [2 /*return*/];
- }
- });
- }); }
- };
- }
- return cl2;
-}());
-exports.cl2 = cl2;
-var l = function () { return __awaiter(void 0, void 0, void 0, function () {
- var req;
- return __generator(this, function (_a) {
- switch (_a.label) {
- case 0: return [4 /*yield*/, Promise.resolve().then(function () { return require('./test'); })]; // FIVE
- case 1:
- req = _a.sent() // FIVE
- ;
- return [2 /*return*/];
- }
- });
-}); };
-exports.l = l;
diff --git a/tests/baselines/reference/importCallExpressionAsyncES3CJS.symbols b/tests/baselines/reference/importCallExpressionAsyncES3CJS.symbols
deleted file mode 100644
index adf3abd49dcfe..0000000000000
--- a/tests/baselines/reference/importCallExpressionAsyncES3CJS.symbols
+++ /dev/null
@@ -1,59 +0,0 @@
-//// [tests/cases/conformance/dynamicImport/importCallExpressionAsyncES3CJS.ts] ////
-
-=== test.ts ===
-export async function fn() {
->fn : Symbol(fn, Decl(test.ts, 0, 0))
-
- const req = await import('./test') // ONE
->req : Symbol(req, Decl(test.ts, 1, 9))
->'./test' : Symbol("test", Decl(test.ts, 0, 0))
-}
-
-export class cl1 {
->cl1 : Symbol(cl1, Decl(test.ts, 2, 1))
-
- public async m() {
->m : Symbol(cl1.m, Decl(test.ts, 4, 18))
-
- const req = await import('./test') // TWO
->req : Symbol(req, Decl(test.ts, 6, 13))
->'./test' : Symbol("test", Decl(test.ts, 0, 0))
- }
-}
-
-export const obj = {
->obj : Symbol(obj, Decl(test.ts, 10, 12))
-
- m: async () => {
->m : Symbol(m, Decl(test.ts, 10, 20))
-
- const req = await import('./test') // THREE
->req : Symbol(req, Decl(test.ts, 12, 13))
->'./test' : Symbol("test", Decl(test.ts, 0, 0))
- }
-}
-
-export class cl2 {
->cl2 : Symbol(cl2, Decl(test.ts, 14, 1))
-
- public p = {
->p : Symbol(cl2.p, Decl(test.ts, 16, 18))
-
- m: async () => {
->m : Symbol(m, Decl(test.ts, 17, 16))
-
- const req = await import('./test') // FOUR
->req : Symbol(req, Decl(test.ts, 19, 17))
->'./test' : Symbol("test", Decl(test.ts, 0, 0))
- }
- }
-}
-
-export const l = async () => {
->l : Symbol(l, Decl(test.ts, 24, 12))
-
- const req = await import('./test') // FIVE
->req : Symbol(req, Decl(test.ts, 25, 9))
->'./test' : Symbol("test", Decl(test.ts, 0, 0))
-}
-
diff --git a/tests/baselines/reference/importCallExpressionAsyncES3CJS.types b/tests/baselines/reference/importCallExpressionAsyncES3CJS.types
deleted file mode 100644
index c23d91a4f6d25..0000000000000
--- a/tests/baselines/reference/importCallExpressionAsyncES3CJS.types
+++ /dev/null
@@ -1,74 +0,0 @@
-//// [tests/cases/conformance/dynamicImport/importCallExpressionAsyncES3CJS.ts] ////
-
-=== test.ts ===
-export async function fn() {
->fn : () => Promise
-
- const req = await import('./test') // ONE
->req : typeof import("test")
->await import('./test') : typeof import("test")
->import('./test') : Promise
->'./test' : "./test"
-}
-
-export class cl1 {
->cl1 : cl1
-
- public async m() {
->m : () => Promise
-
- const req = await import('./test') // TWO
->req : typeof import("test")
->await import('./test') : typeof import("test")
->import('./test') : Promise
->'./test' : "./test"
- }
-}
-
-export const obj = {
->obj : { m: () => Promise; }
->{ m: async () => { const req = await import('./test') // THREE }} : { m: () => Promise; }
-
- m: async () => {
->m : () => Promise
->async () => { const req = await import('./test') // THREE } : () => Promise
-
- const req = await import('./test') // THREE
->req : typeof import("test")
->await import('./test') : typeof import("test")
->import('./test') : Promise
->'./test' : "./test"
- }
-}
-
-export class cl2 {
->cl2 : cl2
-
- public p = {
->p : { m: () => Promise; }
->{ m: async () => { const req = await import('./test') // FOUR } } : { m: () => Promise; }
-
- m: async () => {
->m : () => Promise
->async () => { const req = await import('./test') // FOUR } : () => Promise
-
- const req = await import('./test') // FOUR
->req : typeof import("test")
->await import('./test') : typeof import("test")
->import('./test') : Promise
->'./test' : "./test"
- }
- }
-}
-
-export const l = async () => {
->l : () => Promise
->async () => { const req = await import('./test') // FIVE} : () => Promise
-
- const req = await import('./test') // FIVE
->req : typeof import("test")
->await import('./test') : typeof import("test")
->import('./test') : Promise
->'./test' : "./test"
-}
-
diff --git a/tests/baselines/reference/importCallExpressionAsyncES3System.errors.txt b/tests/baselines/reference/importCallExpressionAsyncES3System.errors.txt
deleted file mode 100644
index f22f6de7ae1db..0000000000000
--- a/tests/baselines/reference/importCallExpressionAsyncES3System.errors.txt
+++ /dev/null
@@ -1,33 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== test.ts (0 errors) ====
- export async function fn() {
- const req = await import('./test') // ONE
- }
-
- export class cl1 {
- public async m() {
- const req = await import('./test') // TWO
- }
- }
-
- export const obj = {
- m: async () => {
- const req = await import('./test') // THREE
- }
- }
-
- export class cl2 {
- public p = {
- m: async () => {
- const req = await import('./test') // FOUR
- }
- }
- }
-
- export const l = async () => {
- const req = await import('./test') // FIVE
- }
-
\ No newline at end of file
diff --git a/tests/baselines/reference/importCallExpressionAsyncES3System.js b/tests/baselines/reference/importCallExpressionAsyncES3System.js
deleted file mode 100644
index abf98ebfb1422..0000000000000
--- a/tests/baselines/reference/importCallExpressionAsyncES3System.js
+++ /dev/null
@@ -1,161 +0,0 @@
-//// [tests/cases/conformance/dynamicImport/importCallExpressionAsyncES3System.ts] ////
-
-//// [test.ts]
-export async function fn() {
- const req = await import('./test') // ONE
-}
-
-export class cl1 {
- public async m() {
- const req = await import('./test') // TWO
- }
-}
-
-export const obj = {
- m: async () => {
- const req = await import('./test') // THREE
- }
-}
-
-export class cl2 {
- public p = {
- m: async () => {
- const req = await import('./test') // FOUR
- }
- }
-}
-
-export const l = async () => {
- const req = await import('./test') // FIVE
-}
-
-
-//// [test.js]
-System.register([], function (exports_1, context_1) {
- "use strict";
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
- return new (P || (P = Promise))(function (resolve, reject) {
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
- };
- var __generator = (this && this.__generator) || function (thisArg, body) {
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
- function verb(n) { return function (v) { return step([n, v]); }; }
- function step(op) {
- if (f) throw new TypeError("Generator is already executing.");
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
- if (y = 0, t) op = [op[0] & 2, t.value];
- switch (op[0]) {
- case 0: case 1: t = op; break;
- case 4: _.label++; return { value: op[1], done: false };
- case 5: _.label++; y = op[1]; op = [0]; continue;
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
- default:
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
- if (t[2]) _.ops.pop();
- _.trys.pop(); continue;
- }
- op = body.call(thisArg, _);
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
- }
- };
- var cl1, obj, cl2, l;
- var __moduleName = context_1 && context_1.id;
- function fn() {
- return __awaiter(this, void 0, void 0, function () {
- var req;
- return __generator(this, function (_a) {
- switch (_a.label) {
- case 0: return [4 /*yield*/, context_1.import('./test')]; // ONE
- case 1:
- req = _a.sent() // ONE
- ;
- return [2 /*return*/];
- }
- });
- });
- }
- exports_1("fn", fn);
- return {
- setters: [],
- execute: function () {
- cl1 = /** @class */ (function () {
- function cl1() {
- }
- cl1.prototype.m = function () {
- return __awaiter(this, void 0, void 0, function () {
- var req;
- return __generator(this, function (_a) {
- switch (_a.label) {
- case 0: return [4 /*yield*/, context_1.import('./test')]; // TWO
- case 1:
- req = _a.sent() // TWO
- ;
- return [2 /*return*/];
- }
- });
- });
- };
- return cl1;
- }());
- exports_1("cl1", cl1);
- exports_1("obj", obj = {
- m: function () { return __awaiter(void 0, void 0, void 0, function () {
- var req;
- return __generator(this, function (_a) {
- switch (_a.label) {
- case 0: return [4 /*yield*/, context_1.import('./test')]; // THREE
- case 1:
- req = _a.sent() // THREE
- ;
- return [2 /*return*/];
- }
- });
- }); }
- });
- cl2 = /** @class */ (function () {
- function cl2() {
- var _this = this;
- this.p = {
- m: function () { return __awaiter(_this, void 0, void 0, function () {
- var req;
- return __generator(this, function (_a) {
- switch (_a.label) {
- case 0: return [4 /*yield*/, context_1.import('./test')]; // FOUR
- case 1:
- req = _a.sent() // FOUR
- ;
- return [2 /*return*/];
- }
- });
- }); }
- };
- }
- return cl2;
- }());
- exports_1("cl2", cl2);
- exports_1("l", l = function () { return __awaiter(void 0, void 0, void 0, function () {
- var req;
- return __generator(this, function (_a) {
- switch (_a.label) {
- case 0: return [4 /*yield*/, context_1.import('./test')]; // FIVE
- case 1:
- req = _a.sent() // FIVE
- ;
- return [2 /*return*/];
- }
- });
- }); });
- }
- };
-});
diff --git a/tests/baselines/reference/importCallExpressionAsyncES3System.symbols b/tests/baselines/reference/importCallExpressionAsyncES3System.symbols
deleted file mode 100644
index f5052dba23cf1..0000000000000
--- a/tests/baselines/reference/importCallExpressionAsyncES3System.symbols
+++ /dev/null
@@ -1,59 +0,0 @@
-//// [tests/cases/conformance/dynamicImport/importCallExpressionAsyncES3System.ts] ////
-
-=== test.ts ===
-export async function fn() {
->fn : Symbol(fn, Decl(test.ts, 0, 0))
-
- const req = await import('./test') // ONE
->req : Symbol(req, Decl(test.ts, 1, 9))
->'./test' : Symbol("test", Decl(test.ts, 0, 0))
-}
-
-export class cl1 {
->cl1 : Symbol(cl1, Decl(test.ts, 2, 1))
-
- public async m() {
->m : Symbol(cl1.m, Decl(test.ts, 4, 18))
-
- const req = await import('./test') // TWO
->req : Symbol(req, Decl(test.ts, 6, 13))
->'./test' : Symbol("test", Decl(test.ts, 0, 0))
- }
-}
-
-export const obj = {
->obj : Symbol(obj, Decl(test.ts, 10, 12))
-
- m: async () => {
->m : Symbol(m, Decl(test.ts, 10, 20))
-
- const req = await import('./test') // THREE
->req : Symbol(req, Decl(test.ts, 12, 13))
->'./test' : Symbol("test", Decl(test.ts, 0, 0))
- }
-}
-
-export class cl2 {
->cl2 : Symbol(cl2, Decl(test.ts, 14, 1))
-
- public p = {
->p : Symbol(cl2.p, Decl(test.ts, 16, 18))
-
- m: async () => {
->m : Symbol(m, Decl(test.ts, 17, 16))
-
- const req = await import('./test') // FOUR
->req : Symbol(req, Decl(test.ts, 19, 17))
->'./test' : Symbol("test", Decl(test.ts, 0, 0))
- }
- }
-}
-
-export const l = async () => {
->l : Symbol(l, Decl(test.ts, 24, 12))
-
- const req = await import('./test') // FIVE
->req : Symbol(req, Decl(test.ts, 25, 9))
->'./test' : Symbol("test", Decl(test.ts, 0, 0))
-}
-
diff --git a/tests/baselines/reference/importCallExpressionAsyncES3System.types b/tests/baselines/reference/importCallExpressionAsyncES3System.types
deleted file mode 100644
index 1ee95e4495bf8..0000000000000
--- a/tests/baselines/reference/importCallExpressionAsyncES3System.types
+++ /dev/null
@@ -1,74 +0,0 @@
-//// [tests/cases/conformance/dynamicImport/importCallExpressionAsyncES3System.ts] ////
-
-=== test.ts ===
-export async function fn() {
->fn : () => Promise
-
- const req = await import('./test') // ONE
->req : typeof import("test")
->await import('./test') : typeof import("test")
->import('./test') : Promise
->'./test' : "./test"
-}
-
-export class cl1 {
->cl1 : cl1
-
- public async m() {
->m : () => Promise
-
- const req = await import('./test') // TWO
->req : typeof import("test")
->await import('./test') : typeof import("test")
->import('./test') : Promise
->'./test' : "./test"
- }
-}
-
-export const obj = {
->obj : { m: () => Promise; }
->{ m: async () => { const req = await import('./test') // THREE }} : { m: () => Promise; }
-
- m: async () => {
->m : () => Promise
->async () => { const req = await import('./test') // THREE } : () => Promise
-
- const req = await import('./test') // THREE
->req : typeof import("test")
->await import('./test') : typeof import("test")
->import('./test') : Promise
->'./test' : "./test"
- }
-}
-
-export class cl2 {
->cl2 : cl2
-
- public p = {
->p : { m: () => Promise; }
->{ m: async () => { const req = await import('./test') // FOUR } } : { m: () => Promise; }
-
- m: async () => {
->m : () => Promise
->async () => { const req = await import('./test') // FOUR } : () => Promise
-
- const req = await import('./test') // FOUR
->req : typeof import("test")
->await import('./test') : typeof import("test")
->import('./test') : Promise
->'./test' : "./test"
- }
- }
-}
-
-export const l = async () => {
->l : () => Promise
->async () => { const req = await import('./test') // FIVE} : () => Promise
-
- const req = await import('./test') // FIVE
->req : typeof import("test")
->await import('./test') : typeof import("test")
->import('./test') : Promise
->'./test' : "./test"
-}
-
diff --git a/tests/baselines/reference/importCallExpressionAsyncES3UMD.errors.txt b/tests/baselines/reference/importCallExpressionAsyncES3UMD.errors.txt
deleted file mode 100644
index f22f6de7ae1db..0000000000000
--- a/tests/baselines/reference/importCallExpressionAsyncES3UMD.errors.txt
+++ /dev/null
@@ -1,33 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== test.ts (0 errors) ====
- export async function fn() {
- const req = await import('./test') // ONE
- }
-
- export class cl1 {
- public async m() {
- const req = await import('./test') // TWO
- }
- }
-
- export const obj = {
- m: async () => {
- const req = await import('./test') // THREE
- }
- }
-
- export class cl2 {
- public p = {
- m: async () => {
- const req = await import('./test') // FOUR
- }
- }
- }
-
- export const l = async () => {
- const req = await import('./test') // FIVE
- }
-
\ No newline at end of file
diff --git a/tests/baselines/reference/importCallExpressionAsyncES3UMD.js b/tests/baselines/reference/importCallExpressionAsyncES3UMD.js
deleted file mode 100644
index 9dea686b35157..0000000000000
--- a/tests/baselines/reference/importCallExpressionAsyncES3UMD.js
+++ /dev/null
@@ -1,166 +0,0 @@
-//// [tests/cases/conformance/dynamicImport/importCallExpressionAsyncES3UMD.ts] ////
-
-//// [test.ts]
-export async function fn() {
- const req = await import('./test') // ONE
-}
-
-export class cl1 {
- public async m() {
- const req = await import('./test') // TWO
- }
-}
-
-export const obj = {
- m: async () => {
- const req = await import('./test') // THREE
- }
-}
-
-export class cl2 {
- public p = {
- m: async () => {
- const req = await import('./test') // FOUR
- }
- }
-}
-
-export const l = async () => {
- const req = await import('./test') // FIVE
-}
-
-
-//// [test.js]
-var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
- return new (P || (P = Promise))(function (resolve, reject) {
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
-};
-var __generator = (this && this.__generator) || function (thisArg, body) {
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
- function verb(n) { return function (v) { return step([n, v]); }; }
- function step(op) {
- if (f) throw new TypeError("Generator is already executing.");
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
- if (y = 0, t) op = [op[0] & 2, t.value];
- switch (op[0]) {
- case 0: case 1: t = op; break;
- case 4: _.label++; return { value: op[1], done: false };
- case 5: _.label++; y = op[1]; op = [0]; continue;
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
- default:
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
- if (t[2]) _.ops.pop();
- _.trys.pop(); continue;
- }
- op = body.call(thisArg, _);
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
- }
-};
-(function (factory) {
- if (typeof module === "object" && typeof module.exports === "object") {
- var v = factory(require, exports);
- if (v !== undefined) module.exports = v;
- }
- else if (typeof define === "function" && define.amd) {
- define(["require", "exports"], factory);
- }
-})(function (require, exports) {
- "use strict";
- var __syncRequire = typeof module === "object" && typeof module.exports === "object";
- 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 () {
- var req;
- return __generator(this, function (_a) {
- switch (_a.label) {
- case 0: return [4 /*yield*/, __syncRequire ? Promise.resolve().then(function () { return require('./test'); }) : new Promise(function (resolve_1, reject_1) { require(['./test'], resolve_1, reject_1); })]; // ONE
- case 1:
- req = _a.sent() // ONE
- ;
- return [2 /*return*/];
- }
- });
- });
- }
- exports.fn = fn;
- var cl1 = /** @class */ (function () {
- function cl1() {
- }
- cl1.prototype.m = function () {
- return __awaiter(this, void 0, void 0, function () {
- var req;
- return __generator(this, function (_a) {
- switch (_a.label) {
- case 0: return [4 /*yield*/, __syncRequire ? Promise.resolve().then(function () { return require('./test'); }) : new Promise(function (resolve_2, reject_2) { require(['./test'], resolve_2, reject_2); })]; // TWO
- case 1:
- req = _a.sent() // TWO
- ;
- return [2 /*return*/];
- }
- });
- });
- };
- return cl1;
- }());
- exports.cl1 = cl1;
- exports.obj = {
- m: function () { return __awaiter(void 0, void 0, void 0, function () {
- var req;
- return __generator(this, function (_a) {
- switch (_a.label) {
- case 0: return [4 /*yield*/, __syncRequire ? Promise.resolve().then(function () { return require('./test'); }) : new Promise(function (resolve_3, reject_3) { require(['./test'], resolve_3, reject_3); })]; // THREE
- case 1:
- req = _a.sent() // THREE
- ;
- return [2 /*return*/];
- }
- });
- }); }
- };
- var cl2 = /** @class */ (function () {
- function cl2() {
- var _this = this;
- this.p = {
- m: function () { return __awaiter(_this, void 0, void 0, function () {
- var req;
- return __generator(this, function (_a) {
- switch (_a.label) {
- case 0: return [4 /*yield*/, __syncRequire ? Promise.resolve().then(function () { return require('./test'); }) : new Promise(function (resolve_4, reject_4) { require(['./test'], resolve_4, reject_4); })]; // FOUR
- case 1:
- req = _a.sent() // FOUR
- ;
- return [2 /*return*/];
- }
- });
- }); }
- };
- }
- return cl2;
- }());
- exports.cl2 = cl2;
- var l = function () { return __awaiter(void 0, void 0, void 0, function () {
- var req;
- return __generator(this, function (_a) {
- switch (_a.label) {
- case 0: return [4 /*yield*/, __syncRequire ? Promise.resolve().then(function () { return require('./test'); }) : new Promise(function (resolve_5, reject_5) { require(['./test'], resolve_5, reject_5); })]; // FIVE
- case 1:
- req = _a.sent() // FIVE
- ;
- return [2 /*return*/];
- }
- });
- }); };
- exports.l = l;
-});
diff --git a/tests/baselines/reference/importCallExpressionAsyncES3UMD.symbols b/tests/baselines/reference/importCallExpressionAsyncES3UMD.symbols
deleted file mode 100644
index 6574dc3b724f5..0000000000000
--- a/tests/baselines/reference/importCallExpressionAsyncES3UMD.symbols
+++ /dev/null
@@ -1,59 +0,0 @@
-//// [tests/cases/conformance/dynamicImport/importCallExpressionAsyncES3UMD.ts] ////
-
-=== test.ts ===
-export async function fn() {
->fn : Symbol(fn, Decl(test.ts, 0, 0))
-
- const req = await import('./test') // ONE
->req : Symbol(req, Decl(test.ts, 1, 9))
->'./test' : Symbol("test", Decl(test.ts, 0, 0))
-}
-
-export class cl1 {
->cl1 : Symbol(cl1, Decl(test.ts, 2, 1))
-
- public async m() {
->m : Symbol(cl1.m, Decl(test.ts, 4, 18))
-
- const req = await import('./test') // TWO
->req : Symbol(req, Decl(test.ts, 6, 13))
->'./test' : Symbol("test", Decl(test.ts, 0, 0))
- }
-}
-
-export const obj = {
->obj : Symbol(obj, Decl(test.ts, 10, 12))
-
- m: async () => {
->m : Symbol(m, Decl(test.ts, 10, 20))
-
- const req = await import('./test') // THREE
->req : Symbol(req, Decl(test.ts, 12, 13))
->'./test' : Symbol("test", Decl(test.ts, 0, 0))
- }
-}
-
-export class cl2 {
->cl2 : Symbol(cl2, Decl(test.ts, 14, 1))
-
- public p = {
->p : Symbol(cl2.p, Decl(test.ts, 16, 18))
-
- m: async () => {
->m : Symbol(m, Decl(test.ts, 17, 16))
-
- const req = await import('./test') // FOUR
->req : Symbol(req, Decl(test.ts, 19, 17))
->'./test' : Symbol("test", Decl(test.ts, 0, 0))
- }
- }
-}
-
-export const l = async () => {
->l : Symbol(l, Decl(test.ts, 24, 12))
-
- const req = await import('./test') // FIVE
->req : Symbol(req, Decl(test.ts, 25, 9))
->'./test' : Symbol("test", Decl(test.ts, 0, 0))
-}
-
diff --git a/tests/baselines/reference/importCallExpressionAsyncES3UMD.types b/tests/baselines/reference/importCallExpressionAsyncES3UMD.types
deleted file mode 100644
index 8699a262bf8f0..0000000000000
--- a/tests/baselines/reference/importCallExpressionAsyncES3UMD.types
+++ /dev/null
@@ -1,74 +0,0 @@
-//// [tests/cases/conformance/dynamicImport/importCallExpressionAsyncES3UMD.ts] ////
-
-=== test.ts ===
-export async function fn() {
->fn : () => Promise
-
- const req = await import('./test') // ONE
->req : typeof import("test")
->await import('./test') : typeof import("test")
->import('./test') : Promise
->'./test' : "./test"
-}
-
-export class cl1 {
->cl1 : cl1
-
- public async m() {
->m : () => Promise
-
- const req = await import('./test') // TWO
->req : typeof import("test")
->await import('./test') : typeof import("test")
->import('./test') : Promise
->'./test' : "./test"
- }
-}
-
-export const obj = {
->obj : { m: () => Promise; }
->{ m: async () => { const req = await import('./test') // THREE }} : { m: () => Promise; }
-
- m: async () => {
->m : () => Promise
->async () => { const req = await import('./test') // THREE } : () => Promise
-
- const req = await import('./test') // THREE
->req : typeof import("test")
->await import('./test') : typeof import("test")
->import('./test') : Promise
->'./test' : "./test"
- }
-}
-
-export class cl2 {
->cl2 : cl2
-
- public p = {
->p : { m: () => Promise; }
->{ m: async () => { const req = await import('./test') // FOUR } } : { m: () => Promise; }
-
- m: async () => {
->m : () => Promise
->async () => { const req = await import('./test') // FOUR } : () => Promise
-
- const req = await import('./test') // FOUR
->req : typeof import("test")
->await import('./test') : typeof import("test")
->import('./test') : Promise
->'./test' : "./test"
- }
- }
-}
-
-export const l = async () => {
->l : () => Promise
->async () => { const req = await import('./test') // FIVE} : () => Promise
-
- const req = await import('./test') // FIVE
->req : typeof import("test")
->await import('./test') : typeof import("test")
->import('./test') : Promise
->'./test' : "./test"
-}
-
diff --git a/tests/baselines/reference/inlineSourceMap.errors.txt b/tests/baselines/reference/inlineSourceMap.errors.txt
deleted file mode 100644
index b6f6ea0168e76..0000000000000
--- a/tests/baselines/reference/inlineSourceMap.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.
-==== inlineSourceMap.ts (0 errors) ====
- var x = 0;
- console.log(x);
\ No newline at end of file
diff --git a/tests/baselines/reference/inlineSourceMap2.errors.txt b/tests/baselines/reference/inlineSourceMap2.errors.txt
index 2f9e4253b16a9..e4ba724320001 100644
--- a/tests/baselines/reference/inlineSourceMap2.errors.txt
+++ b/tests/baselines/reference/inlineSourceMap2.errors.txt
@@ -1,11 +1,9 @@
error TS5053: Option 'mapRoot' cannot be specified with option 'inlineSourceMap'.
error TS5053: Option 'sourceMap' cannot be specified with option 'inlineSourceMap'.
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
!!! error TS5053: Option 'mapRoot' cannot be specified with option 'inlineSourceMap'.
!!! error TS5053: Option 'sourceMap' cannot be specified with option 'inlineSourceMap'.
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
==== inlineSourceMap2.ts (0 errors) ====
// configuration errors
diff --git a/tests/baselines/reference/inlineSources.errors.txt b/tests/baselines/reference/inlineSources.errors.txt
deleted file mode 100644
index 10a4abb7c071e..0000000000000
--- a/tests/baselines/reference/inlineSources.errors.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-error TS5108: Option 'target=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.ts (0 errors) ====
- var a = 0;
- console.log(a);
-
-==== b.ts (0 errors) ====
- var b = 0;
- console.log(b);
-
\ No newline at end of file
diff --git a/tests/baselines/reference/inlineSources2.errors.txt b/tests/baselines/reference/inlineSources2.errors.txt
deleted file mode 100644
index 10a4abb7c071e..0000000000000
--- a/tests/baselines/reference/inlineSources2.errors.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-error TS5108: Option 'target=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.ts (0 errors) ====
- var a = 0;
- console.log(a);
-
-==== b.ts (0 errors) ====
- var b = 0;
- console.log(b);
-
\ No newline at end of file
diff --git a/tests/baselines/reference/isLiteral2.errors.txt b/tests/baselines/reference/isLiteral2.errors.txt
deleted file mode 100644
index 6e57873525032..0000000000000
--- a/tests/baselines/reference/isLiteral2.errors.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-isLiteral2.ts(1,17): error TS1121: Octal literals are not allowed. Use the syntax '0o2343'.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== isLiteral2.ts (1 errors) ====
- var x: number = 02343
- ~~~~~
-!!! error TS1121: Octal literals are not allowed. Use the syntax '0o2343'.
\ No newline at end of file
diff --git a/tests/baselines/reference/isLiteral2.js b/tests/baselines/reference/isLiteral2.js
deleted file mode 100644
index bcca110990ba8..0000000000000
--- a/tests/baselines/reference/isLiteral2.js
+++ /dev/null
@@ -1,7 +0,0 @@
-//// [tests/cases/compiler/isLiteral2.ts] ////
-
-//// [isLiteral2.ts]
-var x: number = 02343
-
-//// [isLiteral2.js]
-var x = 1251;
diff --git a/tests/baselines/reference/isLiteral2.symbols b/tests/baselines/reference/isLiteral2.symbols
deleted file mode 100644
index a007ec6cad8e5..0000000000000
--- a/tests/baselines/reference/isLiteral2.symbols
+++ /dev/null
@@ -1,6 +0,0 @@
-//// [tests/cases/compiler/isLiteral2.ts] ////
-
-=== isLiteral2.ts ===
-var x: number = 02343
->x : Symbol(x, Decl(isLiteral2.ts, 0, 3))
-
diff --git a/tests/baselines/reference/isLiteral2.types b/tests/baselines/reference/isLiteral2.types
deleted file mode 100644
index 9b8bbcd5f03ea..0000000000000
--- a/tests/baselines/reference/isLiteral2.types
+++ /dev/null
@@ -1,7 +0,0 @@
-//// [tests/cases/compiler/isLiteral2.ts] ////
-
-=== isLiteral2.ts ===
-var x: number = 02343
->x : number
->02343 : 1251
-
diff --git a/tests/baselines/reference/numericUnderscoredSeparator(target=es3).errors.txt b/tests/baselines/reference/numericUnderscoredSeparator(target=es3).errors.txt
deleted file mode 100644
index 87787965da931..0000000000000
--- a/tests/baselines/reference/numericUnderscoredSeparator(target=es3).errors.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== numericUnderscoredSeparator.ts (0 errors) ====
- 1_000_000_000_000
- 0b1010_0001_1000_0101
- 0b1010_0001_1000_0101
- 0xA0_B0_C0
-
\ No newline at end of file
diff --git a/tests/baselines/reference/numericUnderscoredSeparator(target=es3).js b/tests/baselines/reference/numericUnderscoredSeparator(target=es3).js
deleted file mode 100644
index b37b75d1f9dcc..0000000000000
--- a/tests/baselines/reference/numericUnderscoredSeparator(target=es3).js
+++ /dev/null
@@ -1,14 +0,0 @@
-//// [tests/cases/compiler/numericUnderscoredSeparator.ts] ////
-
-//// [numericUnderscoredSeparator.ts]
-1_000_000_000_000
-0b1010_0001_1000_0101
-0b1010_0001_1000_0101
-0xA0_B0_C0
-
-
-//// [numericUnderscoredSeparator.js]
-1000000000000;
-41349;
-41349;
-10531008;
diff --git a/tests/baselines/reference/numericUnderscoredSeparator(target=es3).symbols b/tests/baselines/reference/numericUnderscoredSeparator(target=es3).symbols
deleted file mode 100644
index 5865f2a1cd08f..0000000000000
--- a/tests/baselines/reference/numericUnderscoredSeparator(target=es3).symbols
+++ /dev/null
@@ -1,9 +0,0 @@
-//// [tests/cases/compiler/numericUnderscoredSeparator.ts] ////
-
-=== numericUnderscoredSeparator.ts ===
-
-1_000_000_000_000
-0b1010_0001_1000_0101
-0b1010_0001_1000_0101
-0xA0_B0_C0
-
diff --git a/tests/baselines/reference/numericUnderscoredSeparator(target=es3).types b/tests/baselines/reference/numericUnderscoredSeparator(target=es3).types
deleted file mode 100644
index 1a2ebb4bea8c6..0000000000000
--- a/tests/baselines/reference/numericUnderscoredSeparator(target=es3).types
+++ /dev/null
@@ -1,15 +0,0 @@
-//// [tests/cases/compiler/numericUnderscoredSeparator.ts] ////
-
-=== numericUnderscoredSeparator.ts ===
-1_000_000_000_000
->1_000_000_000_000 : 1000000000000
-
-0b1010_0001_1000_0101
->0b1010_0001_1000_0101 : 41349
-
-0b1010_0001_1000_0101
->0b1010_0001_1000_0101 : 41349
-
-0xA0_B0_C0
->0xA0_B0_C0 : 10531008
-
diff --git a/tests/baselines/reference/objectLiteralErrorsES3.errors.txt b/tests/baselines/reference/objectLiteralErrorsES3.errors.txt
deleted file mode 100644
index 1462237ca81ff..0000000000000
--- a/tests/baselines/reference/objectLiteralErrorsES3.errors.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== objectLiteralErrorsES3.ts (0 errors) ====
- var e1 = { get a() { return 4; } };
- var e2 = { set a(n) { } };
- var e3 = { get a() { return ''; }, set a(n) { } };
-
-
\ No newline at end of file
diff --git a/tests/baselines/reference/objectLiteralErrorsES3.js b/tests/baselines/reference/objectLiteralErrorsES3.js
deleted file mode 100644
index fe5444c304063..0000000000000
--- a/tests/baselines/reference/objectLiteralErrorsES3.js
+++ /dev/null
@@ -1,13 +0,0 @@
-//// [tests/cases/conformance/expressions/objectLiterals/objectLiteralErrorsES3.ts] ////
-
-//// [objectLiteralErrorsES3.ts]
-var e1 = { get a() { return 4; } };
-var e2 = { set a(n) { } };
-var e3 = { get a() { return ''; }, set a(n) { } };
-
-
-
-//// [objectLiteralErrorsES3.js]
-var e1 = { get a() { return 4; } };
-var e2 = { set a(n) { } };
-var e3 = { get a() { return ''; }, set a(n) { } };
diff --git a/tests/baselines/reference/objectLiteralErrorsES3.symbols b/tests/baselines/reference/objectLiteralErrorsES3.symbols
deleted file mode 100644
index e893dc0702ade..0000000000000
--- a/tests/baselines/reference/objectLiteralErrorsES3.symbols
+++ /dev/null
@@ -1,19 +0,0 @@
-//// [tests/cases/conformance/expressions/objectLiterals/objectLiteralErrorsES3.ts] ////
-
-=== objectLiteralErrorsES3.ts ===
-var e1 = { get a() { return 4; } };
->e1 : Symbol(e1, Decl(objectLiteralErrorsES3.ts, 0, 3))
->a : Symbol(a, Decl(objectLiteralErrorsES3.ts, 0, 10))
-
-var e2 = { set a(n) { } };
->e2 : Symbol(e2, Decl(objectLiteralErrorsES3.ts, 1, 3))
->a : Symbol(a, Decl(objectLiteralErrorsES3.ts, 1, 10))
->n : Symbol(n, Decl(objectLiteralErrorsES3.ts, 1, 17))
-
-var e3 = { get a() { return ''; }, set a(n) { } };
->e3 : Symbol(e3, Decl(objectLiteralErrorsES3.ts, 2, 3))
->a : Symbol(a, Decl(objectLiteralErrorsES3.ts, 2, 10), Decl(objectLiteralErrorsES3.ts, 2, 34))
->a : Symbol(a, Decl(objectLiteralErrorsES3.ts, 2, 10), Decl(objectLiteralErrorsES3.ts, 2, 34))
->n : Symbol(n, Decl(objectLiteralErrorsES3.ts, 2, 41))
-
-
diff --git a/tests/baselines/reference/objectLiteralErrorsES3.types b/tests/baselines/reference/objectLiteralErrorsES3.types
deleted file mode 100644
index 5d5a4d61a5d22..0000000000000
--- a/tests/baselines/reference/objectLiteralErrorsES3.types
+++ /dev/null
@@ -1,24 +0,0 @@
-//// [tests/cases/conformance/expressions/objectLiterals/objectLiteralErrorsES3.ts] ////
-
-=== objectLiteralErrorsES3.ts ===
-var e1 = { get a() { return 4; } };
->e1 : { readonly a: number; }
->{ get a() { return 4; } } : { readonly a: number; }
->a : number
->4 : 4
-
-var e2 = { set a(n) { } };
->e2 : { a: any; }
->{ set a(n) { } } : { a: any; }
->a : any
->n : any
-
-var e3 = { get a() { return ''; }, set a(n) { } };
->e3 : { a: string; }
->{ get a() { return ''; }, set a(n) { } } : { a: string; }
->a : string
->'' : ""
->a : string
->n : string
-
-
diff --git a/tests/baselines/reference/objectTypeWithStringNamedNumericProperty.errors.txt b/tests/baselines/reference/objectTypeWithStringNamedNumericProperty.errors.txt
index b77346eec4319..c42b7285c1524 100644
--- a/tests/baselines/reference/objectTypeWithStringNamedNumericProperty.errors.txt
+++ b/tests/baselines/reference/objectTypeWithStringNamedNumericProperty.errors.txt
@@ -1,4 +1,3 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
objectTypeWithStringNamedNumericProperty.ts(33,13): error TS1121: Octal literals are not allowed. Use the syntax '0o1'.
objectTypeWithStringNamedNumericProperty.ts(34,13): error TS1121: Octal literals are not allowed. Use the syntax '-0o1'.
objectTypeWithStringNamedNumericProperty.ts(64,13): error TS1121: Octal literals are not allowed. Use the syntax '0o1'.
@@ -9,7 +8,6 @@ objectTypeWithStringNamedNumericProperty.ts(124,13): error TS1121: Octal literal
objectTypeWithStringNamedNumericProperty.ts(125,13): error TS1121: Octal literals are not allowed. Use the syntax '-0o1'.
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
==== objectTypeWithStringNamedNumericProperty.ts (8 errors) ====
// string named numeric properties are legal and distinct when indexed by string values
// indexed numerically the value is converted to a number
diff --git a/tests/baselines/reference/parserArrowFunctionExpression10(target=es3).errors.txt b/tests/baselines/reference/parserArrowFunctionExpression10(target=es3).errors.txt
deleted file mode 100644
index 5ea66f54d9ffc..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression10(target=es3).errors.txt
+++ /dev/null
@@ -1,37 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-fileJs.js(1,1): error TS2304: Cannot find name 'a'.
-fileJs.js(1,11): error TS2304: Cannot find name 'c'.
-fileJs.js(1,11): error TS8010: Type annotations can only be used in TypeScript files.
-fileJs.js(1,17): error TS2304: Cannot find name 'd'.
-fileJs.js(1,27): error TS2304: Cannot find name 'f'.
-fileTs.ts(1,1): error TS2304: Cannot find name 'a'.
-fileTs.ts(1,11): error TS2304: Cannot find name 'c'.
-fileTs.ts(1,17): error TS2304: Cannot find name 'd'.
-fileTs.ts(1,27): error TS2304: Cannot find name 'f'.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== fileJs.js (5 errors) ====
- a ? (b) : c => (d) : e => f // Not legal JS; "Unexpected token ':'" at last colon
- ~
-!!! error TS2304: Cannot find name 'a'.
- ~
-!!! error TS2304: Cannot find name 'c'.
- ~
-!!! error TS8010: Type annotations can only be used in TypeScript files.
- ~
-!!! error TS2304: Cannot find name 'd'.
- ~
-!!! error TS2304: Cannot find name 'f'.
-
-==== fileTs.ts (4 errors) ====
- a ? (b) : c => (d) : e => f
- ~
-!!! error TS2304: Cannot find name 'a'.
- ~
-!!! error TS2304: Cannot find name 'c'.
- ~
-!!! error TS2304: Cannot find name 'd'.
- ~
-!!! error TS2304: Cannot find name 'f'.
-
\ No newline at end of file
diff --git a/tests/baselines/reference/parserArrowFunctionExpression10(target=es3).js b/tests/baselines/reference/parserArrowFunctionExpression10(target=es3).js
deleted file mode 100644
index 9370fd28c642c..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression10(target=es3).js
+++ /dev/null
@@ -1,13 +0,0 @@
-//// [tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression10.ts] ////
-
-//// [fileJs.js]
-a ? (b) : c => (d) : e => f // Not legal JS; "Unexpected token ':'" at last colon
-
-//// [fileTs.ts]
-a ? (b) : c => (d) : e => f
-
-
-//// [fileJs.js]
-a ? function (b) { return (d); } : function (e) { return f; }; // Not legal JS; "Unexpected token ':'" at last colon
-//// [fileTs.js]
-a ? function (b) { return (d); } : function (e) { return f; };
diff --git a/tests/baselines/reference/parserArrowFunctionExpression10(target=es6).symbols b/tests/baselines/reference/parserArrowFunctionExpression10(target=es6).symbols
deleted file mode 100644
index 9ac6f749c517e..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression10(target=es6).symbols
+++ /dev/null
@@ -1,14 +0,0 @@
-//// [tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression10.ts] ////
-
-=== fileJs.js ===
-a ? (b) : c => (d) : e => f // Not legal JS; "Unexpected token ':'" at last colon
->b : Symbol(b, Decl(fileJs.js, 0, 5))
->c : Symbol(c)
->e : Symbol(e, Decl(fileJs.js, 0, 20))
-
-=== fileTs.ts ===
-a ? (b) : c => (d) : e => f
->b : Symbol(b, Decl(fileTs.ts, 0, 5))
->c : Symbol(c)
->e : Symbol(e, Decl(fileTs.ts, 0, 20))
-
diff --git a/tests/baselines/reference/parserArrowFunctionExpression10(target=es6).types b/tests/baselines/reference/parserArrowFunctionExpression10(target=es6).types
deleted file mode 100644
index 7b4d3d5567702..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression10(target=es6).types
+++ /dev/null
@@ -1,26 +0,0 @@
-//// [tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression10.ts] ////
-
-=== fileJs.js ===
-a ? (b) : c => (d) : e => f // Not legal JS; "Unexpected token ':'" at last colon
->a ? (b) : c => (d) : e => f : (b: any) => c
->a : any
->(b) : c => (d) : (b: any) => c
->b : any
->(d) : any
->d : any
->e => f : (e: any) => any
->e : any
->f : any
-
-=== fileTs.ts ===
-a ? (b) : c => (d) : e => f
->a ? (b) : c => (d) : e => f : (b: any) => c
->a : any
->(b) : c => (d) : (b: any) => c
->b : any
->(d) : any
->d : any
->e => f : (e: any) => any
->e : any
->f : any
-
diff --git a/tests/baselines/reference/parserArrowFunctionExpression10(target=es6).errors.txt b/tests/baselines/reference/parserArrowFunctionExpression10.errors.txt
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression10(target=es6).errors.txt
rename to tests/baselines/reference/parserArrowFunctionExpression10.errors.txt
diff --git a/tests/baselines/reference/parserArrowFunctionExpression10(target=es6).js b/tests/baselines/reference/parserArrowFunctionExpression10.js
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression10(target=es6).js
rename to tests/baselines/reference/parserArrowFunctionExpression10.js
diff --git a/tests/baselines/reference/parserArrowFunctionExpression10(target=es3).symbols b/tests/baselines/reference/parserArrowFunctionExpression10.symbols
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression10(target=es3).symbols
rename to tests/baselines/reference/parserArrowFunctionExpression10.symbols
diff --git a/tests/baselines/reference/parserArrowFunctionExpression10(target=es3).types b/tests/baselines/reference/parserArrowFunctionExpression10.types
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression10(target=es3).types
rename to tests/baselines/reference/parserArrowFunctionExpression10.types
diff --git a/tests/baselines/reference/parserArrowFunctionExpression11(target=es3).errors.txt b/tests/baselines/reference/parserArrowFunctionExpression11(target=es3).errors.txt
deleted file mode 100644
index 86f7377d990ad..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression11(target=es3).errors.txt
+++ /dev/null
@@ -1,40 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-fileJs.js(1,1): error TS2304: Cannot find name 'a'.
-fileJs.js(1,5): error TS2304: Cannot find name 'b'.
-fileJs.js(1,9): error TS2304: Cannot find name 'c'.
-fileJs.js(1,14): error TS2304: Cannot find name 'd'.
-fileJs.js(1,24): error TS2304: Cannot find name 'f'.
-fileTs.ts(1,1): error TS2304: Cannot find name 'a'.
-fileTs.ts(1,5): error TS2304: Cannot find name 'b'.
-fileTs.ts(1,9): error TS2304: Cannot find name 'c'.
-fileTs.ts(1,14): error TS2304: Cannot find name 'd'.
-fileTs.ts(1,24): error TS2304: Cannot find name 'f'.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== fileJs.js (5 errors) ====
- a ? b ? c : (d) : e => f // Legal JS
- ~
-!!! error TS2304: Cannot find name 'a'.
- ~
-!!! error TS2304: Cannot find name 'b'.
- ~
-!!! error TS2304: Cannot find name 'c'.
- ~
-!!! error TS2304: Cannot find name 'd'.
- ~
-!!! error TS2304: Cannot find name 'f'.
-
-==== fileTs.ts (5 errors) ====
- a ? b ? c : (d) : e => f
- ~
-!!! error TS2304: Cannot find name 'a'.
- ~
-!!! error TS2304: Cannot find name 'b'.
- ~
-!!! error TS2304: Cannot find name 'c'.
- ~
-!!! error TS2304: Cannot find name 'd'.
- ~
-!!! error TS2304: Cannot find name 'f'.
-
\ No newline at end of file
diff --git a/tests/baselines/reference/parserArrowFunctionExpression11(target=es3).js b/tests/baselines/reference/parserArrowFunctionExpression11(target=es3).js
deleted file mode 100644
index 83f125be77082..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression11(target=es3).js
+++ /dev/null
@@ -1,13 +0,0 @@
-//// [tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression11.ts] ////
-
-//// [fileJs.js]
-a ? b ? c : (d) : e => f // Legal JS
-
-//// [fileTs.ts]
-a ? b ? c : (d) : e => f
-
-
-//// [fileJs.js]
-a ? b ? c : (d) : function (e) { return f; }; // Legal JS
-//// [fileTs.js]
-a ? b ? c : (d) : function (e) { return f; };
diff --git a/tests/baselines/reference/parserArrowFunctionExpression11(target=es6).symbols b/tests/baselines/reference/parserArrowFunctionExpression11(target=es6).symbols
deleted file mode 100644
index 70aec6992e052..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression11(target=es6).symbols
+++ /dev/null
@@ -1,10 +0,0 @@
-//// [tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression11.ts] ////
-
-=== fileJs.js ===
-a ? b ? c : (d) : e => f // Legal JS
->e : Symbol(e, Decl(fileJs.js, 0, 17))
-
-=== fileTs.ts ===
-a ? b ? c : (d) : e => f
->e : Symbol(e, Decl(fileTs.ts, 0, 17))
-
diff --git a/tests/baselines/reference/parserArrowFunctionExpression11(target=es6).types b/tests/baselines/reference/parserArrowFunctionExpression11(target=es6).types
deleted file mode 100644
index 56efe36cafc7a..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression11(target=es6).types
+++ /dev/null
@@ -1,28 +0,0 @@
-//// [tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression11.ts] ////
-
-=== fileJs.js ===
-a ? b ? c : (d) : e => f // Legal JS
->a ? b ? c : (d) : e => f : any
->a : any
->b ? c : (d) : any
->b : any
->c : any
->(d) : any
->d : any
->e => f : (e: any) => any
->e : any
->f : any
-
-=== fileTs.ts ===
-a ? b ? c : (d) : e => f
->a ? b ? c : (d) : e => f : any
->a : any
->b ? c : (d) : any
->b : any
->c : any
->(d) : any
->d : any
->e => f : (e: any) => any
->e : any
->f : any
-
diff --git a/tests/baselines/reference/parserArrowFunctionExpression11(target=es6).errors.txt b/tests/baselines/reference/parserArrowFunctionExpression11.errors.txt
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression11(target=es6).errors.txt
rename to tests/baselines/reference/parserArrowFunctionExpression11.errors.txt
diff --git a/tests/baselines/reference/parserArrowFunctionExpression11(target=es6).js b/tests/baselines/reference/parserArrowFunctionExpression11.js
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression11(target=es6).js
rename to tests/baselines/reference/parserArrowFunctionExpression11.js
diff --git a/tests/baselines/reference/parserArrowFunctionExpression11(target=es3).symbols b/tests/baselines/reference/parserArrowFunctionExpression11.symbols
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression11(target=es3).symbols
rename to tests/baselines/reference/parserArrowFunctionExpression11.symbols
diff --git a/tests/baselines/reference/parserArrowFunctionExpression11(target=es3).types b/tests/baselines/reference/parserArrowFunctionExpression11.types
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression11(target=es3).types
rename to tests/baselines/reference/parserArrowFunctionExpression11.types
diff --git a/tests/baselines/reference/parserArrowFunctionExpression12(target=es3).errors.txt b/tests/baselines/reference/parserArrowFunctionExpression12(target=es3).errors.txt
deleted file mode 100644
index e4128a8941280..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression12(target=es3).errors.txt
+++ /dev/null
@@ -1,28 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-fileJs.js(1,1): error TS2304: Cannot find name 'a'.
-fileJs.js(1,13): error TS2304: Cannot find name 'c'.
-fileJs.js(1,22): error TS2304: Cannot find name 'e'.
-fileTs.ts(1,1): error TS2304: Cannot find name 'a'.
-fileTs.ts(1,13): error TS2304: Cannot find name 'c'.
-fileTs.ts(1,22): error TS2304: Cannot find name 'e'.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== fileJs.js (3 errors) ====
- a ? (b) => (c): d => e // Legal JS
- ~
-!!! error TS2304: Cannot find name 'a'.
- ~
-!!! error TS2304: Cannot find name 'c'.
- ~
-!!! error TS2304: Cannot find name 'e'.
-
-==== fileTs.ts (3 errors) ====
- a ? (b) => (c): d => e
- ~
-!!! error TS2304: Cannot find name 'a'.
- ~
-!!! error TS2304: Cannot find name 'c'.
- ~
-!!! error TS2304: Cannot find name 'e'.
-
\ No newline at end of file
diff --git a/tests/baselines/reference/parserArrowFunctionExpression12(target=es3).js b/tests/baselines/reference/parserArrowFunctionExpression12(target=es3).js
deleted file mode 100644
index 9fdbe2e390229..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression12(target=es3).js
+++ /dev/null
@@ -1,13 +0,0 @@
-//// [tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression12.ts] ////
-
-//// [fileJs.js]
-a ? (b) => (c): d => e // Legal JS
-
-//// [fileTs.ts]
-a ? (b) => (c): d => e
-
-
-//// [fileJs.js]
-a ? function (b) { return (c); } : function (d) { return e; }; // Legal JS
-//// [fileTs.js]
-a ? function (b) { return (c); } : function (d) { return e; };
diff --git a/tests/baselines/reference/parserArrowFunctionExpression12(target=es6).symbols b/tests/baselines/reference/parserArrowFunctionExpression12(target=es6).symbols
deleted file mode 100644
index aeee0cc6a9534..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression12(target=es6).symbols
+++ /dev/null
@@ -1,12 +0,0 @@
-//// [tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression12.ts] ////
-
-=== fileJs.js ===
-a ? (b) => (c): d => e // Legal JS
->b : Symbol(b, Decl(fileJs.js, 0, 5))
->d : Symbol(d, Decl(fileJs.js, 0, 15))
-
-=== fileTs.ts ===
-a ? (b) => (c): d => e
->b : Symbol(b, Decl(fileTs.ts, 0, 5))
->d : Symbol(d, Decl(fileTs.ts, 0, 15))
-
diff --git a/tests/baselines/reference/parserArrowFunctionExpression12(target=es6).types b/tests/baselines/reference/parserArrowFunctionExpression12(target=es6).types
deleted file mode 100644
index 0ca71401e0ddb..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression12(target=es6).types
+++ /dev/null
@@ -1,26 +0,0 @@
-//// [tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression12.ts] ////
-
-=== fileJs.js ===
-a ? (b) => (c): d => e // Legal JS
->a ? (b) => (c): d => e : (b: any) => any
->a : any
->(b) => (c) : (b: any) => any
->b : any
->(c) : any
->c : any
->d => e : (d: any) => any
->d : any
->e : any
-
-=== fileTs.ts ===
-a ? (b) => (c): d => e
->a ? (b) => (c): d => e : (b: any) => any
->a : any
->(b) => (c) : (b: any) => any
->b : any
->(c) : any
->c : any
->d => e : (d: any) => any
->d : any
->e : any
-
diff --git a/tests/baselines/reference/parserArrowFunctionExpression12(target=es6).errors.txt b/tests/baselines/reference/parserArrowFunctionExpression12.errors.txt
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression12(target=es6).errors.txt
rename to tests/baselines/reference/parserArrowFunctionExpression12.errors.txt
diff --git a/tests/baselines/reference/parserArrowFunctionExpression12(target=es6).js b/tests/baselines/reference/parserArrowFunctionExpression12.js
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression12(target=es6).js
rename to tests/baselines/reference/parserArrowFunctionExpression12.js
diff --git a/tests/baselines/reference/parserArrowFunctionExpression12(target=es3).symbols b/tests/baselines/reference/parserArrowFunctionExpression12.symbols
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression12(target=es3).symbols
rename to tests/baselines/reference/parserArrowFunctionExpression12.symbols
diff --git a/tests/baselines/reference/parserArrowFunctionExpression12(target=es3).types b/tests/baselines/reference/parserArrowFunctionExpression12.types
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression12(target=es3).types
rename to tests/baselines/reference/parserArrowFunctionExpression12.types
diff --git a/tests/baselines/reference/parserArrowFunctionExpression13(target=es3).errors.txt b/tests/baselines/reference/parserArrowFunctionExpression13(target=es3).errors.txt
deleted file mode 100644
index 7974f3a3dad71..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression13(target=es3).errors.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-fileJs.js(1,1): error TS2304: Cannot find name 'a'.
-fileJs.js(1,11): error TS2304: Cannot find name 'a'.
-fileJs.js(1,21): error TS8010: Type annotations can only be used in TypeScript files.
-fileTs.ts(1,1): error TS2304: Cannot find name 'a'.
-fileTs.ts(1,11): error TS2304: Cannot find name 'a'.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== fileJs.js (3 errors) ====
- a ? () => a() : (): any => null; // Not legal JS; "Unexpected token ')'" at last paren
- ~
-!!! error TS2304: Cannot find name 'a'.
- ~
-!!! error TS2304: Cannot find name 'a'.
- ~~~
-!!! error TS8010: Type annotations can only be used in TypeScript files.
-
-==== fileTs.ts (2 errors) ====
- a ? () => a() : (): any => null;
- ~
-!!! error TS2304: Cannot find name 'a'.
- ~
-!!! error TS2304: Cannot find name 'a'.
-
\ No newline at end of file
diff --git a/tests/baselines/reference/parserArrowFunctionExpression13(target=es3).js b/tests/baselines/reference/parserArrowFunctionExpression13(target=es3).js
deleted file mode 100644
index e4efcb107ffce..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression13(target=es3).js
+++ /dev/null
@@ -1,13 +0,0 @@
-//// [tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression13.ts] ////
-
-//// [fileJs.js]
-a ? () => a() : (): any => null; // Not legal JS; "Unexpected token ')'" at last paren
-
-//// [fileTs.ts]
-a ? () => a() : (): any => null;
-
-
-//// [fileJs.js]
-a ? function () { return a(); } : function () { return null; }; // Not legal JS; "Unexpected token ')'" at last paren
-//// [fileTs.js]
-a ? function () { return a(); } : function () { return null; };
diff --git a/tests/baselines/reference/parserArrowFunctionExpression13(target=es6).symbols b/tests/baselines/reference/parserArrowFunctionExpression13(target=es6).symbols
deleted file mode 100644
index 8795450858d29..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression13(target=es6).symbols
+++ /dev/null
@@ -1,10 +0,0 @@
-//// [tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression13.ts] ////
-
-=== fileJs.js ===
-
-a ? () => a() : (): any => null; // Not legal JS; "Unexpected token ')'" at last paren
-
-=== fileTs.ts ===
-
-a ? () => a() : (): any => null;
-
diff --git a/tests/baselines/reference/parserArrowFunctionExpression13(target=es6).types b/tests/baselines/reference/parserArrowFunctionExpression13(target=es6).types
deleted file mode 100644
index 576602088567e..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression13(target=es6).types
+++ /dev/null
@@ -1,20 +0,0 @@
-//// [tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression13.ts] ////
-
-=== fileJs.js ===
-a ? () => a() : (): any => null; // Not legal JS; "Unexpected token ')'" at last paren
->a ? () => a() : (): any => null : () => any
->a : any
->() => a() : () => any
->a() : any
->a : any
->(): any => null : () => any
-
-=== fileTs.ts ===
-a ? () => a() : (): any => null;
->a ? () => a() : (): any => null : () => any
->a : any
->() => a() : () => any
->a() : any
->a : any
->(): any => null : () => any
-
diff --git a/tests/baselines/reference/parserArrowFunctionExpression13(target=es6).errors.txt b/tests/baselines/reference/parserArrowFunctionExpression13.errors.txt
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression13(target=es6).errors.txt
rename to tests/baselines/reference/parserArrowFunctionExpression13.errors.txt
diff --git a/tests/baselines/reference/parserArrowFunctionExpression13(target=es6).js b/tests/baselines/reference/parserArrowFunctionExpression13.js
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression13(target=es6).js
rename to tests/baselines/reference/parserArrowFunctionExpression13.js
diff --git a/tests/baselines/reference/parserArrowFunctionExpression13(target=es3).symbols b/tests/baselines/reference/parserArrowFunctionExpression13.symbols
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression13(target=es3).symbols
rename to tests/baselines/reference/parserArrowFunctionExpression13.symbols
diff --git a/tests/baselines/reference/parserArrowFunctionExpression13(target=es3).types b/tests/baselines/reference/parserArrowFunctionExpression13.types
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression13(target=es3).types
rename to tests/baselines/reference/parserArrowFunctionExpression13.types
diff --git a/tests/baselines/reference/parserArrowFunctionExpression14(target=es3).errors.txt b/tests/baselines/reference/parserArrowFunctionExpression14(target=es3).errors.txt
deleted file mode 100644
index d47283bf6f0b5..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression14(target=es3).errors.txt
+++ /dev/null
@@ -1,40 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-fileJs.js(1,1): error TS2304: Cannot find name 'a'.
-fileJs.js(1,11): error TS8010: Type annotations can only be used in TypeScript files.
-fileJs.js(1,20): error TS8009: The '?' modifier can only be used in TypeScript files.
-fileJs.js(1,23): error TS8010: Type annotations can only be used in TypeScript files.
-fileJs.js(1,32): error TS8010: Type annotations can only be used in TypeScript files.
-fileJs.js(1,40): error TS2304: Cannot find name 'd'.
-fileJs.js(1,46): error TS2304: Cannot find name 'e'.
-fileTs.ts(1,1): error TS2304: Cannot find name 'a'.
-fileTs.ts(1,40): error TS2304: Cannot find name 'd'.
-fileTs.ts(1,46): error TS2304: Cannot find name 'e'.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== fileJs.js (7 errors) ====
- a() ? (b: number, c?: string): void => d() : e; // Not legal JS; "Unexpected token ':'" at first colon
- ~
-!!! error TS2304: Cannot find name 'a'.
- ~~~~~~
-!!! error TS8010: Type annotations can only be used in TypeScript files.
- ~
-!!! error TS8009: The '?' modifier can only be used in TypeScript files.
- ~~~~~~
-!!! error TS8010: Type annotations can only be used in TypeScript files.
- ~~~~
-!!! error TS8010: Type annotations can only be used in TypeScript files.
- ~
-!!! error TS2304: Cannot find name 'd'.
- ~
-!!! error TS2304: Cannot find name 'e'.
-
-==== fileTs.ts (3 errors) ====
- a() ? (b: number, c?: string): void => d() : e;
- ~
-!!! error TS2304: Cannot find name 'a'.
- ~
-!!! error TS2304: Cannot find name 'd'.
- ~
-!!! error TS2304: Cannot find name 'e'.
-
\ No newline at end of file
diff --git a/tests/baselines/reference/parserArrowFunctionExpression14(target=es3).js b/tests/baselines/reference/parserArrowFunctionExpression14(target=es3).js
deleted file mode 100644
index 395b6d6daeb5e..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression14(target=es3).js
+++ /dev/null
@@ -1,13 +0,0 @@
-//// [tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression14.ts] ////
-
-//// [fileJs.js]
-a() ? (b: number, c?: string): void => d() : e; // Not legal JS; "Unexpected token ':'" at first colon
-
-//// [fileTs.ts]
-a() ? (b: number, c?: string): void => d() : e;
-
-
-//// [fileJs.js]
-a() ? function (b, c) { return d(); } : e; // Not legal JS; "Unexpected token ':'" at first colon
-//// [fileTs.js]
-a() ? function (b, c) { return d(); } : e;
diff --git a/tests/baselines/reference/parserArrowFunctionExpression14(target=es6).symbols b/tests/baselines/reference/parserArrowFunctionExpression14(target=es6).symbols
deleted file mode 100644
index 978344e57c50c..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression14(target=es6).symbols
+++ /dev/null
@@ -1,12 +0,0 @@
-//// [tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression14.ts] ////
-
-=== fileJs.js ===
-a() ? (b: number, c?: string): void => d() : e; // Not legal JS; "Unexpected token ':'" at first colon
->b : Symbol(b, Decl(fileJs.js, 0, 7))
->c : Symbol(c, Decl(fileJs.js, 0, 17))
-
-=== fileTs.ts ===
-a() ? (b: number, c?: string): void => d() : e;
->b : Symbol(b, Decl(fileTs.ts, 0, 7))
->c : Symbol(c, Decl(fileTs.ts, 0, 17))
-
diff --git a/tests/baselines/reference/parserArrowFunctionExpression14(target=es6).types b/tests/baselines/reference/parserArrowFunctionExpression14(target=es6).types
deleted file mode 100644
index fe9e4eabe2355..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression14(target=es6).types
+++ /dev/null
@@ -1,26 +0,0 @@
-//// [tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression14.ts] ////
-
-=== fileJs.js ===
-a() ? (b: number, c?: string): void => d() : e; // Not legal JS; "Unexpected token ':'" at first colon
->a() ? (b: number, c?: string): void => d() : e : any
->a() : any
->a : any
->(b: number, c?: string): void => d() : (b: number, c?: string) => void
->b : number
->c : string
->d() : any
->d : any
->e : any
-
-=== fileTs.ts ===
-a() ? (b: number, c?: string): void => d() : e;
->a() ? (b: number, c?: string): void => d() : e : any
->a() : any
->a : any
->(b: number, c?: string): void => d() : (b: number, c?: string) => void
->b : number
->c : string
->d() : any
->d : any
->e : any
-
diff --git a/tests/baselines/reference/parserArrowFunctionExpression14(target=es6).errors.txt b/tests/baselines/reference/parserArrowFunctionExpression14.errors.txt
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression14(target=es6).errors.txt
rename to tests/baselines/reference/parserArrowFunctionExpression14.errors.txt
diff --git a/tests/baselines/reference/parserArrowFunctionExpression14(target=es6).js b/tests/baselines/reference/parserArrowFunctionExpression14.js
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression14(target=es6).js
rename to tests/baselines/reference/parserArrowFunctionExpression14.js
diff --git a/tests/baselines/reference/parserArrowFunctionExpression14(target=es3).symbols b/tests/baselines/reference/parserArrowFunctionExpression14.symbols
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression14(target=es3).symbols
rename to tests/baselines/reference/parserArrowFunctionExpression14.symbols
diff --git a/tests/baselines/reference/parserArrowFunctionExpression14(target=es3).types b/tests/baselines/reference/parserArrowFunctionExpression14.types
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression14(target=es3).types
rename to tests/baselines/reference/parserArrowFunctionExpression14.types
diff --git a/tests/baselines/reference/parserArrowFunctionExpression15(target=es3).errors.txt b/tests/baselines/reference/parserArrowFunctionExpression15(target=es3).errors.txt
deleted file mode 100644
index 7b8a0858904ee..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression15(target=es3).errors.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-fileJs.js(1,18): error TS8010: Type annotations can only be used in TypeScript files.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== fileJs.js (1 errors) ====
- false ? (param): string => param : null // Not legal JS; "Unexpected token ':'" at last colon
- ~~~~~~
-!!! error TS8010: Type annotations can only be used in TypeScript files.
-
-==== fileTs.ts (0 errors) ====
- false ? (param): string => param : null
-
\ No newline at end of file
diff --git a/tests/baselines/reference/parserArrowFunctionExpression15(target=es3).js b/tests/baselines/reference/parserArrowFunctionExpression15(target=es3).js
deleted file mode 100644
index b8098ff57f68d..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression15(target=es3).js
+++ /dev/null
@@ -1,13 +0,0 @@
-//// [tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression15.ts] ////
-
-//// [fileJs.js]
-false ? (param): string => param : null // Not legal JS; "Unexpected token ':'" at last colon
-
-//// [fileTs.ts]
-false ? (param): string => param : null
-
-
-//// [fileJs.js]
-false ? function (param) { return param; } : null; // Not legal JS; "Unexpected token ':'" at last colon
-//// [fileTs.js]
-false ? function (param) { return param; } : null;
diff --git a/tests/baselines/reference/parserArrowFunctionExpression15(target=es6).symbols b/tests/baselines/reference/parserArrowFunctionExpression15(target=es6).symbols
deleted file mode 100644
index de4b9595ae5be..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression15(target=es6).symbols
+++ /dev/null
@@ -1,12 +0,0 @@
-//// [tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression15.ts] ////
-
-=== fileJs.js ===
-false ? (param): string => param : null // Not legal JS; "Unexpected token ':'" at last colon
->param : Symbol(param, Decl(fileJs.js, 0, 9))
->param : Symbol(param, Decl(fileJs.js, 0, 9))
-
-=== fileTs.ts ===
-false ? (param): string => param : null
->param : Symbol(param, Decl(fileTs.ts, 0, 9))
->param : Symbol(param, Decl(fileTs.ts, 0, 9))
-
diff --git a/tests/baselines/reference/parserArrowFunctionExpression15(target=es6).types b/tests/baselines/reference/parserArrowFunctionExpression15(target=es6).types
deleted file mode 100644
index 78ce4aa30720b..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression15(target=es6).types
+++ /dev/null
@@ -1,18 +0,0 @@
-//// [tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression15.ts] ////
-
-=== fileJs.js ===
-false ? (param): string => param : null // Not legal JS; "Unexpected token ':'" at last colon
->false ? (param): string => param : null : (param: any) => string
->false : false
->(param): string => param : (param: any) => string
->param : any
->param : any
-
-=== fileTs.ts ===
-false ? (param): string => param : null
->false ? (param): string => param : null : (param: any) => string
->false : false
->(param): string => param : (param: any) => string
->param : any
->param : any
-
diff --git a/tests/baselines/reference/parserArrowFunctionExpression15(target=es6).errors.txt b/tests/baselines/reference/parserArrowFunctionExpression15.errors.txt
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression15(target=es6).errors.txt
rename to tests/baselines/reference/parserArrowFunctionExpression15.errors.txt
diff --git a/tests/baselines/reference/parserArrowFunctionExpression15(target=es6).js b/tests/baselines/reference/parserArrowFunctionExpression15.js
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression15(target=es6).js
rename to tests/baselines/reference/parserArrowFunctionExpression15.js
diff --git a/tests/baselines/reference/parserArrowFunctionExpression15(target=es3).symbols b/tests/baselines/reference/parserArrowFunctionExpression15.symbols
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression15(target=es3).symbols
rename to tests/baselines/reference/parserArrowFunctionExpression15.symbols
diff --git a/tests/baselines/reference/parserArrowFunctionExpression15(target=es3).types b/tests/baselines/reference/parserArrowFunctionExpression15.types
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression15(target=es3).types
rename to tests/baselines/reference/parserArrowFunctionExpression15.types
diff --git a/tests/baselines/reference/parserArrowFunctionExpression16(target=es3).errors.txt b/tests/baselines/reference/parserArrowFunctionExpression16(target=es3).errors.txt
deleted file mode 100644
index c79c63a0e61bb..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression16(target=es3).errors.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-fileJs.js(1,25): error TS8010: Type annotations can only be used in TypeScript files.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== fileJs.js (1 errors) ====
- true ? false ? (param): string => param : null : null // Not legal JS; "Unexpected token ':'" at last colon
- ~~~~~~
-!!! error TS8010: Type annotations can only be used in TypeScript files.
-
-==== fileTs.ts (0 errors) ====
- true ? false ? (param): string => param : null : null
-
\ No newline at end of file
diff --git a/tests/baselines/reference/parserArrowFunctionExpression16(target=es3).js b/tests/baselines/reference/parserArrowFunctionExpression16(target=es3).js
deleted file mode 100644
index c9d6012828d76..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression16(target=es3).js
+++ /dev/null
@@ -1,13 +0,0 @@
-//// [tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression16.ts] ////
-
-//// [fileJs.js]
-true ? false ? (param): string => param : null : null // Not legal JS; "Unexpected token ':'" at last colon
-
-//// [fileTs.ts]
-true ? false ? (param): string => param : null : null
-
-
-//// [fileJs.js]
-true ? false ? function (param) { return param; } : null : null; // Not legal JS; "Unexpected token ':'" at last colon
-//// [fileTs.js]
-true ? false ? function (param) { return param; } : null : null;
diff --git a/tests/baselines/reference/parserArrowFunctionExpression16(target=es6).symbols b/tests/baselines/reference/parserArrowFunctionExpression16(target=es6).symbols
deleted file mode 100644
index 23e92c87d7ffe..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression16(target=es6).symbols
+++ /dev/null
@@ -1,12 +0,0 @@
-//// [tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression16.ts] ////
-
-=== fileJs.js ===
-true ? false ? (param): string => param : null : null // Not legal JS; "Unexpected token ':'" at last colon
->param : Symbol(param, Decl(fileJs.js, 0, 16))
->param : Symbol(param, Decl(fileJs.js, 0, 16))
-
-=== fileTs.ts ===
-true ? false ? (param): string => param : null : null
->param : Symbol(param, Decl(fileTs.ts, 0, 16))
->param : Symbol(param, Decl(fileTs.ts, 0, 16))
-
diff --git a/tests/baselines/reference/parserArrowFunctionExpression16(target=es6).types b/tests/baselines/reference/parserArrowFunctionExpression16(target=es6).types
deleted file mode 100644
index 18000415b6740..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression16(target=es6).types
+++ /dev/null
@@ -1,22 +0,0 @@
-//// [tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression16.ts] ////
-
-=== fileJs.js ===
-true ? false ? (param): string => param : null : null // Not legal JS; "Unexpected token ':'" at last colon
->true ? false ? (param): string => param : null : null : (param: any) => string
->true : true
->false ? (param): string => param : null : (param: any) => string
->false : false
->(param): string => param : (param: any) => string
->param : any
->param : any
-
-=== fileTs.ts ===
-true ? false ? (param): string => param : null : null
->true ? false ? (param): string => param : null : null : (param: any) => string
->true : true
->false ? (param): string => param : null : (param: any) => string
->false : false
->(param): string => param : (param: any) => string
->param : any
->param : any
-
diff --git a/tests/baselines/reference/parserArrowFunctionExpression16(target=es6).errors.txt b/tests/baselines/reference/parserArrowFunctionExpression16.errors.txt
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression16(target=es6).errors.txt
rename to tests/baselines/reference/parserArrowFunctionExpression16.errors.txt
diff --git a/tests/baselines/reference/parserArrowFunctionExpression16(target=es6).js b/tests/baselines/reference/parserArrowFunctionExpression16.js
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression16(target=es6).js
rename to tests/baselines/reference/parserArrowFunctionExpression16.js
diff --git a/tests/baselines/reference/parserArrowFunctionExpression16(target=es3).symbols b/tests/baselines/reference/parserArrowFunctionExpression16.symbols
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression16(target=es3).symbols
rename to tests/baselines/reference/parserArrowFunctionExpression16.symbols
diff --git a/tests/baselines/reference/parserArrowFunctionExpression16(target=es3).types b/tests/baselines/reference/parserArrowFunctionExpression16.types
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression16(target=es3).types
rename to tests/baselines/reference/parserArrowFunctionExpression16.types
diff --git a/tests/baselines/reference/parserArrowFunctionExpression17(target=es3).errors.txt b/tests/baselines/reference/parserArrowFunctionExpression17(target=es3).errors.txt
deleted file mode 100644
index eca650f62c3d9..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression17(target=es3).errors.txt
+++ /dev/null
@@ -1,37 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-fileJs.js(1,1): error TS2304: Cannot find name 'a'.
-fileJs.js(1,5): error TS2304: Cannot find name 'b'.
-fileJs.js(1,15): error TS2304: Cannot find name 'd'.
-fileJs.js(1,15): error TS8010: Type annotations can only be used in TypeScript files.
-fileJs.js(1,20): error TS2304: Cannot find name 'e'.
-fileTs.ts(1,1): error TS2304: Cannot find name 'a'.
-fileTs.ts(1,5): error TS2304: Cannot find name 'b'.
-fileTs.ts(1,15): error TS2304: Cannot find name 'd'.
-fileTs.ts(1,20): error TS2304: Cannot find name 'e'.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== fileJs.js (5 errors) ====
- a ? b : (c) : d => e // Not legal JS; "Unexpected token ':'" at last colon
- ~
-!!! error TS2304: Cannot find name 'a'.
- ~
-!!! error TS2304: Cannot find name 'b'.
- ~
-!!! error TS2304: Cannot find name 'd'.
- ~
-!!! error TS8010: Type annotations can only be used in TypeScript files.
- ~
-!!! error TS2304: Cannot find name 'e'.
-
-==== fileTs.ts (4 errors) ====
- a ? b : (c) : d => e
- ~
-!!! error TS2304: Cannot find name 'a'.
- ~
-!!! error TS2304: Cannot find name 'b'.
- ~
-!!! error TS2304: Cannot find name 'd'.
- ~
-!!! error TS2304: Cannot find name 'e'.
-
\ No newline at end of file
diff --git a/tests/baselines/reference/parserArrowFunctionExpression17(target=es3).js b/tests/baselines/reference/parserArrowFunctionExpression17(target=es3).js
deleted file mode 100644
index a090babb91655..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression17(target=es3).js
+++ /dev/null
@@ -1,13 +0,0 @@
-//// [tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression17.ts] ////
-
-//// [fileJs.js]
-a ? b : (c) : d => e // Not legal JS; "Unexpected token ':'" at last colon
-
-//// [fileTs.ts]
-a ? b : (c) : d => e
-
-
-//// [fileJs.js]
-a ? b : function (c) { return e; }; // Not legal JS; "Unexpected token ':'" at last colon
-//// [fileTs.js]
-a ? b : function (c) { return e; };
diff --git a/tests/baselines/reference/parserArrowFunctionExpression17(target=es6).symbols b/tests/baselines/reference/parserArrowFunctionExpression17(target=es6).symbols
deleted file mode 100644
index b13b54c0e809a..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression17(target=es6).symbols
+++ /dev/null
@@ -1,12 +0,0 @@
-//// [tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression17.ts] ////
-
-=== fileJs.js ===
-a ? b : (c) : d => e // Not legal JS; "Unexpected token ':'" at last colon
->c : Symbol(c, Decl(fileJs.js, 0, 9))
->d : Symbol(d)
-
-=== fileTs.ts ===
-a ? b : (c) : d => e
->c : Symbol(c, Decl(fileTs.ts, 0, 9))
->d : Symbol(d)
-
diff --git a/tests/baselines/reference/parserArrowFunctionExpression17(target=es6).types b/tests/baselines/reference/parserArrowFunctionExpression17(target=es6).types
deleted file mode 100644
index 78fb9c826af8a..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression17(target=es6).types
+++ /dev/null
@@ -1,20 +0,0 @@
-//// [tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression17.ts] ////
-
-=== fileJs.js ===
-a ? b : (c) : d => e // Not legal JS; "Unexpected token ':'" at last colon
->a ? b : (c) : d => e : any
->a : any
->b : any
->(c) : d => e : (c: any) => d
->c : any
->e : any
-
-=== fileTs.ts ===
-a ? b : (c) : d => e
->a ? b : (c) : d => e : any
->a : any
->b : any
->(c) : d => e : (c: any) => d
->c : any
->e : any
-
diff --git a/tests/baselines/reference/parserArrowFunctionExpression17(target=es6).errors.txt b/tests/baselines/reference/parserArrowFunctionExpression17.errors.txt
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression17(target=es6).errors.txt
rename to tests/baselines/reference/parserArrowFunctionExpression17.errors.txt
diff --git a/tests/baselines/reference/parserArrowFunctionExpression17(target=es6).js b/tests/baselines/reference/parserArrowFunctionExpression17.js
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression17(target=es6).js
rename to tests/baselines/reference/parserArrowFunctionExpression17.js
diff --git a/tests/baselines/reference/parserArrowFunctionExpression17(target=es3).symbols b/tests/baselines/reference/parserArrowFunctionExpression17.symbols
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression17(target=es3).symbols
rename to tests/baselines/reference/parserArrowFunctionExpression17.symbols
diff --git a/tests/baselines/reference/parserArrowFunctionExpression17(target=es3).types b/tests/baselines/reference/parserArrowFunctionExpression17.types
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression17(target=es3).types
rename to tests/baselines/reference/parserArrowFunctionExpression17.types
diff --git a/tests/baselines/reference/parserArrowFunctionExpression8(target=es3).errors.txt b/tests/baselines/reference/parserArrowFunctionExpression8(target=es3).errors.txt
deleted file mode 100644
index acfd43e63f4cd..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression8(target=es3).errors.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-fileJs.js(1,1): error TS2304: Cannot find name 'x'.
-fileTs.ts(1,1): error TS2304: Cannot find name 'x'.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== fileJs.js (1 errors) ====
- x ? y => ({ y }) : z => ({ z }) // Legal JS
- ~
-!!! error TS2304: Cannot find name 'x'.
-
-==== fileTs.ts (1 errors) ====
- x ? y => ({ y }) : z => ({ z })
- ~
-!!! error TS2304: Cannot find name 'x'.
-
\ No newline at end of file
diff --git a/tests/baselines/reference/parserArrowFunctionExpression8(target=es3).js b/tests/baselines/reference/parserArrowFunctionExpression8(target=es3).js
deleted file mode 100644
index 2e9378dc55728..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression8(target=es3).js
+++ /dev/null
@@ -1,13 +0,0 @@
-//// [tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression8.ts] ////
-
-//// [fileJs.js]
-x ? y => ({ y }) : z => ({ z }) // Legal JS
-
-//// [fileTs.ts]
-x ? y => ({ y }) : z => ({ z })
-
-
-//// [fileJs.js]
-x ? function (y) { return ({ y: y }); } : function (z) { return ({ z: z }); }; // Legal JS
-//// [fileTs.js]
-x ? function (y) { return ({ y: y }); } : function (z) { return ({ z: z }); };
diff --git a/tests/baselines/reference/parserArrowFunctionExpression8(target=es6).symbols b/tests/baselines/reference/parserArrowFunctionExpression8(target=es6).symbols
deleted file mode 100644
index c17d00e9be56f..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression8(target=es6).symbols
+++ /dev/null
@@ -1,16 +0,0 @@
-//// [tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression8.ts] ////
-
-=== fileJs.js ===
-x ? y => ({ y }) : z => ({ z }) // Legal JS
->y : Symbol(y, Decl(fileJs.js, 0, 3))
->y : Symbol(y, Decl(fileJs.js, 0, 11))
->z : Symbol(z, Decl(fileJs.js, 0, 18))
->z : Symbol(z, Decl(fileJs.js, 0, 26))
-
-=== fileTs.ts ===
-x ? y => ({ y }) : z => ({ z })
->y : Symbol(y, Decl(fileTs.ts, 0, 3))
->y : Symbol(y, Decl(fileTs.ts, 0, 11))
->z : Symbol(z, Decl(fileTs.ts, 0, 18))
->z : Symbol(z, Decl(fileTs.ts, 0, 26))
-
diff --git a/tests/baselines/reference/parserArrowFunctionExpression8(target=es6).types b/tests/baselines/reference/parserArrowFunctionExpression8(target=es6).types
deleted file mode 100644
index 0752f148af691..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression8(target=es6).types
+++ /dev/null
@@ -1,32 +0,0 @@
-//// [tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression8.ts] ////
-
-=== fileJs.js ===
-x ? y => ({ y }) : z => ({ z }) // Legal JS
->x ? y => ({ y }) : z => ({ z }) : ((y: any) => { y: any; }) | ((z: any) => { z: any; })
->x : any
->y => ({ y }) : (y: any) => { y: any; }
->y : any
->({ y }) : { y: any; }
->{ y } : { y: any; }
->y : any
->z => ({ z }) : (z: any) => { z: any; }
->z : any
->({ z }) : { z: any; }
->{ z } : { z: any; }
->z : any
-
-=== fileTs.ts ===
-x ? y => ({ y }) : z => ({ z })
->x ? y => ({ y }) : z => ({ z }) : ((y: any) => { y: any; }) | ((z: any) => { z: any; })
->x : any
->y => ({ y }) : (y: any) => { y: any; }
->y : any
->({ y }) : { y: any; }
->{ y } : { y: any; }
->y : any
->z => ({ z }) : (z: any) => { z: any; }
->z : any
->({ z }) : { z: any; }
->{ z } : { z: any; }
->z : any
-
diff --git a/tests/baselines/reference/parserArrowFunctionExpression8(target=es6).errors.txt b/tests/baselines/reference/parserArrowFunctionExpression8.errors.txt
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression8(target=es6).errors.txt
rename to tests/baselines/reference/parserArrowFunctionExpression8.errors.txt
diff --git a/tests/baselines/reference/parserArrowFunctionExpression8(target=es6).js b/tests/baselines/reference/parserArrowFunctionExpression8.js
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression8(target=es6).js
rename to tests/baselines/reference/parserArrowFunctionExpression8.js
diff --git a/tests/baselines/reference/parserArrowFunctionExpression8(target=es3).symbols b/tests/baselines/reference/parserArrowFunctionExpression8.symbols
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression8(target=es3).symbols
rename to tests/baselines/reference/parserArrowFunctionExpression8.symbols
diff --git a/tests/baselines/reference/parserArrowFunctionExpression8(target=es3).types b/tests/baselines/reference/parserArrowFunctionExpression8.types
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression8(target=es3).types
rename to tests/baselines/reference/parserArrowFunctionExpression8.types
diff --git a/tests/baselines/reference/parserArrowFunctionExpression9(target=es3).errors.txt b/tests/baselines/reference/parserArrowFunctionExpression9(target=es3).errors.txt
deleted file mode 100644
index 5f75eac8bb051..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression9(target=es3).errors.txt
+++ /dev/null
@@ -1,28 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-fileJs.js(1,1): error TS2304: Cannot find name 'b'.
-fileJs.js(1,6): error TS2304: Cannot find name 'c'.
-fileJs.js(1,16): error TS2304: Cannot find name 'e'.
-fileTs.ts(1,1): error TS2304: Cannot find name 'b'.
-fileTs.ts(1,6): error TS2304: Cannot find name 'c'.
-fileTs.ts(1,16): error TS2304: Cannot find name 'e'.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== fileJs.js (3 errors) ====
- b ? (c) : d => e // Legal JS
- ~
-!!! error TS2304: Cannot find name 'b'.
- ~
-!!! error TS2304: Cannot find name 'c'.
- ~
-!!! error TS2304: Cannot find name 'e'.
-
-==== fileTs.ts (3 errors) ====
- b ? (c) : d => e
- ~
-!!! error TS2304: Cannot find name 'b'.
- ~
-!!! error TS2304: Cannot find name 'c'.
- ~
-!!! error TS2304: Cannot find name 'e'.
-
\ No newline at end of file
diff --git a/tests/baselines/reference/parserArrowFunctionExpression9(target=es3).js b/tests/baselines/reference/parserArrowFunctionExpression9(target=es3).js
deleted file mode 100644
index 524ea0bae4710..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression9(target=es3).js
+++ /dev/null
@@ -1,13 +0,0 @@
-//// [tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression9.ts] ////
-
-//// [fileJs.js]
-b ? (c) : d => e // Legal JS
-
-//// [fileTs.ts]
-b ? (c) : d => e
-
-
-//// [fileJs.js]
-b ? (c) : function (d) { return e; }; // Legal JS
-//// [fileTs.js]
-b ? (c) : function (d) { return e; };
diff --git a/tests/baselines/reference/parserArrowFunctionExpression9(target=es6).symbols b/tests/baselines/reference/parserArrowFunctionExpression9(target=es6).symbols
deleted file mode 100644
index ee9d01821aebd..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression9(target=es6).symbols
+++ /dev/null
@@ -1,10 +0,0 @@
-//// [tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression9.ts] ////
-
-=== fileJs.js ===
-b ? (c) : d => e // Legal JS
->d : Symbol(d, Decl(fileJs.js, 0, 9))
-
-=== fileTs.ts ===
-b ? (c) : d => e
->d : Symbol(d, Decl(fileTs.ts, 0, 9))
-
diff --git a/tests/baselines/reference/parserArrowFunctionExpression9(target=es6).types b/tests/baselines/reference/parserArrowFunctionExpression9(target=es6).types
deleted file mode 100644
index de835a4238779..0000000000000
--- a/tests/baselines/reference/parserArrowFunctionExpression9(target=es6).types
+++ /dev/null
@@ -1,22 +0,0 @@
-//// [tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression9.ts] ////
-
-=== fileJs.js ===
-b ? (c) : d => e // Legal JS
->b ? (c) : d => e : any
->b : any
->(c) : any
->c : any
->d => e : (d: any) => any
->d : any
->e : any
-
-=== fileTs.ts ===
-b ? (c) : d => e
->b ? (c) : d => e : any
->b : any
->(c) : any
->c : any
->d => e : (d: any) => any
->d : any
->e : any
-
diff --git a/tests/baselines/reference/parserArrowFunctionExpression9(target=es6).errors.txt b/tests/baselines/reference/parserArrowFunctionExpression9.errors.txt
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression9(target=es6).errors.txt
rename to tests/baselines/reference/parserArrowFunctionExpression9.errors.txt
diff --git a/tests/baselines/reference/parserArrowFunctionExpression9(target=es6).js b/tests/baselines/reference/parserArrowFunctionExpression9.js
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression9(target=es6).js
rename to tests/baselines/reference/parserArrowFunctionExpression9.js
diff --git a/tests/baselines/reference/parserArrowFunctionExpression9(target=es3).symbols b/tests/baselines/reference/parserArrowFunctionExpression9.symbols
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression9(target=es3).symbols
rename to tests/baselines/reference/parserArrowFunctionExpression9.symbols
diff --git a/tests/baselines/reference/parserArrowFunctionExpression9(target=es3).types b/tests/baselines/reference/parserArrowFunctionExpression9.types
similarity index 100%
rename from tests/baselines/reference/parserArrowFunctionExpression9(target=es3).types
rename to tests/baselines/reference/parserArrowFunctionExpression9.types
diff --git a/tests/baselines/reference/privateNameES5Ban(target=es3).errors.txt b/tests/baselines/reference/privateNameES5Ban(target=es3).errors.txt
deleted file mode 100644
index dba64b4f5529b..0000000000000
--- a/tests/baselines/reference/privateNameES5Ban(target=es3).errors.txt
+++ /dev/null
@@ -1,42 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-privateNameES5Ban.ts(3,5): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.
-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 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.
-==== privateNameES5Ban.ts (8 errors) ====
- class A {
- constructor() {}
- #field = 123;
- ~~~~~~
-!!! error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.
- #method() {}
- ~~~~~~~
-!!! error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.
- static #sField = "hello world";
- ~~~~~~~
-!!! error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.
- static #sMethod() {}
- ~~~~~~~~
-!!! error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.
- get #acc() { return ""; }
- ~~~~
-!!! error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.
- set #acc(x: string) {}
- ~~~~
-!!! error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.
- static get #sAcc() { return 0; }
- ~~~~~
-!!! error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.
- static set #sAcc(x: number) {}
- ~~~~~
-!!! 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/privateNameES5Ban(target=es5).js b/tests/baselines/reference/privateNameES5Ban(target=es5).js
deleted file mode 100644
index a2075859a3495..0000000000000
--- a/tests/baselines/reference/privateNameES5Ban(target=es5).js
+++ /dev/null
@@ -1,28 +0,0 @@
-//// [tests/cases/conformance/classes/members/privateNames/privateNameES5Ban.ts] ////
-
-//// [privateNameES5Ban.ts]
-class A {
- constructor() {}
- #field = 123;
- #method() {}
- static #sField = "hello world";
- static #sMethod() {}
- get #acc() { return ""; }
- set #acc(x: string) {}
- static get #sAcc() { return 0; }
- static set #sAcc(x: number) {}
-}
-
-
-
-//// [privateNameES5Ban.js]
-var A = /** @class */ (function () {
- function A() {
- _A_instances.add(this);
- _A_field.set(this, 123);
- }
- var _A_instances, _a, _A_field, _A_method, _A_sField, _A_sMethod, _A_acc_get, _A_acc_set, _A_sAcc_get, _A_sAcc_set;
- _a = A, _A_field = new WeakMap(), _A_instances = new WeakSet(), _A_method = function _A_method() { }, _A_sMethod = function _A_sMethod() { }, _A_acc_get = function _A_acc_get() { return ""; }, _A_acc_set = function _A_acc_set(x) { }, _A_sAcc_get = function _A_sAcc_get() { return 0; }, _A_sAcc_set = function _A_sAcc_set(x) { };
- _A_sField = { value: "hello world" };
- return A;
-}());
diff --git a/tests/baselines/reference/privateNameES5Ban(target=es5).symbols b/tests/baselines/reference/privateNameES5Ban(target=es5).symbols
deleted file mode 100644
index ff7b0b03f633c..0000000000000
--- a/tests/baselines/reference/privateNameES5Ban(target=es5).symbols
+++ /dev/null
@@ -1,35 +0,0 @@
-//// [tests/cases/conformance/classes/members/privateNames/privateNameES5Ban.ts] ////
-
-=== privateNameES5Ban.ts ===
-class A {
->A : Symbol(A, Decl(privateNameES5Ban.ts, 0, 0))
-
- constructor() {}
- #field = 123;
->#field : Symbol(A.#field, Decl(privateNameES5Ban.ts, 1, 20))
-
- #method() {}
->#method : Symbol(A.#method, Decl(privateNameES5Ban.ts, 2, 17))
-
- static #sField = "hello world";
->#sField : Symbol(A.#sField, Decl(privateNameES5Ban.ts, 3, 16))
-
- static #sMethod() {}
->#sMethod : Symbol(A.#sMethod, Decl(privateNameES5Ban.ts, 4, 35))
-
- get #acc() { return ""; }
->#acc : Symbol(A.#acc, Decl(privateNameES5Ban.ts, 5, 24), Decl(privateNameES5Ban.ts, 6, 29))
-
- set #acc(x: string) {}
->#acc : Symbol(A.#acc, Decl(privateNameES5Ban.ts, 5, 24), Decl(privateNameES5Ban.ts, 6, 29))
->x : Symbol(x, Decl(privateNameES5Ban.ts, 7, 13))
-
- static get #sAcc() { return 0; }
->#sAcc : Symbol(A.#sAcc, Decl(privateNameES5Ban.ts, 7, 26), Decl(privateNameES5Ban.ts, 8, 36))
-
- static set #sAcc(x: number) {}
->#sAcc : Symbol(A.#sAcc, Decl(privateNameES5Ban.ts, 7, 26), Decl(privateNameES5Ban.ts, 8, 36))
->x : Symbol(x, Decl(privateNameES5Ban.ts, 9, 21))
-}
-
-
diff --git a/tests/baselines/reference/privateNameES5Ban(target=es5).types b/tests/baselines/reference/privateNameES5Ban(target=es5).types
deleted file mode 100644
index c4b1e51438fbc..0000000000000
--- a/tests/baselines/reference/privateNameES5Ban(target=es5).types
+++ /dev/null
@@ -1,39 +0,0 @@
-//// [tests/cases/conformance/classes/members/privateNames/privateNameES5Ban.ts] ////
-
-=== privateNameES5Ban.ts ===
-class A {
->A : A
-
- constructor() {}
- #field = 123;
->#field : number
->123 : 123
-
- #method() {}
->#method : () => void
-
- static #sField = "hello world";
->#sField : string
->"hello world" : "hello world"
-
- static #sMethod() {}
->#sMethod : () => void
-
- get #acc() { return ""; }
->#acc : string
->"" : ""
-
- set #acc(x: string) {}
->#acc : string
->x : string
-
- static get #sAcc() { return 0; }
->#sAcc : number
->0 : 0
-
- static set #sAcc(x: number) {}
->#sAcc : number
->x : number
-}
-
-
diff --git a/tests/baselines/reference/privateNameES5Ban(target=es5).errors.txt b/tests/baselines/reference/privateNameES5Ban.errors.txt
similarity index 100%
rename from tests/baselines/reference/privateNameES5Ban(target=es5).errors.txt
rename to tests/baselines/reference/privateNameES5Ban.errors.txt
diff --git a/tests/baselines/reference/privateNameES5Ban(target=es3).js b/tests/baselines/reference/privateNameES5Ban.js
similarity index 100%
rename from tests/baselines/reference/privateNameES5Ban(target=es3).js
rename to tests/baselines/reference/privateNameES5Ban.js
diff --git a/tests/baselines/reference/privateNameES5Ban(target=es3).symbols b/tests/baselines/reference/privateNameES5Ban.symbols
similarity index 100%
rename from tests/baselines/reference/privateNameES5Ban(target=es3).symbols
rename to tests/baselines/reference/privateNameES5Ban.symbols
diff --git a/tests/baselines/reference/privateNameES5Ban(target=es3).types b/tests/baselines/reference/privateNameES5Ban.types
similarity index 100%
rename from tests/baselines/reference/privateNameES5Ban(target=es3).types
rename to tests/baselines/reference/privateNameES5Ban.types
diff --git a/tests/baselines/reference/singleLineCommentInConciseArrowFunctionES3.js b/tests/baselines/reference/singleLineCommentInConciseArrowFunctionES3.js
deleted file mode 100644
index 0a526aa08a50e..0000000000000
--- a/tests/baselines/reference/singleLineCommentInConciseArrowFunctionES3.js
+++ /dev/null
@@ -1,16 +0,0 @@
-//// [tests/cases/compiler/singleLineCommentInConciseArrowFunctionES3.ts] ////
-
-//// [singleLineCommentInConciseArrowFunctionES3.ts]
-function test() {
- return () =>
- // some comments here;
- 123;
-}
-
-//// [singleLineCommentInConciseArrowFunctionES3.js]
-function test() {
- return function () {
- // some comments here;
- return 123;
- };
-}
diff --git a/tests/baselines/reference/singleLineCommentInConciseArrowFunctionES3.symbols b/tests/baselines/reference/singleLineCommentInConciseArrowFunctionES3.symbols
deleted file mode 100644
index d291bdba66a49..0000000000000
--- a/tests/baselines/reference/singleLineCommentInConciseArrowFunctionES3.symbols
+++ /dev/null
@@ -1,10 +0,0 @@
-//// [tests/cases/compiler/singleLineCommentInConciseArrowFunctionES3.ts] ////
-
-=== singleLineCommentInConciseArrowFunctionES3.ts ===
-function test() {
->test : Symbol(test, Decl(singleLineCommentInConciseArrowFunctionES3.ts, 0, 0))
-
- return () =>
- // some comments here;
- 123;
-}
diff --git a/tests/baselines/reference/singleLineCommentInConciseArrowFunctionES3.types b/tests/baselines/reference/singleLineCommentInConciseArrowFunctionES3.types
deleted file mode 100644
index 0f3d4aa0a50a1..0000000000000
--- a/tests/baselines/reference/singleLineCommentInConciseArrowFunctionES3.types
+++ /dev/null
@@ -1,13 +0,0 @@
-//// [tests/cases/compiler/singleLineCommentInConciseArrowFunctionES3.ts] ////
-
-=== singleLineCommentInConciseArrowFunctionES3.ts ===
-function test() {
->test : () => () => number
-
- return () =>
->() => // some comments here; 123 : () => number
-
- // some comments here;
- 123;
->123 : 123
-}
diff --git a/tests/baselines/reference/sourceMap-Comment1.errors.txt b/tests/baselines/reference/sourceMap-Comment1.errors.txt
deleted file mode 100644
index 73fdaa403cb39..0000000000000
--- a/tests/baselines/reference/sourceMap-Comment1.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.
-==== sourceMap-Comment1.ts (0 errors) ====
- // Comment
\ No newline at end of file
diff --git a/tests/baselines/reference/sourceMap-EmptyFile1.errors.txt b/tests/baselines/reference/sourceMap-EmptyFile1.errors.txt
deleted file mode 100644
index 42a96072591e7..0000000000000
--- a/tests/baselines/reference/sourceMap-EmptyFile1.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.
-==== sourceMap-EmptyFile1.ts (0 errors) ====
-
\ No newline at end of file
diff --git a/tests/baselines/reference/sourceMap-InterfacePrecedingVariableDeclaration1.errors.txt b/tests/baselines/reference/sourceMap-InterfacePrecedingVariableDeclaration1.errors.txt
deleted file mode 100644
index 2d793befeca91..0000000000000
--- a/tests/baselines/reference/sourceMap-InterfacePrecedingVariableDeclaration1.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.
-==== sourceMap-InterfacePrecedingVariableDeclaration1.ts (0 errors) ====
- interface I {}
- var x = 0;
\ No newline at end of file
diff --git a/tests/baselines/reference/sourceMap-LineBreaks.errors.txt b/tests/baselines/reference/sourceMap-LineBreaks.errors.txt
deleted file mode 100644
index b796ecf1fabe5..0000000000000
--- a/tests/baselines/reference/sourceMap-LineBreaks.errors.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== sourceMap-LineBreaks.ts (0 errors) ====
- var endsWithlineSeparator = 10;
var endsWithParagraphSeparator = 10;
var endsWithNextLine = 1;
var endsWithLineFeed = 1;
- var endsWithCarriageReturnLineFeed = 1;
- var endsWithCarriageReturn = 1;
var endsWithLineFeedCarriageReturn = 1;
-
var endsWithLineFeedCarriageReturnLineFeed = 1;
-
- var stringLiteralWithLineFeed = "line 1\
- line 2";
- var stringLiteralWithCarriageReturnLineFeed = "line 1\
- line 2";
- var stringLiteralWithCarriageReturn = "line 1\
line 2";
-
- var stringLiteralWithLineSeparator = "line 1\
line 2";
var stringLiteralWithParagraphSeparator = "line 1\
line 2";
var stringLiteralWithNextLine = "line 1\
line 2";
\ No newline at end of file
diff --git a/tests/baselines/reference/sourceMap-NewLine1.errors.txt b/tests/baselines/reference/sourceMap-NewLine1.errors.txt
deleted file mode 100644
index d6daff1f13140..0000000000000
--- a/tests/baselines/reference/sourceMap-NewLine1.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.
-==== sourceMap-NewLine1.ts (0 errors) ====
-
\ No newline at end of file
diff --git a/tests/baselines/reference/sourceMap-SemiColon1.errors.txt b/tests/baselines/reference/sourceMap-SemiColon1.errors.txt
deleted file mode 100644
index 4e3fb870b11df..0000000000000
--- a/tests/baselines/reference/sourceMap-SemiColon1.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.
-==== sourceMap-SemiColon1.ts (0 errors) ====
- ;
-
\ No newline at end of file
diff --git a/tests/baselines/reference/sourceMap-SingleSpace1.errors.txt b/tests/baselines/reference/sourceMap-SingleSpace1.errors.txt
deleted file mode 100644
index d26caed51e582..0000000000000
--- a/tests/baselines/reference/sourceMap-SingleSpace1.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.
-==== sourceMap-SingleSpace1.ts (0 errors) ====
-
\ No newline at end of file
diff --git a/tests/baselines/reference/sourceMap-StringLiteralWithNewLine.errors.txt b/tests/baselines/reference/sourceMap-StringLiteralWithNewLine.errors.txt
deleted file mode 100644
index e62c50670164a..0000000000000
--- a/tests/baselines/reference/sourceMap-StringLiteralWithNewLine.errors.txt
+++ /dev/null
@@ -1,18 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== sourceMap-StringLiteralWithNewLine.ts (0 errors) ====
- interface Document {
- }
- interface Window {
- document: Document;
- }
- declare var window: Window;
-
- module Foo {
- var x = "test1";
- var y = "test 2\
- isn't this a lot of fun";
- var z = window.document;
- }
\ No newline at end of file
diff --git a/tests/baselines/reference/taggedTemplateStringsWithCurriedFunction.errors.txt b/tests/baselines/reference/taggedTemplateStringsWithCurriedFunction.errors.txt
deleted file mode 100644
index 4f2fce6f140d3..0000000000000
--- a/tests/baselines/reference/taggedTemplateStringsWithCurriedFunction.errors.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== taggedTemplateStringsWithCurriedFunction.ts (0 errors) ====
- // Originated from #38558
-
- const f = _ => (..._) => "";
-
- f({ ...{ x: 0 } })``;
- f({ ...{ x: 0 } })`x`;
- f({ ...{ x: 0 } })`x${f}x`;
- f({ ...{ x: 0 }, y: (() => 1)() })``;
- f({ x: (() => 1)(), ...{ y: 1 } })``;
-
\ No newline at end of file
diff --git a/tests/baselines/reference/trailingCommasES3.errors.txt b/tests/baselines/reference/trailingCommasES3.errors.txt
deleted file mode 100644
index d6e42060c0a84..0000000000000
--- a/tests/baselines/reference/trailingCommasES3.errors.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== trailingCommasES3.ts (0 errors) ====
- var o1 = { a: 1, b: 2 };
- var o2 = { a: 1, b: 2, };
- var o3 = { a: 1, };
- var o4 = {};
-
- var a1 = [1, 2];
- var a2 = [1, 2, ];
- var a3 = [1, ];
- var a4 = [];
- var a5 = [1, , ];
- var a6 = [, , ];
\ No newline at end of file
diff --git a/tests/baselines/reference/trailingCommasES3.js b/tests/baselines/reference/trailingCommasES3.js
deleted file mode 100644
index 11d2d0d8f0c9f..0000000000000
--- a/tests/baselines/reference/trailingCommasES3.js
+++ /dev/null
@@ -1,26 +0,0 @@
-//// [tests/cases/compiler/trailingCommasES3.ts] ////
-
-//// [trailingCommasES3.ts]
-var o1 = { a: 1, b: 2 };
-var o2 = { a: 1, b: 2, };
-var o3 = { a: 1, };
-var o4 = {};
-
-var a1 = [1, 2];
-var a2 = [1, 2, ];
-var a3 = [1, ];
-var a4 = [];
-var a5 = [1, , ];
-var a6 = [, , ];
-
-//// [trailingCommasES3.js]
-var o1 = { a: 1, b: 2 };
-var o2 = { a: 1, b: 2, };
-var o3 = { a: 1, };
-var o4 = {};
-var a1 = [1, 2];
-var a2 = [1, 2,];
-var a3 = [1,];
-var a4 = [];
-var a5 = [1, ,];
-var a6 = [, ,];
diff --git a/tests/baselines/reference/trailingCommasES3.symbols b/tests/baselines/reference/trailingCommasES3.symbols
deleted file mode 100644
index ca30024e254e5..0000000000000
--- a/tests/baselines/reference/trailingCommasES3.symbols
+++ /dev/null
@@ -1,38 +0,0 @@
-//// [tests/cases/compiler/trailingCommasES3.ts] ////
-
-=== trailingCommasES3.ts ===
-var o1 = { a: 1, b: 2 };
->o1 : Symbol(o1, Decl(trailingCommasES3.ts, 0, 3))
->a : Symbol(a, Decl(trailingCommasES3.ts, 0, 10))
->b : Symbol(b, Decl(trailingCommasES3.ts, 0, 16))
-
-var o2 = { a: 1, b: 2, };
->o2 : Symbol(o2, Decl(trailingCommasES3.ts, 1, 3))
->a : Symbol(a, Decl(trailingCommasES3.ts, 1, 10))
->b : Symbol(b, Decl(trailingCommasES3.ts, 1, 16))
-
-var o3 = { a: 1, };
->o3 : Symbol(o3, Decl(trailingCommasES3.ts, 2, 3))
->a : Symbol(a, Decl(trailingCommasES3.ts, 2, 10))
-
-var o4 = {};
->o4 : Symbol(o4, Decl(trailingCommasES3.ts, 3, 3))
-
-var a1 = [1, 2];
->a1 : Symbol(a1, Decl(trailingCommasES3.ts, 5, 3))
-
-var a2 = [1, 2, ];
->a2 : Symbol(a2, Decl(trailingCommasES3.ts, 6, 3))
-
-var a3 = [1, ];
->a3 : Symbol(a3, Decl(trailingCommasES3.ts, 7, 3))
-
-var a4 = [];
->a4 : Symbol(a4, Decl(trailingCommasES3.ts, 8, 3))
-
-var a5 = [1, , ];
->a5 : Symbol(a5, Decl(trailingCommasES3.ts, 9, 3))
-
-var a6 = [, , ];
->a6 : Symbol(a6, Decl(trailingCommasES3.ts, 10, 3))
-
diff --git a/tests/baselines/reference/trailingCommasES3.types b/tests/baselines/reference/trailingCommasES3.types
deleted file mode 100644
index 48c565ea92300..0000000000000
--- a/tests/baselines/reference/trailingCommasES3.types
+++ /dev/null
@@ -1,62 +0,0 @@
-//// [tests/cases/compiler/trailingCommasES3.ts] ////
-
-=== trailingCommasES3.ts ===
-var o1 = { a: 1, b: 2 };
->o1 : { a: number; b: number; }
->{ a: 1, b: 2 } : { a: number; b: number; }
->a : number
->1 : 1
->b : number
->2 : 2
-
-var o2 = { a: 1, b: 2, };
->o2 : { a: number; b: number; }
->{ a: 1, b: 2, } : { a: number; b: number; }
->a : number
->1 : 1
->b : number
->2 : 2
-
-var o3 = { a: 1, };
->o3 : { a: number; }
->{ a: 1, } : { a: number; }
->a : number
->1 : 1
-
-var o4 = {};
->o4 : {}
->{} : {}
-
-var a1 = [1, 2];
->a1 : number[]
->[1, 2] : number[]
->1 : 1
->2 : 2
-
-var a2 = [1, 2, ];
->a2 : number[]
->[1, 2, ] : number[]
->1 : 1
->2 : 2
-
-var a3 = [1, ];
->a3 : number[]
->[1, ] : number[]
->1 : 1
-
-var a4 = [];
->a4 : any[]
->[] : undefined[]
-
-var a5 = [1, , ];
->a5 : number[]
->[1, , ] : number[]
->1 : 1
-> : undefined
-
-var a6 = [, , ];
->a6 : any[]
->[, , ] : undefined[]
-> : undefined
-> : undefined
-
diff --git a/tests/baselines/reference/typeFromPropertyAssignmentOutOfOrder.errors.txt b/tests/baselines/reference/typeFromPropertyAssignmentOutOfOrder.errors.txt
deleted file mode 100644
index 029f9f56eefda..0000000000000
--- a/tests/baselines/reference/typeFromPropertyAssignmentOutOfOrder.errors.txt
+++ /dev/null
@@ -1,18 +0,0 @@
-error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-
-
-!!! error TS5108: Option 'target=ES3' has been removed. Please remove it from your configuration.
-==== index.js (0 errors) ====
- First.Item = class I {}
- Common.Object = class extends First.Item {}
-
- Workspace.Object = class extends Common.Object {}
-
- /** @type {Workspace.Object} */
- var am;
-
-==== roots.js (0 errors) ====
- var First = {};
- var Common = {};
- var Workspace = {};
-
\ No newline at end of file
diff --git a/tests/cases/compiler/accessorsNotAllowedInES3.ts b/tests/cases/compiler/accessorsNotAllowedInES3.ts
deleted file mode 100644
index 5bcbac4ebaa9f..0000000000000
--- a/tests/cases/compiler/accessorsNotAllowedInES3.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-// @target: ES3
-
-class C {
- get x(): number { return 1; }
-}
-var y = { get foo() { return 3; } };
diff --git a/tests/cases/compiler/bigIntWithTargetES3.ts b/tests/cases/compiler/bigIntWithTargetES3.ts
deleted file mode 100644
index 95753904f4bf7..0000000000000
--- a/tests/cases/compiler/bigIntWithTargetES3.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-// @target: es3
-
-const normalNumber = 123; // should not error
-let bigintType: bigint; // should not error
-let bigintLiteralType: 123n; // should not error when used as type
-let bigintNegativeLiteralType: -123n; // should not error when used as type
-const bigintNumber = 123n * 0b1111n + 0o444n * 0x7fn; // each literal should error
diff --git a/tests/cases/compiler/emptyFile-declaration.ts b/tests/cases/compiler/emptyFile-declaration.ts
index 6c3661ad429da..686d5ff058d7f 100644
--- a/tests/cases/compiler/emptyFile-declaration.ts
+++ b/tests/cases/compiler/emptyFile-declaration.ts
@@ -1,4 +1,4 @@
-// @target: ES3
+// @target: ES5
// @sourcemap: false
// @declaration: true
// @module: commonjs
\ No newline at end of file
diff --git a/tests/cases/compiler/emptyFile-souremap.ts b/tests/cases/compiler/emptyFile-souremap.ts
index 4700c6eee56ed..0f7b53c529c9a 100644
--- a/tests/cases/compiler/emptyFile-souremap.ts
+++ b/tests/cases/compiler/emptyFile-souremap.ts
@@ -1,4 +1,4 @@
-// @target: ES3
+// @target: ES5
// @sourcemap: true
// @declaration: false
// @module: commonjs
\ No newline at end of file
diff --git a/tests/cases/compiler/es3-amd.ts b/tests/cases/compiler/es3-amd.ts
deleted file mode 100644
index 2d9cfe10ebac0..0000000000000
--- a/tests/cases/compiler/es3-amd.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-// @target: ES3
-// @sourcemap: false
-// @declaration: false
-// @module: amd
-
-class A
-{
- constructor ()
- {
-
- }
-
- public B()
- {
- return 42;
- }
-}
\ No newline at end of file
diff --git a/tests/cases/compiler/es3-declaration-amd.ts b/tests/cases/compiler/es3-declaration-amd.ts
deleted file mode 100644
index 25207ac8df461..0000000000000
--- a/tests/cases/compiler/es3-declaration-amd.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-// @target: ES3
-// @sourcemap: false
-// @declaration: true
-// @module: amd
-
-class A
-{
- constructor ()
- {
-
- }
-
- public B()
- {
- return 42;
- }
-}
\ No newline at end of file
diff --git a/tests/cases/compiler/es3-jsx-preserve.tsx b/tests/cases/compiler/es3-jsx-preserve.tsx
deleted file mode 100644
index f6092e692b496..0000000000000
--- a/tests/cases/compiler/es3-jsx-preserve.tsx
+++ /dev/null
@@ -1,9 +0,0 @@
-// @target: ES3
-// @sourcemap: false
-// @declaration: false
-// @jsx: preserve
-
-const React: any = null;
-
-const elem = ;
-
diff --git a/tests/cases/compiler/es3-jsx-react-native.tsx b/tests/cases/compiler/es3-jsx-react-native.tsx
deleted file mode 100644
index 9ed0f9e003d3b..0000000000000
--- a/tests/cases/compiler/es3-jsx-react-native.tsx
+++ /dev/null
@@ -1,9 +0,0 @@
-// @target: ES3
-// @sourcemap: false
-// @declaration: false
-// @jsx: react-native
-
-const React: any = null;
-
-const elem = ;
-
diff --git a/tests/cases/compiler/es3-jsx-react.tsx b/tests/cases/compiler/es3-jsx-react.tsx
deleted file mode 100644
index d47aea9613f26..0000000000000
--- a/tests/cases/compiler/es3-jsx-react.tsx
+++ /dev/null
@@ -1,9 +0,0 @@
-// @target: ES3
-// @sourcemap: false
-// @declaration: false
-// @jsx: react
-
-const React: any = null;
-
-const elem = ;
-
diff --git a/tests/cases/compiler/es3-oldStyleOctalLiteralInEnums.ts b/tests/cases/compiler/es3-oldStyleOctalLiteralInEnums.ts
deleted file mode 100644
index 93489ee482062..0000000000000
--- a/tests/cases/compiler/es3-oldStyleOctalLiteralInEnums.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-// @target: ES3
-enum E {
- x = -01,
- y = 02,
-}
\ No newline at end of file
diff --git a/tests/cases/compiler/es3-oldStyleOctalLiteralTypes.ts b/tests/cases/compiler/es3-oldStyleOctalLiteralTypes.ts
deleted file mode 100644
index c5a5475e30029..0000000000000
--- a/tests/cases/compiler/es3-oldStyleOctalLiteralTypes.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-// @target: ES3
-let x: 010;
-let y: -020;
diff --git a/tests/cases/compiler/es3-sourcemap-amd.ts b/tests/cases/compiler/es3-sourcemap-amd.ts
deleted file mode 100644
index a39818680ae94..0000000000000
--- a/tests/cases/compiler/es3-sourcemap-amd.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-// @target: ES3
-// @sourcemap: true
-// @module: amd
-
-class A
-{
- constructor ()
- {
-
- }
-
- public B()
- {
- return 42;
- }
-}
\ No newline at end of file
diff --git a/tests/cases/compiler/es3defaultAliasIsQuoted.ts b/tests/cases/compiler/es3defaultAliasIsQuoted.ts
deleted file mode 100644
index ccaa0268906ad..0000000000000
--- a/tests/cases/compiler/es3defaultAliasIsQuoted.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-// @module: commonjs
-// @target: es3
-
-// @Filename: es3defaultAliasQuoted_file0.ts
-export class Foo {
- static CONSTANT = "Foo";
-}
-
-export default function assert(value: boolean) {
- if (!value) throw new Error("Assertion failed!");
-}
-
-// @Filename: es3defaultAliasQuoted_file1.ts
-import {Foo, default as assert} from "./es3defaultAliasQuoted_file0";
-assert(Foo.CONSTANT === "Foo");
\ No newline at end of file
diff --git a/tests/cases/compiler/esModuleInteropWithExportStar.ts b/tests/cases/compiler/esModuleInteropWithExportStar.ts
index 460221eabe52d..a3ef5c2c2e56c 100644
--- a/tests/cases/compiler/esModuleInteropWithExportStar.ts
+++ b/tests/cases/compiler/esModuleInteropWithExportStar.ts
@@ -1,5 +1,5 @@
// @esModuleInterop: true
-// @target: es3,es5
+// @target: es5
// @filename: fs.d.ts
export const x: number;
// @filename: mjts.ts
diff --git a/tests/cases/compiler/inlineSourceMap.ts b/tests/cases/compiler/inlineSourceMap.ts
index 35e9845ba58d5..eaedcc8e48334 100644
--- a/tests/cases/compiler/inlineSourceMap.ts
+++ b/tests/cases/compiler/inlineSourceMap.ts
@@ -1,4 +1,4 @@
-// @target: ES3
+// @target: ES5
// @inlinesourcemap: true
var x = 0;
diff --git a/tests/cases/compiler/inlineSourceMap2.ts b/tests/cases/compiler/inlineSourceMap2.ts
index 18ec5b46bacf8..a849cd97c432e 100644
--- a/tests/cases/compiler/inlineSourceMap2.ts
+++ b/tests/cases/compiler/inlineSourceMap2.ts
@@ -1,4 +1,4 @@
-// @target: ES3
+// @target: ES5
// @sourcemap: true
// @maproot: file:///folder
// @sourceroot: file:///folder
diff --git a/tests/cases/compiler/inlineSources.ts b/tests/cases/compiler/inlineSources.ts
index 1153db4d85bfa..107b54bc95e45 100644
--- a/tests/cases/compiler/inlineSources.ts
+++ b/tests/cases/compiler/inlineSources.ts
@@ -1,4 +1,4 @@
-// @target: ES3
+// @target: ES5
// @sourcemap: true
// @inlinesources: true
// @outFile: out.js
diff --git a/tests/cases/compiler/inlineSources2.ts b/tests/cases/compiler/inlineSources2.ts
index 69cd338cf38a8..032e60a0aa9bb 100644
--- a/tests/cases/compiler/inlineSources2.ts
+++ b/tests/cases/compiler/inlineSources2.ts
@@ -1,4 +1,4 @@
-// @target: ES3
+// @target: ES5
// @inlinesourcemap: true
// @inlinesources: true
// @outFile: out.js
diff --git a/tests/cases/compiler/isLiteral2.ts b/tests/cases/compiler/isLiteral2.ts
deleted file mode 100644
index 0c04513ab21f9..0000000000000
--- a/tests/cases/compiler/isLiteral2.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-// @target: es3
-var x: number = 02343
\ No newline at end of file
diff --git a/tests/cases/compiler/numericUnderscoredSeparator.ts b/tests/cases/compiler/numericUnderscoredSeparator.ts
index 3b532de43880a..78f39faeb95f9 100644
--- a/tests/cases/compiler/numericUnderscoredSeparator.ts
+++ b/tests/cases/compiler/numericUnderscoredSeparator.ts
@@ -1,4 +1,4 @@
-// @target: es3,es5,es2015,es2016,es2017,es2018,es2019,esnext
+// @target: es5,es2015,es2016,es2017,es2018,es2019,esnext
1_000_000_000_000
0b1010_0001_1000_0101
diff --git a/tests/cases/compiler/singleLineCommentInConciseArrowFunctionES3.ts b/tests/cases/compiler/singleLineCommentInConciseArrowFunctionES3.ts
deleted file mode 100644
index 0538df1c2d025..0000000000000
--- a/tests/cases/compiler/singleLineCommentInConciseArrowFunctionES3.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-function test() {
- return () =>
- // some comments here;
- 123;
-}
\ No newline at end of file
diff --git a/tests/cases/compiler/sourceMap-Comment1.ts b/tests/cases/compiler/sourceMap-Comment1.ts
index 9f0dbcbe4c4c6..44395be19e864 100644
--- a/tests/cases/compiler/sourceMap-Comment1.ts
+++ b/tests/cases/compiler/sourceMap-Comment1.ts
@@ -1,3 +1,3 @@
-// @target: ES3
+// @target: ES5
// @sourcemap: true
// Comment
\ No newline at end of file
diff --git a/tests/cases/compiler/sourceMap-EmptyFile1.ts b/tests/cases/compiler/sourceMap-EmptyFile1.ts
index e8d37ffa4225d..efbb0920a3ef2 100644
--- a/tests/cases/compiler/sourceMap-EmptyFile1.ts
+++ b/tests/cases/compiler/sourceMap-EmptyFile1.ts
@@ -1,2 +1,2 @@
-// @target: ES3
+// @target: ES5
// @sourcemap: true
\ No newline at end of file
diff --git a/tests/cases/compiler/sourceMap-InterfacePrecedingVariableDeclaration1.ts b/tests/cases/compiler/sourceMap-InterfacePrecedingVariableDeclaration1.ts
index df44fc0800db1..b87315ad278a9 100644
--- a/tests/cases/compiler/sourceMap-InterfacePrecedingVariableDeclaration1.ts
+++ b/tests/cases/compiler/sourceMap-InterfacePrecedingVariableDeclaration1.ts
@@ -1,4 +1,4 @@
-// @target: ES3
+// @target: ES5
// @sourcemap: true
interface I {}
diff --git a/tests/cases/compiler/sourceMap-LineBreaks.ts b/tests/cases/compiler/sourceMap-LineBreaks.ts
index 0a765737a6988..db8e81a4a7a84 100644
--- a/tests/cases/compiler/sourceMap-LineBreaks.ts
+++ b/tests/cases/compiler/sourceMap-LineBreaks.ts
@@ -1,4 +1,4 @@
-// @target: ES3
+// @target: ES5
// @sourcemap: true
var endsWithlineSeparator = 10;
var endsWithParagraphSeparator = 10;
var endsWithNextLine = 1;
var endsWithLineFeed = 1;
var endsWithCarriageReturnLineFeed = 1;
diff --git a/tests/cases/compiler/sourceMap-NewLine1.ts b/tests/cases/compiler/sourceMap-NewLine1.ts
index d5840a15dea69..7f7f9c9a147a1 100644
--- a/tests/cases/compiler/sourceMap-NewLine1.ts
+++ b/tests/cases/compiler/sourceMap-NewLine1.ts
@@ -1,3 +1,3 @@
-// @target: ES3
+// @target: ES5
// @sourcemap: true
diff --git a/tests/cases/compiler/sourceMap-SemiColon1.ts b/tests/cases/compiler/sourceMap-SemiColon1.ts
index b06e1ee05c4e9..c782bfac0caaa 100644
--- a/tests/cases/compiler/sourceMap-SemiColon1.ts
+++ b/tests/cases/compiler/sourceMap-SemiColon1.ts
@@ -1,3 +1,3 @@
-// @target: ES3
+// @target: ES5
// @sourcemap: true
;
diff --git a/tests/cases/compiler/sourceMap-SingleSpace1.ts b/tests/cases/compiler/sourceMap-SingleSpace1.ts
index 41dec3d730dc5..8e8ad5e608dea 100644
--- a/tests/cases/compiler/sourceMap-SingleSpace1.ts
+++ b/tests/cases/compiler/sourceMap-SingleSpace1.ts
@@ -1,3 +1,3 @@
-// @target: ES3
+// @target: ES5
// @sourcemap: true
\ No newline at end of file
diff --git a/tests/cases/compiler/sourceMap-StringLiteralWithNewLine.ts b/tests/cases/compiler/sourceMap-StringLiteralWithNewLine.ts
index a4ddd242d4a6a..a4103a0b62c25 100644
--- a/tests/cases/compiler/sourceMap-StringLiteralWithNewLine.ts
+++ b/tests/cases/compiler/sourceMap-StringLiteralWithNewLine.ts
@@ -1,5 +1,5 @@
// @lib: es5
-// @target: ES3
+// @target: ES5
// @sourcemap: true
interface Document {
diff --git a/tests/cases/compiler/taggedTemplateStringsWithCurriedFunction.ts b/tests/cases/compiler/taggedTemplateStringsWithCurriedFunction.ts
index d41150e4cb767..3accdd66e844e 100644
--- a/tests/cases/compiler/taggedTemplateStringsWithCurriedFunction.ts
+++ b/tests/cases/compiler/taggedTemplateStringsWithCurriedFunction.ts
@@ -1,4 +1,4 @@
-//@target: es3
+//@target: es5
// Originated from #38558
diff --git a/tests/cases/compiler/trailingCommasES3.ts b/tests/cases/compiler/trailingCommasES3.ts
deleted file mode 100644
index cc35f8e4823c7..0000000000000
--- a/tests/cases/compiler/trailingCommasES3.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-// @target: es3
-
-var o1 = { a: 1, b: 2 };
-var o2 = { a: 1, b: 2, };
-var o3 = { a: 1, };
-var o4 = {};
-
-var a1 = [1, 2];
-var a2 = [1, 2, ];
-var a3 = [1, ];
-var a4 = [];
-var a5 = [1, , ];
-var a6 = [, , ];
\ No newline at end of file
diff --git a/tests/cases/conformance/classes/members/privateNames/privateNameES5Ban.ts b/tests/cases/conformance/classes/members/privateNames/privateNameES5Ban.ts
index 169351c9822ad..0d5ec7a66499d 100644
--- a/tests/cases/conformance/classes/members/privateNames/privateNameES5Ban.ts
+++ b/tests/cases/conformance/classes/members/privateNames/privateNameES5Ban.ts
@@ -1,4 +1,4 @@
-// @target: es5, es3
+// @target: es5
class A {
constructor() {}
diff --git a/tests/cases/conformance/classes/propertyMemberDeclarations/definePropertyOutputES3.ts b/tests/cases/conformance/classes/propertyMemberDeclarations/definePropertyOutputES3.ts
deleted file mode 100644
index f6a62d32650fa..0000000000000
--- a/tests/cases/conformance/classes/propertyMemberDeclarations/definePropertyOutputES3.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-// @target: es3
-// @useDefineForClassFields: true
-class A {
- a = 12
-}
diff --git a/tests/cases/conformance/classes/propertyMemberDeclarations/memberAccessorDeclarations/accessorWithES3.ts b/tests/cases/conformance/classes/propertyMemberDeclarations/memberAccessorDeclarations/accessorWithES3.ts
deleted file mode 100644
index 4506462b7f3de..0000000000000
--- a/tests/cases/conformance/classes/propertyMemberDeclarations/memberAccessorDeclarations/accessorWithES3.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-// @target: ES3
-
-// error to use accessors in ES3 mode
-
-class C {
- get x() {
- return 1;
- }
-}
-
-class D {
- set x(v) {
- }
-}
-
-var x = {
- get a() { return 1 }
-}
-
-var y = {
- set b(v) { }
-}
\ No newline at end of file
diff --git a/tests/cases/conformance/classes/propertyMemberDeclarations/memberAccessorDeclarations/ambientAccessors.ts b/tests/cases/conformance/classes/propertyMemberDeclarations/memberAccessorDeclarations/ambientAccessors.ts
index 44861363ad825..597a1adbf5a78 100644
--- a/tests/cases/conformance/classes/propertyMemberDeclarations/memberAccessorDeclarations/ambientAccessors.ts
+++ b/tests/cases/conformance/classes/propertyMemberDeclarations/memberAccessorDeclarations/ambientAccessors.ts
@@ -1,4 +1,4 @@
-// @target: es3, es5
+// @target: es5
// @declaration: true
// ok to use accessors in ambient class in ES3
declare class C {
diff --git a/tests/cases/conformance/dynamicImport/importCallExpressionAsyncES3AMD.ts b/tests/cases/conformance/dynamicImport/importCallExpressionAsyncES3AMD.ts
deleted file mode 100644
index d92b5f2708519..0000000000000
--- a/tests/cases/conformance/dynamicImport/importCallExpressionAsyncES3AMD.ts
+++ /dev/null
@@ -1,31 +0,0 @@
-// @module: amd
-// @target: es3
-// @lib: es6
-// @filename: test.ts
-export async function fn() {
- const req = await import('./test') // ONE
-}
-
-export class cl1 {
- public async m() {
- const req = await import('./test') // TWO
- }
-}
-
-export const obj = {
- m: async () => {
- const req = await import('./test') // THREE
- }
-}
-
-export class cl2 {
- public p = {
- m: async () => {
- const req = await import('./test') // FOUR
- }
- }
-}
-
-export const l = async () => {
- const req = await import('./test') // FIVE
-}
diff --git a/tests/cases/conformance/dynamicImport/importCallExpressionAsyncES3CJS.ts b/tests/cases/conformance/dynamicImport/importCallExpressionAsyncES3CJS.ts
deleted file mode 100644
index 6807bff9ebcdb..0000000000000
--- a/tests/cases/conformance/dynamicImport/importCallExpressionAsyncES3CJS.ts
+++ /dev/null
@@ -1,31 +0,0 @@
-// @module: commonjs
-// @target: es3
-// @lib: es6
-// @filename: test.ts
-export async function fn() {
- const req = await import('./test') // ONE
-}
-
-export class cl1 {
- public async m() {
- const req = await import('./test') // TWO
- }
-}
-
-export const obj = {
- m: async () => {
- const req = await import('./test') // THREE
- }
-}
-
-export class cl2 {
- public p = {
- m: async () => {
- const req = await import('./test') // FOUR
- }
- }
-}
-
-export const l = async () => {
- const req = await import('./test') // FIVE
-}
diff --git a/tests/cases/conformance/dynamicImport/importCallExpressionAsyncES3System.ts b/tests/cases/conformance/dynamicImport/importCallExpressionAsyncES3System.ts
deleted file mode 100644
index e39e80b8fab2c..0000000000000
--- a/tests/cases/conformance/dynamicImport/importCallExpressionAsyncES3System.ts
+++ /dev/null
@@ -1,31 +0,0 @@
-// @module: system
-// @target: es3
-// @lib: es6
-// @filename: test.ts
-export async function fn() {
- const req = await import('./test') // ONE
-}
-
-export class cl1 {
- public async m() {
- const req = await import('./test') // TWO
- }
-}
-
-export const obj = {
- m: async () => {
- const req = await import('./test') // THREE
- }
-}
-
-export class cl2 {
- public p = {
- m: async () => {
- const req = await import('./test') // FOUR
- }
- }
-}
-
-export const l = async () => {
- const req = await import('./test') // FIVE
-}
diff --git a/tests/cases/conformance/dynamicImport/importCallExpressionAsyncES3UMD.ts b/tests/cases/conformance/dynamicImport/importCallExpressionAsyncES3UMD.ts
deleted file mode 100644
index 7c5fb5da98ec7..0000000000000
--- a/tests/cases/conformance/dynamicImport/importCallExpressionAsyncES3UMD.ts
+++ /dev/null
@@ -1,31 +0,0 @@
-// @module: umd
-// @target: es3
-// @lib: es6
-// @filename: test.ts
-export async function fn() {
- const req = await import('./test') // ONE
-}
-
-export class cl1 {
- public async m() {
- const req = await import('./test') // TWO
- }
-}
-
-export const obj = {
- m: async () => {
- const req = await import('./test') // THREE
- }
-}
-
-export class cl2 {
- public p = {
- m: async () => {
- const req = await import('./test') // FOUR
- }
- }
-}
-
-export const l = async () => {
- const req = await import('./test') // FIVE
-}
diff --git a/tests/cases/conformance/es6/modules/exportAndImport-es3-amd.ts b/tests/cases/conformance/es6/modules/exportAndImport-es3-amd.ts
deleted file mode 100644
index 725230dbe6d01..0000000000000
--- a/tests/cases/conformance/es6/modules/exportAndImport-es3-amd.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-//@module: amd
-//@target: ES3
-
-// @filename: m1.ts
-export default function f1() {
-}
-
-// @filename: m2.ts
-import f1 from "./m1";
-export default function f2() {
- f1();
-}
diff --git a/tests/cases/conformance/es6/modules/exportAndImport-es3.ts b/tests/cases/conformance/es6/modules/exportAndImport-es3.ts
deleted file mode 100644
index fbb6ad5f20bf7..0000000000000
--- a/tests/cases/conformance/es6/modules/exportAndImport-es3.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-//@module: commonjs
-//@target: ES3
-
-// @filename: m1.ts
-export default function f1() {
-}
-
-// @filename: m2.ts
-import f1 from "./m1";
-export default function f2() {
- f1();
-}
diff --git a/tests/cases/conformance/es6/modules/exportsAndImportsWithUnderscores1.ts b/tests/cases/conformance/es6/modules/exportsAndImportsWithUnderscores1.ts
index 8e38deaaf134b..f90a87beb002d 100644
--- a/tests/cases/conformance/es6/modules/exportsAndImportsWithUnderscores1.ts
+++ b/tests/cases/conformance/es6/modules/exportsAndImportsWithUnderscores1.ts
@@ -1,5 +1,5 @@
//@module: commonjs
-//@target: ES3
+//@target: ES5
// @filename: m1.ts
var R: any
diff --git a/tests/cases/conformance/es6/modules/exportsAndImportsWithUnderscores2.ts b/tests/cases/conformance/es6/modules/exportsAndImportsWithUnderscores2.ts
index fac9f46754983..c3944407f3adf 100644
--- a/tests/cases/conformance/es6/modules/exportsAndImportsWithUnderscores2.ts
+++ b/tests/cases/conformance/es6/modules/exportsAndImportsWithUnderscores2.ts
@@ -1,5 +1,5 @@
//@module: commonjs
-//@target: ES3
+//@target: ES5
// @filename: m1.ts
var R: any
diff --git a/tests/cases/conformance/es6/modules/exportsAndImportsWithUnderscores3.ts b/tests/cases/conformance/es6/modules/exportsAndImportsWithUnderscores3.ts
index cd71808915cb7..f14b2d69d471b 100644
--- a/tests/cases/conformance/es6/modules/exportsAndImportsWithUnderscores3.ts
+++ b/tests/cases/conformance/es6/modules/exportsAndImportsWithUnderscores3.ts
@@ -1,5 +1,5 @@
//@module: commonjs
-//@target: ES3
+//@target: ES5
// @filename: m1.ts
var R: any
diff --git a/tests/cases/conformance/es6/modules/exportsAndImportsWithUnderscores4.ts b/tests/cases/conformance/es6/modules/exportsAndImportsWithUnderscores4.ts
index 340225975523a..2fd5bf2881f71 100644
--- a/tests/cases/conformance/es6/modules/exportsAndImportsWithUnderscores4.ts
+++ b/tests/cases/conformance/es6/modules/exportsAndImportsWithUnderscores4.ts
@@ -1,5 +1,5 @@
//@module: commonjs
-//@target: ES3
+//@target: ES5
// @filename: m1.ts
declare var console: any;
diff --git a/tests/cases/conformance/expressions/objectLiterals/objectLiteralErrorsES3.ts b/tests/cases/conformance/expressions/objectLiterals/objectLiteralErrorsES3.ts
deleted file mode 100644
index 2aecda5895883..0000000000000
--- a/tests/cases/conformance/expressions/objectLiterals/objectLiteralErrorsES3.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-//@Target: ES3
-
-var e1 = { get a() { return 4; } };
-var e2 = { set a(n) { } };
-var e3 = { get a() { return ''; }, set a(n) { } };
-
diff --git a/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression10.ts b/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression10.ts
index 29cfd32f60824..66fb0382581fc 100644
--- a/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression10.ts
+++ b/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression10.ts
@@ -1,7 +1,7 @@
// @allowjs: true
// @checkjs: true
// @outdir: out
-// @target: es3,es6
+// @target: es6
// @filename: fileJs.js
a ? (b) : c => (d) : e => f // Not legal JS; "Unexpected token ':'" at last colon
diff --git a/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression11.ts b/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression11.ts
index 45fba14f34b60..1009993375376 100644
--- a/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression11.ts
+++ b/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression11.ts
@@ -1,7 +1,7 @@
// @allowjs: true
// @checkjs: true
// @outdir: out
-// @target: es3,es6
+// @target: es6
// @filename: fileJs.js
a ? b ? c : (d) : e => f // Legal JS
diff --git a/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression12.ts b/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression12.ts
index ccc809b6e0853..fd06ce651c6bf 100644
--- a/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression12.ts
+++ b/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression12.ts
@@ -1,7 +1,7 @@
// @allowjs: true
// @checkjs: true
// @outdir: out
-// @target: es3,es6
+// @target: es6
// @filename: fileJs.js
a ? (b) => (c): d => e // Legal JS
diff --git a/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression13.ts b/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression13.ts
index 5783dfa00ab17..970634ab96285 100644
--- a/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression13.ts
+++ b/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression13.ts
@@ -1,7 +1,7 @@
// @allowjs: true
// @checkjs: true
// @outdir: out
-// @target: es3,es6
+// @target: es6
// @filename: fileJs.js
a ? () => a() : (): any => null; // Not legal JS; "Unexpected token ')'" at last paren
diff --git a/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression14.ts b/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression14.ts
index fe652725585a4..7293600bda458 100644
--- a/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression14.ts
+++ b/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression14.ts
@@ -1,7 +1,7 @@
// @allowjs: true
// @checkjs: true
// @outdir: out
-// @target: es3,es6
+// @target: es6
// @filename: fileJs.js
a() ? (b: number, c?: string): void => d() : e; // Not legal JS; "Unexpected token ':'" at first colon
diff --git a/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression15.ts b/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression15.ts
index dfb7701ddf13f..7eae203ea576f 100644
--- a/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression15.ts
+++ b/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression15.ts
@@ -1,7 +1,7 @@
// @allowjs: true
// @checkjs: true
// @outdir: out
-// @target: es3,es6
+// @target: es6
// @filename: fileJs.js
false ? (param): string => param : null // Not legal JS; "Unexpected token ':'" at last colon
diff --git a/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression16.ts b/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression16.ts
index b02f17d7c95e8..27a7591865c82 100644
--- a/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression16.ts
+++ b/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression16.ts
@@ -1,7 +1,7 @@
// @allowjs: true
// @checkjs: true
// @outdir: out
-// @target: es3,es6
+// @target: es6
// @filename: fileJs.js
true ? false ? (param): string => param : null : null // Not legal JS; "Unexpected token ':'" at last colon
diff --git a/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression17.ts b/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression17.ts
index adaa3aca3cb21..94a4f59b5c3be 100644
--- a/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression17.ts
+++ b/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression17.ts
@@ -1,7 +1,7 @@
// @allowjs: true
// @checkjs: true
// @outdir: out
-// @target: es3,es6
+// @target: es6
// @filename: fileJs.js
a ? b : (c) : d => e // Not legal JS; "Unexpected token ':'" at last colon
diff --git a/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression8.ts b/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression8.ts
index 1e8d7997a3c22..6590f0dac984f 100644
--- a/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression8.ts
+++ b/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression8.ts
@@ -1,7 +1,7 @@
// @allowjs: true
// @checkjs: true
// @outdir: out
-// @target: es3,es6
+// @target: es6
// @filename: fileJs.js
x ? y => ({ y }) : z => ({ z }) // Legal JS
diff --git a/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression9.ts b/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression9.ts
index c5e20613ec266..504425234039c 100644
--- a/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression9.ts
+++ b/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression9.ts
@@ -1,7 +1,7 @@
// @allowjs: true
// @checkjs: true
// @outdir: out
-// @target: es3,es6
+// @target: es6
// @filename: fileJs.js
b ? (c) : d => e // Legal JS
diff --git a/tests/cases/conformance/salsa/exportDefaultInJsFile01.ts b/tests/cases/conformance/salsa/exportDefaultInJsFile01.ts
index bf2f3a4e99bd2..ee180e1ba6d0c 100644
--- a/tests/cases/conformance/salsa/exportDefaultInJsFile01.ts
+++ b/tests/cases/conformance/salsa/exportDefaultInJsFile01.ts
@@ -1,5 +1,5 @@
// @allowJS: true
-// @target: es3
+// @target: es5
// @module: commonjs
// @filename: myFile01.js
diff --git a/tests/cases/conformance/salsa/typeFromPropertyAssignmentOutOfOrder.ts b/tests/cases/conformance/salsa/typeFromPropertyAssignmentOutOfOrder.ts
index 061044a347678..f0d861a6a29d3 100644
--- a/tests/cases/conformance/salsa/typeFromPropertyAssignmentOutOfOrder.ts
+++ b/tests/cases/conformance/salsa/typeFromPropertyAssignmentOutOfOrder.ts
@@ -1,7 +1,7 @@
// @noEmit: true
// @allowJs: true
// @checkJs: true
-// @target: es3
+// @target: es5
// @filename: index.js
First.Item = class I {}
Common.Object = class extends First.Item {}
diff --git a/tests/cases/conformance/statements/for-ofStatements/ES3For-ofTypeCheck1.ts b/tests/cases/conformance/statements/for-ofStatements/ES3For-ofTypeCheck1.ts
index ec930d826f983..3b27caf3fe919 100644
--- a/tests/cases/conformance/statements/for-ofStatements/ES3For-ofTypeCheck1.ts
+++ b/tests/cases/conformance/statements/for-ofStatements/ES3For-ofTypeCheck1.ts
@@ -1,2 +1,2 @@
-//@target: ES3
+//@target: ES5
for (var v of "") { }
\ No newline at end of file
diff --git a/tests/cases/conformance/statements/for-ofStatements/ES3For-ofTypeCheck2.ts b/tests/cases/conformance/statements/for-ofStatements/ES3For-ofTypeCheck2.ts
index d382ef20e4cd6..2e22731a78a25 100644
--- a/tests/cases/conformance/statements/for-ofStatements/ES3For-ofTypeCheck2.ts
+++ b/tests/cases/conformance/statements/for-ofStatements/ES3For-ofTypeCheck2.ts
@@ -1,2 +1,2 @@
-//@target: ES3
+//@target: ES5
for (var v of [true]) { }
\ No newline at end of file
diff --git a/tests/cases/conformance/statements/for-ofStatements/ES3For-ofTypeCheck4.ts b/tests/cases/conformance/statements/for-ofStatements/ES3For-ofTypeCheck4.ts
index b5547b936ae45..dc8388c05760a 100644
--- a/tests/cases/conformance/statements/for-ofStatements/ES3For-ofTypeCheck4.ts
+++ b/tests/cases/conformance/statements/for-ofStatements/ES3For-ofTypeCheck4.ts
@@ -1,3 +1,3 @@
-//@target: ES3
+//@target: ES5
var union: string | string[];
for (const v of union) { }
\ No newline at end of file
diff --git a/tests/cases/conformance/statements/for-ofStatements/ES3For-ofTypeCheck6.ts b/tests/cases/conformance/statements/for-ofStatements/ES3For-ofTypeCheck6.ts
index 6167d78d1796f..46cc82af9837d 100644
--- a/tests/cases/conformance/statements/for-ofStatements/ES3For-ofTypeCheck6.ts
+++ b/tests/cases/conformance/statements/for-ofStatements/ES3For-ofTypeCheck6.ts
@@ -1,3 +1,3 @@
-//@target: ES3
+//@target: ES5
var union: string[] | number[];
for (var v of union) { }
\ No newline at end of file
diff --git a/tests/cases/conformance/types/members/objectTypeWithStringNamedNumericProperty.ts b/tests/cases/conformance/types/members/objectTypeWithStringNamedNumericProperty.ts
index 4477ab366be56..c379906da4ad8 100644
--- a/tests/cases/conformance/types/members/objectTypeWithStringNamedNumericProperty.ts
+++ b/tests/cases/conformance/types/members/objectTypeWithStringNamedNumericProperty.ts
@@ -1,4 +1,4 @@
-// @target: ES3
+// @target: ES5
// string named numeric properties are legal and distinct when indexed by string values
// indexed numerically the value is converted to a number