API Documentation / pinia / StoreProperties
Interface: StoreProperties<Id>
pinia.StoreProperties
Properties of a store.
Type parameters
Name | Type |
---|---|
Id | extends string |
Hierarchy
StoreProperties
Properties
$id
• $id: Id
Unique identifier of the store
Defined in
packages/pinia/src/types.ts:258
_customProperties
• _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.
Defined in
packages/pinia/src/types.ts:286