Browse Source

Update TypeScript lib target to es2020 on schematics

pull/23363/head
Fahri Gedik 1 year ago
parent
commit
3b808f3b00
  1. 2
      npm/ng-packs/packages/schematics/src/commands/create-lib/files-package-standalone/__libraryName@kebab__/tsconfig.lib.json.template
  2. 2
      npm/ng-packs/packages/schematics/src/commands/create-lib/files-package/__libraryName@kebab__/tsconfig.lib.json.template
  3. 2
      npm/ng-packs/packages/schematics/tsconfig.json

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

@ -10,7 +10,7 @@
"types": [],
"lib": [
"dom",
"es2018"
"es2020"
]
},
"exclude": [

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

@ -10,7 +10,7 @@
"types": [],
"lib": [
"dom",
"es2018"
"es2020"
]
},
"exclude": [

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

@ -1,7 +1,7 @@
{
"compilerOptions": {
"baseUrl": "tsconfig",
"lib": ["es2019", "dom"],
"lib": ["es2020", "dom"],
"declaration": true,
"module": "commonjs",
"moduleResolution": "node",

Loading…
Cancel
Save