Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
unread_ops: Fix TypeScript noUncheckedIndexedAccess errors.
Anders Kaseorge134ad136333
diff --git a/web/src/unread_ops.ts b/web/src/unread_ops.tsindex 4c3d6df9edd..dd5e9d7d7fb 100644--- a/web/src/unread_ops.ts+++ b/web/src/unread_ops.ts@@ -472,6 +472,7 @@ export function process_unread_messages_event({for (const message_id of message_ids) {const message = message_store.get(message_id);const message_info = message_details[message_id];+ assert(message_info !== undefined);let mentioned_me_directly;if (message) {