From 7fe657f6e5c54f361c84b9480966dfafd9377f32 Mon Sep 17 00:00:00 2001 From: KenTandrian Date: Sun, 16 Aug 2026 17:50:07 +0700 Subject: [PATCH] fix(ts): remove redundant project-level lib configurations --- apps/client/tsconfig.json | 1 - libs/common/tsconfig.json | 1 - libs/ui/tsconfig.json | 1 - libs/ui/tsconfig.lib.json | 3 +-- tsconfig.base.json | 2 +- 5 files changed, 2 insertions(+), 6 deletions(-) diff --git a/apps/client/tsconfig.json b/apps/client/tsconfig.json index 710e76401..0aa925570 100644 --- a/apps/client/tsconfig.json +++ b/apps/client/tsconfig.json @@ -20,7 +20,6 @@ "strictTemplates": false }, "compilerOptions": { - "lib": ["dom", "es2022"], "module": "preserve", "strictNullChecks": true } diff --git a/libs/common/tsconfig.json b/libs/common/tsconfig.json index 2b4603b71..47d6668d9 100644 --- a/libs/common/tsconfig.json +++ b/libs/common/tsconfig.json @@ -12,7 +12,6 @@ ], "compilerOptions": { "module": "preserve", - "lib": ["dom", "es2022"], "strictNullChecks": true } } diff --git a/libs/ui/tsconfig.json b/libs/ui/tsconfig.json index 9184377be..8efcccb11 100644 --- a/libs/ui/tsconfig.json +++ b/libs/ui/tsconfig.json @@ -14,7 +14,6 @@ } ], "compilerOptions": { - "lib": ["dom", "es2022"], "module": "preserve", "target": "es2021", // TODO: Remove once solved in tsconfig.base.json diff --git a/libs/ui/tsconfig.lib.json b/libs/ui/tsconfig.lib.json index 16066060b..b361c0b09 100644 --- a/libs/ui/tsconfig.lib.json +++ b/libs/ui/tsconfig.lib.json @@ -5,8 +5,7 @@ "declaration": true, "declarationMap": true, "inlineSources": true, - "types": [], - "lib": ["dom", "es2022"] + "types": [] }, "exclude": [ "src/test-setup.ts", diff --git a/tsconfig.base.json b/tsconfig.base.json index 7cbb5f193..da2268bbc 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -12,7 +12,7 @@ "target": "es2022", "module": "esnext", "typeRoots": ["node_modules/@types"], - "lib": ["es2017", "dom"], + "lib": ["es2022", "dom"], "skipLibCheck": true, "skipDefaultLibCheck": true, "paths": {