invite: Convert module to TypeScript.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2023-09-22 01:32:06 -07:00
committed by Tim Abbott
parent eefd7feafa
commit d6884399b2
5 changed files with 82 additions and 49 deletions

View File

@@ -33,7 +33,7 @@ type ApiGenericStreamSubscription =
| ApiStreamSubscription
| (Stream & {stream_weekly_traffic: number | null; subscribers: number[]});
type InviteStreamData = {
export type InviteStreamData = {
name: string;
stream_id: number;
invite_only: boolean;