Type Alias: ComposedGuard
API / @xmachines/play-xstate / ComposedGuard
type ComposedGuard = GuardPredicate<MachineContext, EventObject, unknown, ParameterizedObject>;Defined in: packages/play-xstate/src/guards/compose.ts:33
The narrowest public return type of the guard composition helpers.
GuardPredicate<MachineContext, EventObject, unknown, ParameterizedObject> is the
concrete XState guard type with the widest compatibility that uses no any.
Deprecated
The next major version removes the guard utilities. Use the combinator types of XState directly.