Interface StoreProperties<Id>

Properties of a store.

interface StoreProperties<Id> {
    $id: Id;
    _customProperties: Set<string>;
}

Type Parameters

  • Id extends string

Hierarchy (view full)

Properties

$id: Id

Unique identifier of the store

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

Generated using TypeDoc