Skip to content

Commit e72d1c3

Browse files
christianliebelhansl
authored andcommitted
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.
1 parent 0bd5b1a commit e72d1c3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/schematics/angular/library/files/__projectRoot__/tsconfig.lib.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"types": [],
1515
"lib": [
1616
"dom",
17-
"es2015"
17+
"es2018"
1818
]
1919
},
2020
"angularCompilerOptions": {

packages/schematics/angular/workspace/files/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"node_modules/@types"
1515
],
1616
"lib": [
17-
"es2017",
17+
"es2018",
1818
"dom"
1919
]
2020
}

0 commit comments

Comments
 (0)