mealcomes
Version:
MealComes 用于学习前端的组件库
52 lines (51 loc) • 1.46 kB
TypeScript
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {}): any;
};
refs: {};
rootEl: HTMLDivElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
directory: {
type: BooleanConstructor;
default: boolean;
};
accept: {
type: StringConstructor;
default: string;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
file: (file: File[]) => void;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
directory: {
type: BooleanConstructor;
default: boolean;
};
accept: {
type: StringConstructor;
default: string;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
}>> & Readonly<{
onFile?: ((file: File[]) => any) | undefined;
}>, {
disabled: boolean;
accept: string;
directory: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};