@wocwin/t-ui-plus
Version:
Page level components developed based on Element Plus.
66 lines (64 loc) • 1.79 kB
TypeScript
import { PropType, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
declare function __VLS_template(): Partial<Record<any, (_: any) => any>> & {
default?(_: {}): any;
};
declare const __VLS_component: DefineComponent<{
type: {
type: PropType<"check" | "button">;
validator: (value: string) => boolean;
default: string;
};
options: {
type: any;
default: () => never[];
};
size: {
type: PropType<"large" | "default" | "small">;
validator: (value: string) => boolean;
default: string;
};
border: {
type: BooleanConstructor;
default: boolean;
};
props: {
type: ObjectConstructor;
default: () => {};
};
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
type: {
type: PropType<"check" | "button">;
validator: (value: string) => boolean;
default: string;
};
options: {
type: any;
default: () => never[];
};
size: {
type: PropType<"large" | "default" | "small">;
validator: (value: string) => boolean;
default: string;
};
border: {
type: BooleanConstructor;
default: boolean;
};
props: {
type: ObjectConstructor;
default: () => {};
};
}>>, {
type: "button" | "check";
props: Record<string, any>;
size: "default" | "small" | "large";
border: boolean;
options: any;
}, {}>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};