Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
invite: Fix generate_invite_tips_data type.
Anders Kaseorgc57847f8ed21
diff --git a/web/src/invite.ts b/web/src/invite.tsindex b7e2d90b73b..73a33656e45 100644--- a/web/src/invite.ts+++ b/web/src/invite.ts@@ -429,7 +429,11 @@ async function update_guest_visible_users_count_and_stream_ids(): Promise<void>loading.destroy_indicator($(".guest_visible_users_loading"));}-function generate_invite_tips_data(): Record<string, boolean> {+function generate_invite_tips_data(): {+ realm_has_description: boolean;+ realm_has_user_set_icon: boolean;+ realm_has_custom_profile_fields: boolean;+} {const {realm_description, realm_icon_source, custom_profile_fields} = realm;return {