Skip to content

@pinia/root / pinia / _StoreObject

_StoreObject<S>

ts
type _StoreObject<S>: S extends StoreDefinition<infer Ids, infer State, infer Getters, infer Actions> ? { [Id in `${Ids}${MapStoresCustomization extends Record<"suffix", infer Suffix> ? Suffix : "Store"}`]: Function } : object;

For internal use only.

Type Parameters

S

Released under the MIT License.