API 文档 • 文档
类型别名:Store<Id, S, G, A>
Store<
Id
,S
,G
,A
>:_StoreWithState
<Id
,S
,G
,A
> &UnwrapRef
<S
> &_StoreWithGetters
<G
> &_ActionsTree
extendsA
?object
:A
&PiniaCustomProperties
<Id
,S
,G
,A
> &PiniaCustomStateProperties
<S
>
用于构建存储的存储类型。
类型参数
• Id extends string
= string
• S extends StateTree
= object
• G = object
• A = object