Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TypedStorageOptions

Options for TypedStorage.

Hierarchy

  • TypedStorageOptions

Index

Properties

Properties

base

BaseStorage implementation used by typed wrapper.

Optional keyPrefix

keyPrefix?: string

If this option is set, every key will be prefixed by ${keyPrefix} internally (in BaseStorage level).

Can be used for namespacing a singleton storage (e.g. localStorage/sessionStorage).

Generated using TypeDoc