Skip to content

Commit 3b808f3

Browse files
committed
Update TypeScript lib target to es2020 on schematics
1 parent aba19d5 commit 3b808f3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

npm/ng-packs/packages/schematics/src/commands/create-lib/files-package-standalone/__libraryName@kebab__/tsconfig.lib.json.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"types": [],
1111
"lib": [
1212
"dom",
13-
"es2018"
13+
"es2020"
1414
]
1515
},
1616
"exclude": [

npm/ng-packs/packages/schematics/src/commands/create-lib/files-package/__libraryName@kebab__/tsconfig.lib.json.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"types": [],
1111
"lib": [
1212
"dom",
13-
"es2018"
13+
"es2020"
1414
]
1515
},
1616
"exclude": [

npm/ng-packs/packages/schematics/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"baseUrl": "tsconfig",
4-
"lib": ["es2019", "dom"],
4+
"lib": ["es2020", "dom"],
55
"declaration": true,
66
"module": "commonjs",
77
"moduleResolution": "node",

0 commit comments

Comments
 (0)