From f9fa7cdb49634164621e6c1a0579f3c0b512eab1 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Fri, 13 Aug 2021 10:12:33 -0700 Subject: [PATCH] Translate quirks --- src/matrix/storage/idb/quirks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 => {