Skip to content

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 ​

ParameterType
keystring

Returns ​

string | null


setItem() ​

ts
setItem(key, value): void;

Defined in: client/accounts.ts:117

Stores value under key.

Parameters ​

ParameterType
keystring
valuestring

Returns ​

void


removeItem() ​

ts
removeItem(key): void;

Defined in: client/accounts.ts:119

Removes key.

Parameters ​

ParameterType
keystring

Returns ​

void

MIT licence. Tickflare is an independent project and is not affiliated with Cloudflare.