langchain.js
Preparing search index...
@langchain/langgraph
index
InferStateSchemaValue
Type Alias InferStateSchemaValue<TFields>
InferStateSchemaValue
:
{
[
K
in
keyof
TFields
]
:
TFields
[
K
]
extends
ReducedValue
<
any
,
any
>
?
TFields
[
K
]
[
"ValueType"
]
:
TFields
[
K
]
extends
UntrackedValue
<
any
>
?
TFields
[
K
]
[
"ValueType"
]
:
TFields
[
K
]
extends
SerializableSchema
<
any
,
infer
TOutput
>
?
TOutput
:
never
}
Infer the State type from a StateSchemaFields. This is the type of the full state object.
ReducedValue<Value, Input> → Value (the stored type)
UntrackedValue
→ Value
SerializableSchema<Input, Output> → Output (the validated type)
Type Parameters
TFields
extends
StateSchemaFields
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
langchain.js
Loading...
Infer the State type from a StateSchemaFields. This is the type of the full state object.