Skip to content

Complete guide to

Mastering Pinia

written by its creator

API Documentation / pinia / StoreProperties

Interface: StoreProperties<Id>

pinia.StoreProperties

Properties of a store.

Type parameters

NameType
Idextends string

Hierarchy

Properties

$id

$id: Id

Unique identifier of the store


_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.

Released under the MIT License.