Type Alias Sendable<D, _E, _T>
Sendable<D, _E, _T>: IsStringLiteral<_T> extends false ? "Error: No event found with `type` property of literal string value." : _T extends ReservedKeyword ? `Error: Event type '${_T}' is reserved.` : keyof _E extends "type" ? _E | _T : _E Type Parameters
- D
- _E = TransitionEvent<D>
- _T = Get<_E, ["type"]>
The type of sendable event to send to the state machine.