bj-custom
Version:
### 安装 * npm install --save bj-custom
50 lines (48 loc) • 1.48 kB
TypeScript
import { PropType } from 'vue';
type MappedButtonType = 'add' | 'import' | 'export' | 'delete';
type ButtonType = MappedButtonType | 'default' | 'primary' | 'success' | 'warning' | 'danger' | 'info';
declare function __VLS_template(): {
default?(_: {}): any;
};
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
time: {
type: NumberConstructor;
default: undefined;
};
type: {
type: PropType<ButtonType>;
default: string;
};
icon: {
type: StringConstructor;
default: string;
};
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
click: (...args: any[]) => void;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
time: {
type: NumberConstructor;
default: undefined;
};
type: {
type: PropType<ButtonType>;
default: string;
};
icon: {
type: StringConstructor;
default: string;
};
}>> & Readonly<{
onClick?: ((...args: any[]) => any) | undefined;
}>, {
time: number;
type: ButtonType;
icon: string;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, 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;
};
};