From 2200c74870d46d2a5dac21f24cd20cdd82830894 Mon Sep 17 00:00:00 2001 From: Ollie Etherington Date: Sun, 15 Dec 2024 14:33:37 +0000 Subject: [PATCH] Turn on typescript strict mode and useUnknownInCatchVariables --- tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index cf7d8b8..6b8f6ea 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,7 +12,8 @@ "noImplicitReturns": true, "noImplicitThis": true, "noImplicitAny": true, - "strictNullChecks": true, + "strict": true, + "useUnknownInCatchVariables": true, "noUnusedLocals": true, "noUnusedParameters": true, "allowSyntheticDefaultImports": true