Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
stream_data: Fix return type of stream_info.get.
evykassirer7203244015e3
diff --git a/web/src/stream_data.ts b/web/src/stream_data.tsindex 8e5dc837e5a..62e94d5178b 100644--- a/web/src/stream_data.ts+++ b/web/src/stream_data.ts@@ -82,14 +82,14 @@ class BinaryDict<T> {yield* this.falses.values();}- get(k: number): T {+ get(k: number): T | undefined {const res = this.trues.get(k);if (res !== undefined) {return res;}- return this.falses.get(k)!;+ return this.falses.get(k);}set(k: number, v: T): void {