Extend or use the DefaultEventMap to support loosely typed events.

This EventMap accepts any string as an event name, and accepts any arguments as well.

Indexable

  • [s: string]: (...args: any[]) => void