Skip to content

Commit

Permalink
fix: Fixed export of events
Browse files Browse the repository at this point in the history
  • Loading branch information
edgardmessias committed Apr 25, 2022
1 parent 70836d1 commit c28f8d8
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions src/eventEmitter/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,28 +42,28 @@ internalEv.onAny((event, ...values) => {

export { EventEmitter };

export const addListener = ev.addListener;
export const emit = ev.emit;
export const emitAsync = ev.emitAsync;
export const eventNames = ev.eventNames;
export const getMaxListeners = ev.getMaxListeners;
export const hasListeners = ev.hasListeners;
export const listenTo = ev.listenTo;
export const listenerCount = ev.listenerCount;
export const listeners = ev.listeners;
export const listenersAny = ev.listenersAny;
export const many = ev.many;
export const off = ev.off;
export const offAny = ev.offAny;
export const on = ev.on;
export const onAny = ev.onAny;
export const once = ev.once;
export const prependAny = ev.prependAny;
export const prependListener = ev.prependListener;
export const prependMany = ev.prependMany;
export const prependOnceListener = ev.prependOnceListener;
export const removeAllListeners = ev.removeAllListeners;
export const removeListener = ev.removeListener;
export const setMaxListeners = ev.setMaxListeners;
export const stopListeningTo = ev.stopListeningTo;
export const waitFor = ev.waitFor;
export const addListener = ev.addListener.bind(ev);
export const emit = ev.emit.bind(ev);
export const emitAsync = ev.emitAsync.bind(ev);
export const eventNames = ev.eventNames.bind(ev);
export const getMaxListeners = ev.getMaxListeners.bind(ev);
export const hasListeners = ev.hasListeners.bind(ev);
export const listenTo = ev.listenTo.bind(ev);
export const listenerCount = ev.listenerCount.bind(ev);
export const listeners = ev.listeners.bind(ev);
export const listenersAny = ev.listenersAny.bind(ev);
export const many = ev.many.bind(ev);
export const off = ev.off.bind(ev);
export const offAny = ev.offAny.bind(ev);
export const on = ev.on.bind(ev);
export const onAny = ev.onAny.bind(ev);
export const once = ev.once.bind(ev);
export const prependAny = ev.prependAny.bind(ev);
export const prependListener = ev.prependListener.bind(ev);
export const prependMany = ev.prependMany.bind(ev);
export const prependOnceListener = ev.prependOnceListener.bind(ev);
export const removeAllListeners = ev.removeAllListeners.bind(ev);
export const removeListener = ev.removeListener.bind(ev);
export const setMaxListeners = ev.setMaxListeners.bind(ev);
export const stopListeningTo = ev.stopListeningTo.bind(ev);
export const waitFor = ev.waitFor.bind(ev);

0 comments on commit c28f8d8

Please sign in to comment.