diff --git a/src/matrix/storage/idb/Transaction.ts b/src/matrix/storage/idb/Transaction.ts index 5aa5fc18..b6fee2f2 100644 --- a/src/matrix/storage/idb/Transaction.ts +++ b/src/matrix/storage/idb/Transaction.ts @@ -56,7 +56,7 @@ export class Transaction { return new Store(this._txn.objectStore(name), this); } - _store(name: string, mapStore: (idbStore: Store) => R): R { + _store(name: string, mapStore: (idbStore: Store) => any): any { if (!this._stores[name]) { const idbStore = this._idbStore(name); this._stores[name] = mapStore(idbStore);