Skip to content

TypegenMeta

Hierarchy

Index

Properties

@@xstate/typegen

@@xstate/typegen: true

eventsCausingActions

eventsCausingActions: Record<string, string>

Keeps track of which events lead to which actions.

Key: 'EVENT_NAME' Value: 'actionName' | 'otherActionName'

eventsCausingActors

eventsCausingActors: Record<string, string>

Keeps track of which events lead to which actors.

Key: 'EVENT_NAME' Value: 'actorName' | 'otherActorName'

eventsCausingDelays

eventsCausingDelays: Record<string, string>

Keeps track of which events lead to which delays.

Key: 'EVENT_NAME' Value: 'delayName' | 'otherDelayName'

eventsCausingGuards

eventsCausingGuards: Record<string, string>

Keeps track of which events lead to which guards.

Key: 'EVENT_NAME' Value: 'guardName' | 'otherGuardName'

internalEvents

internalEvents: {}

A map for the internal events of the machine.

key: 'xstate.done.actor.myActor'
value: {
type: 'xstate.done.actor.myActor';
data: unknown;
__tip: 'Declare the type in event types!';
}

Type declaration

    invokeSrcNameMap

    invokeSrcNameMap: Record<string, string>

    Maps the src of the invoked actor to the event type that includes its known id

    key: 'invokeSrc' value: 'xstate.done.actor.invokeName'

    matchesStates

    matchesStates: string | {}

    Allows you to specify all the results of state.matches

    missingImplementations

    missingImplementations: { actions: string; actors: string; delays: string; guards: string }

    Allows you to specify all the missing implementations of the machine


    Type declaration

    • actions: string
    • actors: string
    • delays: string
    • guards: string

    tags

    tags: string

    Allows you to specify all tags used by the machine