defineLocalStore
defineLocalStore<
StoreType,Modifiers>(name,store,mutators):StoreType&Modifiers
Defined in: core/src/state.ts:8
Define a local-only (persisted, if in browser) store. Used for app settings.
Type Parameters
Section titled “Type Parameters”StoreType
Section titled “StoreType”StoreType extends object
Modifiers
Section titled “Modifiers”Modifiers extends unknown
Parameters
Section titled “Parameters”string
StoreType
mutators
Section titled “mutators”(get, set) => Modifiers
Returns
Section titled “Returns”StoreType & Modifiers