Move web_api.js and js/modules/crypto.js to TypeScript

This commit is contained in:
Scott Nonnenberg 2020-03-31 13:03:38 -07:00
parent 71436d18e2
commit 9ab54b9b83
29 changed files with 770 additions and 427 deletions

View file

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