diff options
Diffstat (limited to 'lib/wallet/db.ts')
-rw-r--r-- | lib/wallet/db.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/wallet/db.ts b/lib/wallet/db.ts index 5104f28fb..23cc9eb07 100644 --- a/lib/wallet/db.ts +++ b/lib/wallet/db.ts @@ -15,7 +15,6 @@ */ "use strict"; -import Dictionary = _.Dictionary; /** * Declarations and helpers for @@ -88,7 +87,7 @@ export function exportDb(db: IDBDatabase): Promise<any> { let dump = { name: db.name, version: db.version, - stores: {} as Dictionary<any>, + stores: {} as {[s: string]: any}, }; return new Promise((resolve, reject) => { @@ -99,7 +98,7 @@ export function exportDb(db: IDBDatabase): Promise<any> { }); for (let i = 0; i < db.objectStoreNames.length; i++) { let name = db.objectStoreNames[i]; - let storeDump = {} as Dictionary<any>; + let storeDump = {} as {[s: string]: any}; dump.stores[name] = storeDump; let store = tx.objectStore(name) .openCursor() |