Storage <TKey>
Implements
- SimpleStorage
Index
Constructors
constructor
Type parameters
- TKey: string = string
Parameters
options: StorageOptions
Returns Storage<TKey>
Properties
readonlyprefix
Methods
getItem
Parameters
key: TKey
Returns string
join
Type parameters
- TKeyOverride: string | void = void
Parameters
path: string
Returns Storage<TKeyOverride extends void ? TKey : TKeyOverride>
removeItem
Parameters
key: TKey
Returns void
setItem
Parameters
key: TKey
value: string
Returns void