From 9edc1acc9000635739070abccc32205ae1cb99f7 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 1 Jun 2022 09:07:00 +0100 Subject: [PATCH] Add type to indexeddb variable --- src/matrix-utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix-utils.ts b/src/matrix-utils.ts index e3617c5..7f98f9f 100644 --- a/src/matrix-utils.ts +++ b/src/matrix-utils.ts @@ -48,7 +48,7 @@ export async function initClient( window.OLM_OPTIONS = {}; await Olm.init({ locateFile: () => olmWasmPath }); - let indexedDB; + let indexedDB: IDBFactory; try { indexedDB = window.indexedDB;