user_groups: Fix UserGroupRaw["direct_subgroup_ids"] type.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2024-06-21 11:19:29 -07:00
committed by Anders Kaseorg
parent d5cc7d7b79
commit 41ec6c9b7c

View File

@@ -18,7 +18,10 @@ export type UserGroup = {
// The members field is a number array which we convert // The members field is a number array which we convert
// to a Set in the initialize function. // to a Set in the initialize function.
type UserGroupRaw = Omit<UserGroup, "members"> & {members: number[]}; type UserGroupRaw = Omit<UserGroup, "members" | "direct_subgroup_ids"> & {
members: number[];
direct_subgroup_ids: number[];
};
type UserGroupForDropdownListWidget = { type UserGroupForDropdownListWidget = {
name: string; name: string;