forked from mystiq/hydrogen-web
No need for type assertion here
This commit is contained in:
parent
58105824d9
commit
14eaa57434
1 changed files with 1 additions and 1 deletions
|
@ -103,5 +103,5 @@ async function createStores(db: IDBDatabase, txn: IDBTransaction, oldVersion: nu
|
||||||
const migrationFunc = schema[i];
|
const migrationFunc = schema[i];
|
||||||
await log.wrap(`v${i + 1}`, (log) => migrationFunc(db, txn, localStorage, log));
|
await log.wrap(`v${i + 1}`, (log) => migrationFunc(db, txn, localStorage, log));
|
||||||
}
|
}
|
||||||
}) as Promise<void>;
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue