UNPKG

@ly-js/ui

Version:

`@ly-js/ui` 是基于`vue3`常用库,会在`@ly-js/element`、`@ly-js/vant`中引入

16 lines (15 loc) 501 B
import { App, Plugin } from 'vue'; declare type EventShim = { new (...args: any[]): { $props: { onClick?: (...args: any[]) => void; }; }; }; export declare type WithInstall<T> = T & { install(app: App): void; } & EventShim; export declare function withInstall<T>(options: T): WithInstall<T>; export declare type DirectiveWithInstall<T> = T & Plugin; export declare function directiveWithInstall<T>(name: string, options: T): DirectiveWithInstall<T>; export {};