@pinia/root / pinia / StoreGeneric
StoreGeneric
ts
type 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.