Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

shared: Enable exactOptionalPropertyTypes, noUncheckedIndexedAccess.

Anders Kaseorgf03c56d9da01
diff --git a/web/shared/tsconfig.json b/web/shared/tsconfig.json
index cdec0229f86..431a4a61655 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,