Move web_api.js and js/modules/crypto.js to TypeScript
This commit is contained in:
parent
71436d18e2
commit
9ab54b9b83
29 changed files with 770 additions and 427 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue