From ada50e0228acb5e17ccdf00301c6e51aff13746a Mon Sep 17 00:00:00 2001 From: Christian Liebel Date: Wed, 9 May 2018 09:42:48 +0200 Subject: [PATCH 1/3] build: update tsconfig.json libs to include es2018 Make the es2018 typescript lib available for the repository. --- tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index cfcdce05f5..08dd6a036a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -24,7 +24,7 @@ "strictNullChecks": true, "target": "es2016", "lib": [ - "es2017" + "es2018" ], "baseUrl": "", "typeRoots": [ From 1f510605c07e8e4cb823cc4cf409ef1661a454ea Mon Sep 17 00:00:00 2001 From: Christian Liebel Date: Wed, 9 May 2018 09:46:59 +0200 Subject: [PATCH 2/3] feat(@schematics/angular): update tsconfig.json libs to include es2018 Update the lib property in tsconfig.json files for Angular libraries and workspaces to include es2018. --- .../angular/library/files/__projectRoot__/tsconfig.lib.json | 2 +- packages/schematics/angular/workspace/files/tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/schematics/angular/library/files/__projectRoot__/tsconfig.lib.json b/packages/schematics/angular/library/files/__projectRoot__/tsconfig.lib.json index 7f69a39eb0..2492a22ccb 100644 --- a/packages/schematics/angular/library/files/__projectRoot__/tsconfig.lib.json +++ b/packages/schematics/angular/library/files/__projectRoot__/tsconfig.lib.json @@ -14,7 +14,7 @@ "types": [], "lib": [ "dom", - "es2015" + "es2018" ] }, "angularCompilerOptions": { diff --git a/packages/schematics/angular/workspace/files/tsconfig.json b/packages/schematics/angular/workspace/files/tsconfig.json index ef44e2862b..00f7573cee 100644 --- a/packages/schematics/angular/workspace/files/tsconfig.json +++ b/packages/schematics/angular/workspace/files/tsconfig.json @@ -13,7 +13,7 @@ "node_modules/@types" ], "lib": [ - "es2017", + "es2018", "dom" ] } From dcb2f8bd3d9f8a3cae518dac812e8b46e796e474 Mon Sep 17 00:00:00 2001 From: Christian Liebel Date: Wed, 9 May 2018 09:48:13 +0200 Subject: [PATCH 3/3] feat(@schematics/schematics): update tsconfig.json libs to include es2018 Update the lib property in tsconfig.json files to include es2018. --- .../schematics/schematics/blank/project-files/tsconfig.json | 2 +- packages/schematics/schematics/schematic/files/tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/schematics/schematics/blank/project-files/tsconfig.json b/packages/schematics/schematics/blank/project-files/tsconfig.json index 0b296985db..c294d9b633 100644 --- a/packages/schematics/schematics/blank/project-files/tsconfig.json +++ b/packages/schematics/schematics/blank/project-files/tsconfig.json @@ -2,7 +2,7 @@ "compilerOptions": { "baseUrl": "tsconfig", "lib": [ - "es2017", + "es2018", "dom" ], "declaration": true, diff --git a/packages/schematics/schematics/schematic/files/tsconfig.json b/packages/schematics/schematics/schematic/files/tsconfig.json index e93f82906a..eaf639af39 100644 --- a/packages/schematics/schematics/schematic/files/tsconfig.json +++ b/packages/schematics/schematics/schematic/files/tsconfig.json @@ -2,7 +2,7 @@ "compilerOptions": { "baseUrl": "tsconfig", "lib": [ - "es2017", + "es2018", "dom" ], "module": "commonjs",