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" ] } 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", 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": [