Private
#privatePrivate
_containsPrivate
Readonly
_deserializePrivate
_encryptPrivate
_ensurePrivate
_getPrivate
_handlePrivate
_isPrivate
_migratePrivate
Readonly
_serializePrivate
_setPrivate
_shouldPrivate
_validatePrivate
_watchPrivate
_writeReadonly
eventsReadonly
pathGet an item.
The key of the item to get.
Optional
defaultValue: ValueWatches the whole config object, calling callback
on any changes.
A callback function that is called on any changes. When a key
is first set oldValue
will be undefined
, and when a key is deleted newValue
will be undefined
.
A function, that when called, will unsubscribe.
Watches the given key
, calling callback
on any changes.
The key wo watch.
A callback function that is called on any changes. When a key
is first set oldValue
will be undefined
, and when a key is deleted newValue
will be undefined
.
A function, that when called, will unsubscribe.
Set an item or multiple items at once.
Optional
value: T[Key]Must be JSON serializable. Trying to set the type undefined
, function
, or symbol
will result in a TypeError
.
Generated using TypeDoc
Delete all items.
This resets known items to their default values, if defined by the
defaults
orschema
option.