From 2cb8944a78931ed8d3caad2a11ff0d5a4b375f70 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Fri, 13 Aug 2021 10:04:03 -0700 Subject: [PATCH] Start migrating quirks to TypeScript --- src/matrix/storage/idb/StorageFactory.js | 2 +- src/matrix/storage/idb/{quirks.js => quirks.ts} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/matrix/storage/idb/{quirks.js => quirks.ts} (100%) diff --git a/src/matrix/storage/idb/StorageFactory.js b/src/matrix/storage/idb/StorageFactory.js index b8d13acc..fa5bbabc 100644 --- a/src/matrix/storage/idb/StorageFactory.js +++ b/src/matrix/storage/idb/StorageFactory.js @@ -18,7 +18,7 @@ import {Storage} from "./Storage"; import { openDatabase, reqAsPromise } from "./utils"; import { exportSession, importSession } from "./export"; import { schema } from "./schema"; -import { detectWebkitEarlyCloseTxnBug } from "./quirks.js"; +import { detectWebkitEarlyCloseTxnBug } from "./quirks"; const sessionName = sessionId => `hydrogen_session_${sessionId}`; const openDatabaseWithSessionId = function(sessionId, idbFactory) { diff --git a/src/matrix/storage/idb/quirks.js b/src/matrix/storage/idb/quirks.ts similarity index 100% rename from src/matrix/storage/idb/quirks.js rename to src/matrix/storage/idb/quirks.ts