interface StorageLike { getItem(key: string): null | string; removeItem(key: string): void; setItem(key: string, value: string): void;} Methods
getItem
- getItem(key: string): null | string
Returns null | string
removeItem
- removeItem(key: string): void
Returns void
setItem
- setItem(key: string, value: string): void
Returns void
The three calls the widget makes on a store.
localStoragesatisfies it.