Interface KeyValueStorageInterface
interface KeyValueStorageInterface { clear(): Promise<void>; getItem(key): Promise<null | string>; removeItem(key): Promise<void>; setItem(key,
value): Promise<void>; } Methods
clear
- clear(): Promise<void>
Returns Promise<void>
getItem
- getItem(key): Promise<null | string>
Returns Promise<null | string>
removeItem
- removeItem(key): Promise<void>
Returns Promise<void>
setItem
- setItem(key, value): Promise<void>
Returns Promise<void>