Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
stream-settings: Fix type for parameters in ajaxSubscribe.
Sahil Batra34ff649098ba
diff --git a/web/src/stream_settings_components.ts b/web/src/stream_settings_components.tsindex edf2cf62235..9d5c2435b80 100644--- a/web/src/stream_settings_components.ts+++ b/web/src/stream_settings_components.ts@@ -191,7 +191,11 @@ function hide_subscribe_toggle_spinner($stream_row: JQuery): void {loading.destroy_indicator($spinner);}-export function ajaxSubscribe(stream: string, color?: string, $stream_row?: JQuery): void {+export function ajaxSubscribe(+ stream: string,+ color: string,+ $stream_row: JQuery | undefined,+): void {// Subscribe yourself to a single stream.let true_stream_name;