StateDeclaration
Unpublished development API. This package is under development and is not available as a published release.
How a session is told its state type: a type alone, or a schema that also checks it.
import type { StateDeclaration } from '@threadplane/core';Declaration
export type StateDeclaration<TState = unknown> = StateWitness<TState> | StandardSchemaV1<unknown, TState>;Type parameters
TStateDefault:unknown