Remove unnecessary generic
This commit is contained in:
parent
410bd4ab8b
commit
08e7616897
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ export class Transaction {
|
|||
return new Store(this._txn.objectStore(name), this);
|
||||
}
|
||||
|
||||
_store<R>(name: string, mapStore: (idbStore: Store<any>) => R): R {
|
||||
_store(name: string, mapStore: (idbStore: Store<any>) => any): any {
|
||||
if (!this._stores[name]) {
|
||||
const idbStore = this._idbStore(name);
|
||||
this._stores[name] = mapStore(idbStore);
|
||||
|
|
Reference in a new issue