API Documentation • Docs
API Documentation / pinia / StoreState
Type Alias: StoreState<SS>
StoreState<
SS
>:SS
extendsStore
<string
, infer S,_GettersTree
<StateTree
>,_ActionsTree
> ?UnwrapRef
<S
> :_ExtractStateFromSetupStore
<SS
>
Extract the state of a store type. Works with both a Setup Store or an Options Store. Note this unwraps refs.
Type Parameters
• SS