shared: Enable exactOptionalPropertyTypes, noUncheckedIndexedAccess.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2024-06-09 11:00:42 -07:00 committed by Anders Kaseorg
parent 56753edbcd
commit f03c56d9da
1 changed files with 2 additions and 0 deletions

View File

@ -1,9 +1,11 @@
{ {
"compilerOptions": { "compilerOptions": {
/* Type Checking */ /* Type Checking */
"exactOptionalPropertyTypes": true,
"noFallthroughCasesInSwitch": true, "noFallthroughCasesInSwitch": true,
"noImplicitOverride": true, "noImplicitOverride": true,
"noImplicitReturns": true, "noImplicitReturns": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true, "noUnusedLocals": true,
"noUnusedParameters": true, "noUnusedParameters": true,
"strict": true, "strict": true,