Skip to content

Type Alias: ComposedGuard

Documentation / @xmachines/play-xstate / ComposedGuard

type ComposedGuard = GuardPredicate<MachineContext, EventObject, unknown, ParameterizedObject>;

Defined in: packages/play-xstate/src/guards/compose.ts:14

Narrowest public return type for guard composition helpers.

GuardPredicate<MachineContext, EventObject, unknown, ParameterizedObject> is the widest-compatible concrete XState guard type that does not use any.