Type Alias _WildcardHandler<EventMap>Internal

_WildcardHandler: (
    ...args: {
        [Event in keyof EventMap]: [
            type: Event,
            payloads: _ToTuple<EventMap[Event]>,
        ]
    }[keyof EventMap],
) => void

Event handler function for the '*' event type.

Type Parameters

Type declaration

    • (
          ...args: {
              [Event in keyof EventMap]: [
                  type: Event,
                  payloads: _ToTuple<EventMap[Event]>,
              ]
          }[keyof EventMap],
      ): void
    • Parameters

      Returns void