diginext-utils
Version:
README.md
14 lines (13 loc) • 408 B
TypeScript
declare class EventDispatcher {
constructor();
_listeners: any;
addEventListener(type: string, listener: any): void;
hasEventListener(type: string, listener: any): boolean;
removeEventListener(type: string, listener: any): void;
dispatchEvent(event: {
type: string;
target: any;
}): void;
}
export { EventDispatcher };
export default EventDispatcher;