const getGmEvent = (events, emit) => {
  return Object.keys(events).reduce((acc, key) => {
    return {
      ...acc,
      [key]: (...args) => {
        return emit(key, ...args);
      }
    };
  }, {});
};

export { getGmEvent };
//# sourceMappingURL=event.mjs.map
