diff --git a/src/matrix/storage/idb/quirks.ts b/src/matrix/storage/idb/quirks.ts index 5eaa6836..e739da84 100644 --- a/src/matrix/storage/idb/quirks.ts +++ b/src/matrix/storage/idb/quirks.ts @@ -18,7 +18,7 @@ limitations under the License. import {openDatabase, txnAsPromise, reqAsPromise} from "./utils"; // filed as https://bugs.webkit.org/show_bug.cgi?id=222746 -export async function detectWebkitEarlyCloseTxnBug(idbFactory) { +export async function detectWebkitEarlyCloseTxnBug(idbFactory: IDBFactory): Promise { const dbName = "hydrogen_webkit_test_inactive_txn_bug"; try { const db = await openDatabase(dbName, db => {