From 052b5019630f16a93eb364a9d28f21092ef48bdf Mon Sep 17 00:00:00 2001 From: Chris Scott <99081550+chriswritescode-dev@users.noreply.github.com> Date: Thu, 5 Nov 2026 16:32:43 -0500 Subject: [PATCH] fix(backend): exclude dist from the type check (OM-179) With allowJs enabled and no exclude list, tsc --noEmit included backend/dist/index.js after a build, which crashed the checker with a stack overflow. CI type-checks before building, so the exclusion keeps local runs consistent with CI. --- backend/tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/tsconfig.json b/backend/tsconfig.json index bfa0fead..3077843c 100644 --- a/backend/tsconfig.json +++ b/backend/tsconfig.json @@ -25,5 +25,6 @@ "noUnusedLocals": false, "noUnusedParameters": false, "noPropertyAccessFromIndexSignature": false - } + }, + "exclude": ["dist"] }