Add type to indexeddb variable

This commit is contained in:
David Baker 2022-06-01 09:07:00 +01:00
parent 2cdbeb6f12
commit 9edc1acc90

View File

@ -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;