UNPKG

vue-bus-ts

Version:
19 lines (14 loc) 426 B
import _Vue from 'vue'; // <-- notice the changed import import "./vue"; export declare class Bus { $on(action: string, fn: any): any; $emit(action: string, params?: any): any; $off(action: string, id: number): void; $subscribed(action: string): boolean; } export declare function install(Vue: typeof _Vue): void; declare const _default: { Bus: typeof Bus; install: typeof install; }; export default _default;