signal-desktop/ts/shims/storage.ts

7 lines
166 B
TypeScript

export function put(key: string, value: any) {
window.storage.put(key, value);
}
export async function remove(key: string) {
await window.storage.remove(key);
}