mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 00:18:12 +00:00
eslint: Fix unicorn/prefer-spread.
This was initially disabled for IE/Babel-related reasons that no longer apply. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
941a9bab38
commit
2a70c11c5f
@@ -18,7 +18,7 @@ export function clear_for_testing(): void {
|
||||
}
|
||||
|
||||
export function user_ids(): number[] {
|
||||
return Array.from(user_set);
|
||||
return [...user_set];
|
||||
}
|
||||
|
||||
export function add_user_id(user_id: number): void {
|
||||
|
||||
Reference in New Issue
Block a user