From 4a5054c5d5394761cbc4c59d2422b9b2d0ac1c26 Mon Sep 17 00:00:00 2001 From: KenTandrian Date: Sun, 16 Aug 2026 17:46:51 +0700 Subject: [PATCH] fix(ui): standardize tsconfig target configuration to es2021 --- libs/ui/tsconfig.json | 2 +- libs/ui/tsconfig.lib.json | 1 - libs/ui/tsconfig.spec.json | 3 +-- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/libs/ui/tsconfig.json b/libs/ui/tsconfig.json index 51348a52a..9184377be 100644 --- a/libs/ui/tsconfig.json +++ b/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, diff --git a/libs/ui/tsconfig.lib.json b/libs/ui/tsconfig.lib.json index 6fbed6f1c..16066060b 100644 --- a/libs/ui/tsconfig.lib.json +++ b/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, diff --git a/libs/ui/tsconfig.spec.json b/libs/ui/tsconfig.spec.json index 36a2e401c..8afad0f4c 100644 --- a/libs/ui/tsconfig.spec.json +++ b/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"]