Type

TransitionCallback

: (sm: StateMachine, from: string, to: string) => void