Skip to content

@pinia/root / pinia / _MapStateObjectReturn

_MapStateObjectReturn<Id, S, G, A, T>

ts
type _MapStateObjectReturn<Id, S, G, A, T>: { [key in keyof T]: Function };

For internal use only

Type Parameters

Id extends string

S extends StateTree

G extends _GettersTree<S> | object

A

T extends Record<string, keyof S | keyof G | (store) => any> = object

Released under the MIT License.