diff --git a/types/custom/action.d.ts b/types/custom/action.d.ts index 3c74ff26..498d1b30 100644 --- a/types/custom/action.d.ts +++ b/types/custom/action.d.ts @@ -523,18 +523,18 @@ declare global { get(): number } interface BarSelectOptions extends WidgetOptions { - value?: T + value?: string options: Record } class BarSelect extends Widget { constructor(id: string, options: BarSelectOptions) open(event: Event): void trigger(event: Event): boolean | undefined - change(value: T, event: Event): this + change(value: string, event: Event): this getNameFor(key: string): string set(key: string): this get(): string - value: T + value: string } class BarText extends Widget { constructor(