Browse Source

fix(ts): remove redundant project-level lib configurations

pull/7642/head
KenTandrian 2 days ago
parent
commit
7fe657f6e5
  1. 1
      apps/client/tsconfig.json
  2. 1
      libs/common/tsconfig.json
  3. 1
      libs/ui/tsconfig.json
  4. 3
      libs/ui/tsconfig.lib.json
  5. 2
      tsconfig.base.json

1
apps/client/tsconfig.json

@ -20,7 +20,6 @@
"strictTemplates": false "strictTemplates": false
}, },
"compilerOptions": { "compilerOptions": {
"lib": ["dom", "es2022"],
"module": "preserve", "module": "preserve",
"strictNullChecks": true "strictNullChecks": true
} }

1
libs/common/tsconfig.json

@ -12,7 +12,6 @@
], ],
"compilerOptions": { "compilerOptions": {
"module": "preserve", "module": "preserve",
"lib": ["dom", "es2022"],
"strictNullChecks": true "strictNullChecks": true
} }
} }

1
libs/ui/tsconfig.json

@ -14,7 +14,6 @@
} }
], ],
"compilerOptions": { "compilerOptions": {
"lib": ["dom", "es2022"],
"module": "preserve", "module": "preserve",
"target": "es2021", "target": "es2021",
// TODO: Remove once solved in tsconfig.base.json // TODO: Remove once solved in tsconfig.base.json

3
libs/ui/tsconfig.lib.json

@ -5,8 +5,7 @@
"declaration": true, "declaration": true,
"declarationMap": true, "declarationMap": true,
"inlineSources": true, "inlineSources": true,
"types": [], "types": []
"lib": ["dom", "es2022"]
}, },
"exclude": [ "exclude": [
"src/test-setup.ts", "src/test-setup.ts",

2
tsconfig.base.json

@ -12,7 +12,7 @@
"target": "es2022", "target": "es2022",
"module": "esnext", "module": "esnext",
"typeRoots": ["node_modules/@types"], "typeRoots": ["node_modules/@types"],
"lib": ["es2017", "dom"], "lib": ["es2022", "dom"],
"skipLibCheck": true, "skipLibCheck": true,
"skipDefaultLibCheck": true, "skipDefaultLibCheck": true,
"paths": { "paths": {

Loading…
Cancel
Save