UNPKG

vue-hooks-plus

Version:
6 lines (5 loc) 275 B
type Listener = (data: any) => void; declare const trigger: (key: string, data: any) => void; declare const subscribe: (key: string, listener: Listener) => () => void; declare const otherSubscribe: (listener: Listener) => void; export { trigger, subscribe, otherSubscribe };