Skip to content

Documentation / listr2 / EventData

Type alias: EventData<Event, Map>

EventData<Event, Map>: Event extends keyof Map ? Map[Event] : never

Parameters for the given event in the EventMap.

Type parameters

Event extends string

Map extends Record<string, unknown>

Source

packages/listr2/src/interfaces/event.interface.ts:12