Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/xstate/src/types.ts>MachineConfig

State machines and statecharts for the modern web.
Go to Latest
type alias MachineConfig
import { type MachineConfig } from "https://deno.land/x/xstate@xstate%405.0.0-beta.19/src/types.ts";

Type Parameters

TContext extends MachineContext
TEvent extends EventObject
optional
TAction extends ParameterizedObject = ParameterizedObject
optional
TActorMap extends ActorMap = ActorMap
optional
TTypesMeta = TypegenDisabled
definition: (StateNodeConfig<NoInfer<TContext>, NoInfer<TEvent>, TAction> & { version?: string; types?: MachineTypes<TContext, TEvent, TActorMap, TTypesMeta>; }) & (Equals<TContext, MachineContext> extends true ? { context?: InitialContext<LowInfer<TContext>>; } : { context: InitialContext<LowInfer<TContext>>; })