From ee228bfd7fa1b4219ea1b2d147d768e494c6e5dd Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Tue, 24 Jun 2025 01:29:54 +0200 Subject: [PATCH] Reference other tsconfigs so VS Code knows about everything --- web/tsconfig.client.json | 4 +++- web/tsconfig.json | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/web/tsconfig.client.json b/web/tsconfig.client.json index c7c3b934..f2e8fe0e 100644 --- a/web/tsconfig.client.json +++ b/web/tsconfig.client.json @@ -16,7 +16,9 @@ "inlineSources": true, "declaration": false, "experimentalDecorators": true, - "useDefineForClassFields": false + "emitDecoratorMetadata": true, + "useDefineForClassFields": false, + "composite": true }, "include": [ "src/client/**/*" diff --git a/web/tsconfig.json b/web/tsconfig.json index ce319e50..b27a6673 100644 --- a/web/tsconfig.json +++ b/web/tsconfig.json @@ -16,6 +16,7 @@ "declaration": false, "experimentalDecorators": true, "emitDecoratorMetadata": true, + "useDefineForClassFields": false, "typeRoots": ["./node_modules/@types"] }, "include": [ @@ -29,5 +30,9 @@ "dist", "public", "src/client/**/*" + ], + "references": [ + { "path": "./tsconfig.client.json" }, + { "path": "./tsconfig.sw.json" } ] } \ No newline at end of file