1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 01:33:33 +00:00

Bump dependencies (#1792)

* Bump dependencies
This commit is contained in:
Oscar Hinton
2021-04-23 10:45:20 +02:00
committed by GitHub
parent 2844a95183
commit d252fd1740
15 changed files with 4258 additions and 7952 deletions

View File

@@ -22,7 +22,7 @@ export default class BrowserStorageService implements StorageService {
async save(key: string, obj: any): Promise<any> {
if (obj == null) {
// Fix safari not liking null in set
return new Promise(resolve => {
return new Promise<void>(resolve => {
this.chromeStorageApi.remove(key, () => {
resolve();
});
@@ -30,7 +30,7 @@ export default class BrowserStorageService implements StorageService {
}
const keyedObj = { [key]: obj };
return new Promise(resolve => {
return new Promise<void>(resolve => {
this.chromeStorageApi.set(keyedObj, () => {
resolve();
});
@@ -38,7 +38,7 @@ export default class BrowserStorageService implements StorageService {
}
async remove(key: string): Promise<any> {
return new Promise(resolve => {
return new Promise<void>(resolve => {
this.chromeStorageApi.remove(key, () => {
resolve();
});