TransitionDefinition.toJSON property​
Signature:
toJSON: () => {
target: string[] | undefined;
source: string;
actions: readonly UnknownAction[];
guard?: UnknownGuard;
eventType: EventDescriptor<TEvent>;
meta?: Record<string, any>;
};