InferActionState
@daydreamsai/core / InferActionState
Type Alias: InferActionState<TMemory>
InferActionState<
TMemory> =TMemoryextendsActionState<infer Data> ?Data:never
Defined in: packages/core/src/memory/types.ts:456
Extracts the data type from a Memory type
Type Parameters
TMemory
TMemory extends ActionState<any>
Memory type to extract data from