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
interface MachineConfig
import { type MachineConfig } from "https://deno.land/x/xstate@xstate%405.0.0-beta.13/src/types.ts";

Type Parameters

TContext extends MachineContext
TEvent extends EventObject
optional
TAction extends ParameterizedObject = ParameterizedObject
optional
TActorMap extends ActorMap = ActorMap
optional
TTypesMeta = TypegenDisabled

Properties

optional
context: InitialContext<LowInfer<TContext>>

The initial context (extended state)

optional
version: string

The machine's own version.