Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions types/custom/action.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -523,18 +523,18 @@ declare global {
get(): number
}
interface BarSelectOptions<T> extends WidgetOptions {
value?: T
value?: string
options: Record<string, T>
}
class BarSelect<T> extends Widget {
constructor(id: string, options: BarSelectOptions<T>)
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(
Expand Down