- import { Vue as _Vue } from './vue';
- export type PluginFunction<T> = (Vue: typeof _Vue, options?: T) => void;
- export interface PluginObject<T> {
- install: PluginFunction<T>;
- [key: string]: any;
- }
- export type Plugin<T> = PluginFunction<T> | PluginObject<T>;
|