Add type to indexeddb variable
This commit is contained in:
parent
2cdbeb6f12
commit
9edc1acc90
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ export async function initClient(
|
||||||
window.OLM_OPTIONS = {};
|
window.OLM_OPTIONS = {};
|
||||||
await Olm.init({ locateFile: () => olmWasmPath });
|
await Olm.init({ locateFile: () => olmWasmPath });
|
||||||
|
|
||||||
let indexedDB;
|
let indexedDB: IDBFactory;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
indexedDB = window.indexedDB;
|
indexedDB = window.indexedDB;
|
||||||
|
|
Loading…
Reference in a new issue