mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
9 lines
241 B
TypeScript
9 lines
241 B
TypeScript
const localStorage = browser.storage.local
|
|
|
|
export function get(mapping: string[] | null): Promise<any> {
|
|
return localStorage.get(mapping || undefined)
|
|
}
|
|
|
|
export function set(value: any): Promise<void> {
|
|
return localStorage.set(value)
|
|
}
|