Type alias WorkflowDefinitionEvents<T>

WorkflowDefinitionEvents<T>: { [ K in keyof T & string as `on${Capitalize<K>}`]: EventToken<BaseEvent & Omit<ExtractClassType<T[K]>, "next" | "nextState"> & WorkflowNextEvent<T>> }

Type Parameters

Generated using TypeDoc