Signature: Tagged<string, "StateValue"> | {
    guard?: Definition.Guard.Signature;
    target: Tagged<string, "StateValue">;
}

Type declaration

  • Optional Readonlyguard?: Definition.Guard.Signature

    The guards to check before the transition. Combines the results of multiple guard functions using the logical AND operator.

    Note: An empty guards will be true.

  • Readonlytarget: Tagged<string, "StateValue">

    The state value to transition to.