ckgl/node_modules/vant/es/utils/with-install.d.ts
2024-12-21 13:52:42 +08:00

14 lines
353 B
TypeScript

import type { App, Component } from 'vue';
type EventShim = {
new (...args: any[]): {
$props: {
onClick?: (...args: any[]) => void;
};
};
};
export type WithInstall<T> = T & {
install(app: App): void;
} & EventShim;
export declare function withInstall<T extends Component>(options: T): WithInstall<T>;
export {};