diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-05-07 23:46:50 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-05-07 23:46:50 +0200 |
commit | e89b0752c17def0dcaf15af2fa162cbd56bde4f1 (patch) | |
tree | 26fc06d551cf72124ad0d54fc9ff396df242d5a0 /src/query.ts | |
parent | 1cfac33f537bbd649f2c6535baa5fd273a66fcb3 (diff) |
update package versions
Diffstat (limited to 'src/query.ts')
-rw-r--r-- | src/query.ts | 2 |
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(); |