Rxova
Skip to content

Type Alias: StepIdOf<TMachine>

@rxova/journey-react


@rxova/journey-react / StepIdOf

type StepIdOf<TMachine> = SnapshotOf<TMachine> extends object ? Extract<TStepId, string> : never;

Defined in: react/src/react.types.ts:56

The step-id union of a machine, inferred from its snapshot’s visited map.

Type Parameter
TMachine