mealcomes
Version:
MealComes 用于学习前端的组件库
55 lines (54 loc) • 1.91 kB
TypeScript
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {}): any;
};
refs: {
inputRef: HTMLInputElement;
};
rootEl: HTMLLabelElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
readonly modelValue: {
readonly type: import('vue').PropType<boolean | string | number>;
};
readonly indeterminate: BooleanConstructor;
readonly disabled: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly label: {
readonly type: import('vue').PropType<string>;
};
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
"update:modelValue": (value: string | number | boolean) => void;
change: (value: boolean) => void;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
readonly modelValue: {
readonly type: import('vue').PropType<boolean | string | number>;
};
readonly indeterminate: BooleanConstructor;
readonly disabled: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly label: {
readonly type: import('vue').PropType<string>;
};
}>> & Readonly<{
"onUpdate:modelValue"?: ((value: string | number | boolean) => any) | undefined;
onChange?: ((value: boolean) => any) | undefined;
}>, {
readonly disabled: boolean;
readonly indeterminate: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
inputRef: HTMLInputElement;
}, HTMLLabelElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};