Skip to content

API DocumentationDocs


API Documentation / pinia / StoreGetters

Type Alias: StoreGetters<SS>

StoreGetters<SS>: SS extends Store<string, StateTree, infer G, _ActionsTree> ? _StoreWithGetters<G> : _ExtractGettersFromSetupStore<SS>

Extract the getters of a store type. Works with both a Setup Store or an Options Store.

Type Parameters

SS

Released under the MIT License.