From 49a47b504f14df49d4243d285bec604bea3683ca Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 16 Nov 2025 21:21:27 +0000 Subject: [PATCH] Enable strict TypeScript mode - strict: true - noImplicitAny: true - strictNullChecks: true - noUnusedLocals: true - noUnusedParameters: true - allowJs: false (TypeScript only) This catches null/undefined bugs at compile time. --- web/tsconfig.json | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/web/tsconfig.json b/web/tsconfig.json index ab774130..8a02a4e9 100644 --- a/web/tsconfig.json +++ b/web/tsconfig.json @@ -14,11 +14,12 @@ "@pezkuwi/theme": ["../shared/theme"], "@pezkuwi/types": ["../shared/types"] }, - "noImplicitAny": false, - "noUnusedParameters": false, + "strict": true, + "noImplicitAny": true, + "strictNullChecks": true, "skipLibCheck": true, - "allowJs": true, - "noUnusedLocals": false, - "strictNullChecks": false + "allowJs": false, + "noUnusedLocals": true, + "noUnusedParameters": true } }