From 096af359f0c6fbfb6392cb7b1dd22ed0a7c24cff Mon Sep 17 00:00:00 2001 From: eneller Date: Sat, 28 Feb 2026 02:08:56 +0100 Subject: [PATCH] build: fix tsconfig --- client/angular.json | 1 + client/tsconfig.json | 4 +--- tsconfig.json | 11 ++++------- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/client/angular.json b/client/angular.json index 975f729..d65a25e 100644 --- a/client/angular.json +++ b/client/angular.json @@ -20,6 +20,7 @@ "build": { "builder": "@angular/build:application", "options": { + "outputPath": "../dist/out-tsc/client", "browser": "src/main.ts", "tsConfig": "tsconfig.app.json", "inlineStyleLanguage": "less", diff --git a/client/tsconfig.json b/client/tsconfig.json index b769d31..ba78c71 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -9,11 +9,9 @@ "noPropertyAccessFromIndexSignature": true, "noImplicitReturns": true, "noFallthroughCasesInSwitch": true, - "skipLibCheck": true, - "isolatedModules": true, "experimentalDecorators": true, + "skipLibCheck": true, "importHelpers": true, - "target": "ES2022", }, "angularCompilerOptions": { "enableI18nLegacyMessageIdFormat": false, diff --git a/tsconfig.json b/tsconfig.json index 9462d83..9f19c6b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,13 +5,10 @@ "outDir": "./dist/out-tsc", "sourceMap": true, "declaration": false, - "moduleResolution": "nodenext", - "emitDecoratorMetadata": true, - "experimentalDecorators": true, - "target": "es2017", - "module": "nodenext", - "lib": ["es2020", "dom"] + "moduleResolution": "node", + "target": "ES2022", + "module": "es2022", + "lib": ["es2022", "dom"] }, "exclude": ["node_modules"] } -