From f03c56d9da0197e8d9f9bebb82aba3e3d8b695eb Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Sun, 9 Jun 2024 11:00:42 -0700 Subject: [PATCH] shared: Enable exactOptionalPropertyTypes, noUncheckedIndexedAccess. Signed-off-by: Anders Kaseorg --- web/shared/tsconfig.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/shared/tsconfig.json b/web/shared/tsconfig.json index cdec0229f8..431a4a6165 100644 --- a/web/shared/tsconfig.json +++ b/web/shared/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { /* Type Checking */ + "exactOptionalPropertyTypes": true, "noFallthroughCasesInSwitch": true, "noImplicitOverride": true, "noImplicitReturns": true, + "noUncheckedIndexedAccess": true, "noUnusedLocals": true, "noUnusedParameters": true, "strict": true,