Adrià Vilanova MartÃnez | 5bdc473 | 2022-05-31 20:12:21 +0200 | [diff] [blame] | 1 | export default class ExtSessionStorage { |
2 | static set(items: any): Promise<void> { | ||||
3 | return chrome.storage.session.set(items); | ||||
4 | } | ||||
5 | |||||
6 | static get(keys?: string|string[]|undefined): Promise<any> { | ||||
7 | return chrome.storage.session.get(keys); | ||||
8 | } | ||||
9 | } |