wide-fsm • Docs
wide-fsm / TransitionLookup
TransitionLookup<
TState
,TEvent
>:Partial
<{ [KState in TState["tag"]]: Partial<{ [KEvent in TEvent["tag"]]: FsmTransition<Extract<TState, Object>, Extract<TEvent, Object>, TState> }> }
>
Defines the transitions of your FSM.
• TState extends FsmState
• TEvent extends FsmEvent
index.ts:111