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