mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-10 20:17:32 +01:00
No need for type assertion here
This commit is contained in:
parent
58105824d9
commit
14eaa57434
@ -103,5 +103,5 @@ async function createStores(db: IDBDatabase, txn: IDBTransaction, oldVersion: nu
|
||||
const migrationFunc = schema[i];
|
||||
await log.wrap(`v${i + 1}`, (log) => migrationFunc(db, txn, localStorage, log));
|
||||
}
|
||||
}) as Promise<void>;
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user