@threadplane/langgraphTypeAliasv0.3.7

LangGraphSnapshotState

The snapshot's state: the declared type, or a plain record when none is declared.

import type { LangGraphSnapshotState } from '@threadplane/langgraph';

Declaration

export type LangGraphSnapshotState<TState = unknown> = unknown extends TState ? LangGraphState : DeepReadonly<TState>;

Type parameters

TState
Default: unknown