Skip to content

@pinia/root / pinia / _MapWritableStateReturn

_MapWritableStateReturn<S, G, Keys>

ts
type _MapWritableStateReturn<S, G, Keys> = { [key in Keys]: { get: () => UnwrapRef<(S & G)[key]>; set: (value: UnwrapRef<(S & G)[key]>) => any } };

For internal use only

Type Parameters

S extends StateTree

G

Keys extends _MapWritableStateKeys<S, G>

Released under the MIT License.