dropdown_widget: Fix Option typing.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2025-03-16 19:43:28 -07:00
committed by Tim Abbott
parent 32e8575713
commit c81ef4d409
11 changed files with 28 additions and 54 deletions

View File

@@ -31,8 +31,13 @@ export enum DataTypes {
export type Option = {
unique_id: number | string;
name: string;
description?: string;
is_direct_message?: boolean;
is_setting_disabled?: boolean;
stream?: StreamSubscription;
bold_current_selection?: boolean;
has_delete_icon?: boolean;
has_edit_icon?: boolean;
};
export type DropdownWidgetOptions = {