Documentation / @zerotal/flow / index / EventPayload
Type Alias: EventPayload<K>
EventPayload<
K> =FlowEvents[K]
Defined in: flow/src/events.ts:59
The payload type for a known event K, resolved from the FlowEvents contract. Use it
to type an @on handler's parameter, e.g. EventPayload<"post-created">.
Type Parameters
K
K extends EventName