Browse Source

fix(ui): standardize tsconfig target configuration to es2021

pull/7642/head
KenTandrian 2 days ago
parent
commit
4a5054c5d5
  1. 2
      libs/ui/tsconfig.json
  2. 1
      libs/ui/tsconfig.lib.json
  3. 3
      libs/ui/tsconfig.spec.json

2
libs/ui/tsconfig.json

@ -16,7 +16,7 @@
"compilerOptions": {
"lib": ["dom", "es2022"],
"module": "preserve",
"target": "es2020",
"target": "es2021",
// TODO: Remove once solved in tsconfig.base.json
"strict": false,
"strictNullChecks": true,

1
libs/ui/tsconfig.lib.json

@ -2,7 +2,6 @@
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "../../dist/out-tsc",
"target": "es2015",
"declaration": true,
"declarationMap": true,
"inlineSources": true,

3
libs/ui/tsconfig.spec.json

@ -4,8 +4,7 @@
"outDir": "../../dist/out-tsc",
"module": "preserve",
"isolatedModules": true,
"types": ["jest", "node"],
"target": "es2016"
"types": ["jest", "node"]
},
"files": ["src/test-setup.ts"],
"include": ["**/*.spec.ts", "**/*.test.ts", "**/*.d.ts", "jest.config.ts"]

Loading…
Cancel
Save