Skip to content

@pinia/root / pinia / StoreProperties

StoreProperties<Id> ​

Properties of a store.

Extended by ​

Type Parameters ​

Id ​

Id extends string

Properties ​

_customProperties ​

ts
_customProperties: Set<string>;

Used by devtools plugin to retrieve properties added with plugins. Removed in production. Can be used by the user to add property keys of the store that should be displayed in devtools.


$id ​

ts
$id: Id;

Unique identifier of the store

Released under the MIT License.