Signal-Desktop/ts/shims/storage.ts

10 lines
212 B
TypeScript

export async function put(key: string, value: any) {
// @ts-ignore
return window.storage.put(key, value);
}
export async function remove(key: string) {
// @ts-ignore
return window.storage.remove(key);
}