aboutsummaryrefslogtreecommitdiff
path: root/src/query.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-05-07 23:46:50 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-05-07 23:46:50 +0200
commite89b0752c17def0dcaf15af2fa162cbd56bde4f1 (patch)
tree26fc06d551cf72124ad0d54fc9ff396df242d5a0 /src/query.ts
parent1cfac33f537bbd649f2c6535baa5fd273a66fcb3 (diff)
downloadwallet-core-e89b0752c17def0dcaf15af2fa162cbd56bde4f1.tar.xz
update package versions
Diffstat (limited to 'src/query.ts')
-rw-r--r--src/query.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/query.ts b/src/query.ts
index f21f82020..68074ec03 100644
--- a/src/query.ts
+++ b/src/query.ts
@@ -653,7 +653,7 @@ export class QueryRoot {
const req = s.openCursor();
let n = 0;
req.onsuccess = () => {
- const cursor: IDBCursorWithValue = req.result;
+ const cursor: IDBCursorWithValue | null = req.result;
if (cursor) {
if (predicate(cursor.value, n++)) {
cursor.delete();