Skip to content

Documentation / listr2 / EventMap

Type alias: EventMap<Events>

EventMap<Events>: Partial<Record<Events, unknown>>

An event map of given events that defined the parameters and return types for firing a certain event.

Type parameters

Events extends string

Source

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