diff options
Diffstat (limited to 'src/util/query.ts')
-rw-r--r-- | src/util/query.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/util/query.ts b/src/util/query.ts index 256395d42..8dd3ff1e2 100644 --- a/src/util/query.ts +++ b/src/util/query.ts @@ -292,7 +292,11 @@ export class TransactionHandle { return requestToPromise(req); } - mutate<T>(store: Store<T>, key: any, f: (x: T) => T | undefined): Promise<void> { + mutate<T>( + store: Store<T>, + key: any, + f: (x: T) => T | undefined, + ): Promise<void> { const req = this.tx.objectStore(store.name).openCursor(key); return applyMutation(req, f); } |