mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 19:31:58 +00:00
user_groups: Fix UserGroupRaw["direct_subgroup_ids"] type.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Anders Kaseorg
parent
d5cc7d7b79
commit
41ec6c9b7c
@@ -18,7 +18,10 @@ export type UserGroup = {
|
||||
|
||||
// The members field is a number array which we convert
|
||||
// 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 = {
|
||||
name: string;
|
||||
|
||||
Reference in New Issue
Block a user