From 08e7616897734a56c78e00718659555a92206ffd Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Mon, 16 Aug 2021 16:27:28 -0700 Subject: [PATCH] Remove unnecessary generic --- src/matrix/storage/idb/Transaction.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);