Type Alias: StorageOptions<Key, Value, CacheDisabled>
StorageOptions<
Key,Value,CacheDisabled> =object&Pick<Partial<IDataStorage<Key,Value,CacheDisabled>>,"cacheDisabled"|"onChange"|"onError"|"parse"|"spaces"|"storage"|"stringify"> &CacheDisabledextendsfalse?Pick<Partial<IDataStorage<Key,Value,CacheDisabled>>,"delay"|"delayOptions"> :object
Defined in: packages/rx/src/data-storage/types.ts:61
Initial options provided through the constructor
Type Declaration
initialValue?
optionalinitialValue:Map<Key,Value>
value to set, only if storage is empty. Default: new Map()
Type Parameters
Key
Key extends StorageKey
Value
Value extends StorageValue
CacheDisabled
CacheDisabled extends boolean = false