diff --git a/Jakefile.js b/Jakefile.js index e6698474a22..85f5ef681e8 100644 --- a/Jakefile.js +++ b/Jakefile.js @@ -71,7 +71,7 @@ var compilerSources = [ "transformers/destructuring.ts", "transformers/ts.ts", "transformers/jsx.ts", - "transformers/experimental.ts", + "transformers/esnext.ts", "transformers/es2017.ts", "transformers/es2016.ts", "transformers/es2015.ts", @@ -108,7 +108,7 @@ var servicesSources = [ "transformers/destructuring.ts", "transformers/ts.ts", "transformers/jsx.ts", - "transformers/experimental.ts", + "transformers/esnext.ts", "transformers/es2017.ts", "transformers/es2016.ts", "transformers/es2015.ts", diff --git a/src/compiler/transformer.ts b/src/compiler/transformer.ts index 467d57a0983..069b1e46af5 100644 --- a/src/compiler/transformer.ts +++ b/src/compiler/transformer.ts @@ -1,7 +1,7 @@ /// /// /// -/// +/// /// /// /// @@ -117,7 +117,7 @@ namespace ts { transformers.push(transformJsx); } - transformers.push(transformExperimental); + transformers.push(transformESNext); if (languageVersion < ScriptTarget.ES2017) { transformers.push(transformES2017); } diff --git a/src/compiler/transformers/experimental.ts b/src/compiler/transformers/esnext.ts similarity index 95% rename from src/compiler/transformers/experimental.ts rename to src/compiler/transformers/esnext.ts index 2ee623db43a..58cf1a1c01a 100644 --- a/src/compiler/transformers/experimental.ts +++ b/src/compiler/transformers/esnext.ts @@ -3,7 +3,7 @@ /*@internal*/ namespace ts { - export function transformExperimental(context: TransformationContext) { + export function transformESNext(context: TransformationContext) { return transformSourceFile; function transformSourceFile(node: SourceFile) { diff --git a/src/compiler/tsconfig.json b/src/compiler/tsconfig.json index 3e9b6a765bd..bd70a0afb10 100644 --- a/src/compiler/tsconfig.json +++ b/src/compiler/tsconfig.json @@ -27,7 +27,7 @@ "visitor.ts", "transformers/ts.ts", "transformers/jsx.ts", - "transformers/experimental.ts", + "transformers/esnext.ts", "transformers/es2017.ts", "transformers/es2016.ts", "transformers/es2015.ts", diff --git a/src/harness/tsconfig.json b/src/harness/tsconfig.json index 9b174236cbc..d3a814f26ca 100644 --- a/src/harness/tsconfig.json +++ b/src/harness/tsconfig.json @@ -29,7 +29,7 @@ "../compiler/visitor.ts", "../compiler/transformers/ts.ts", "../compiler/transformers/jsx.ts", - "../compiler/transformers/experimental.ts", + "../compiler/transformers/esnext.ts", "../compiler/transformers/es2017.ts", "../compiler/transformers/es2016.ts", "../compiler/transformers/es2015.ts", diff --git a/src/services/tsconfig.json b/src/services/tsconfig.json index 2b947d60cf2..9c3e068918d 100644 --- a/src/services/tsconfig.json +++ b/src/services/tsconfig.json @@ -28,7 +28,7 @@ "../compiler/visitor.ts", "../compiler/transformers/ts.ts", "../compiler/transformers/jsx.ts", - "../compiler/transformers/experimental.ts", + "../compiler/transformers/esnext.ts", "../compiler/transformers/es2017.ts", "../compiler/transformers/es2016.ts", "../compiler/transformers/es2015.ts",