Skip to content
Version: xstate@5.0.0

OutputFrom type​

Signature:

export type OutputFrom<T extends AnyActorLogic> = T extends ActorLogic<infer TSnapshot, infer _TEvent, infer _TInput, infer _TSystem> ? (TSnapshot & {
status: 'done';
})['output'] : never;

References: AnyActorLogic, ActorLogic