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

x/xstate/src/types.ts>StateNodeDefinition

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

Type Parameters

TContext extends MachineContext
TEvent extends EventObject

Properties

id: string
optional
version: string | undefined
key: string
type:
| "atomic"
| "compound"
| "parallel"
| "final"
| "history"
history:
| boolean
| "shallow"
| "deep"
| undefined
transitions: Array<TransitionDefinition<TContext, TEvent>>
entry: Action<any, any, any>[]
exit: Action<any, any, any>[]
meta: any
order: number
optional
output: FinalStateNodeConfig<TContext, TEvent>["output"]
optional
description: string
tags: string[]