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>

Defined in

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