diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-04-06 21:15:41 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-04-06 21:15:41 +0530 |
commit | f36bb7a04eabe0330cb166bf9ce5021c92f38dc8 (patch) | |
tree | 9a242a06bd5353c8b167600c31776c9f16d9d21c /src/util/query.ts | |
parent | 07f25566ca51b7faf6462a57d15f4ebbfc733ab0 (diff) | |
download | wallet-core-f36bb7a04eabe0330cb166bf9ce5021c92f38dc8.tar.xz |
linter
Diffstat (limited to 'src/util/query.ts')
-rw-r--r-- | src/util/query.ts | 6 |
1 files changed, 3 insertions, 3 deletions
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<T> { class ResultStream<T> { private currentPromise: Promise<void>; - 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<T>( 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 |