Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 538 Bytes

TransitionLookup.md

File metadata and controls

21 lines (11 loc) · 538 Bytes

wide-fsmDocs


wide-fsm / TransitionLookup

Type Alias: TransitionLookup<TState, TEvent>

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.

Type Parameters

TState extends FsmState

TEvent extends FsmEvent

Defined in

index.ts:111