bootstrap-vue-next
Version:
Seamless integration of Vue 3, Bootstrap 5, and TypeScript for modern, type-safe UI development
9 lines (8 loc) • 377 B
TypeScript
export type CheckboxValue = readonly unknown[] | ReadonlySet<unknown> | string | boolean | Readonly<Record<string, unknown>> | number | null;
export interface CheckboxOption {
text: string;
value: CheckboxValue;
disabled?: boolean;
[key: string]: unknown;
}
export type CheckboxOptionRaw = string | number | (Partial<CheckboxOption> & Record<string, unknown>);