Type alias Store<Id, S, G, A>

Store<Id, S, G, A>: _StoreWithState<Id, S, G, A> & UnwrapRef<S> & _StoreWithGetters<G> & (_ActionsTree extends A
    ? {}
    : A) & PiniaCustomProperties<Id, S, G, A> & PiniaCustomStateProperties<S>

Store type to build a store.

Type Parameters

  • Id extends string = string

  • S extends StateTree = {}

  • G = {}

  • A = {}

Generated using TypeDoc