vuestic-ui
Version:
Vue 3 UI Framework
11 lines (10 loc) • 361 B
TypeScript
type Events = string | {
listen: string;
emit: string;
};
export declare const useEmitProxy: (events: Events[]) => {
createListeners: (emit: (event: string, ...args: any[]) => void) => Record<string, any>;
createVOnListeners: (emit: (event: string, ...args: any[]) => void) => Record<string, any>;
createEmits: () => string[];
};
export {};