Interface: KeyValueStore
Defined in: client/accounts.ts:113
The part of localStorage the client uses.
Methods
getItem()
ts
getItem(key): string | null;Defined in: client/accounts.ts:115
The value under key, or null.
Parameters
| Parameter | Type |
|---|---|
key | string |
Returns
string | null
setItem()
ts
setItem(key, value): void;Defined in: client/accounts.ts:117
Stores value under key.
Parameters
| Parameter | Type |
|---|---|
key | string |
value | string |
Returns
void
removeItem()
ts
removeItem(key): void;Defined in: client/accounts.ts:119
Removes key.
Parameters
| Parameter | Type |
|---|---|
key | string |
Returns
void