Skip to content

API DocumentationDocs


API Documentation / pinia / StoreGeneric

Type Alias: StoreGeneric

StoreGeneric: Store<string, StateTree, _GettersTree<StateTree>, _ActionsTree>

Generic and type-unsafe version of Store. Doesn't fail on access with strings, making it much easier to write generic functions that do not care about the kind of store that is passed.

Released under the MIT License.