From f36bb7a04eabe0330cb166bf9ce5021c92f38dc8 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 6 Apr 2020 21:15:41 +0530 Subject: linter --- src/util/query.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/util/query.ts') diff --git a/src/util/query.ts b/src/util/query.ts index ce704b4fc..44f668658 100644 --- a/src/util/query.ts +++ b/src/util/query.ts @@ -123,8 +123,8 @@ interface CursorValueResult { class ResultStream { private currentPromise: Promise; - private gotCursorEnd: boolean = false; - private awaitingResult: boolean = false; + private gotCursorEnd = false; + private awaitingResult = false; constructor(private req: IDBRequest) { this.awaitingResult = true; @@ -304,7 +304,7 @@ function runWithTransaction( const storeName = stores.map((x) => x.name); const tx = db.transaction(storeName, mode); let funResult: any = undefined; - let gotFunResult: boolean = false; + let gotFunResult = false; tx.oncomplete = () => { // This is a fatal error: The transaction completed *before* // the transaction function returned. Likely, the transaction -- cgit v1.2.3