From 4aded2bfefcaa6bb4a78dfac22bff8795e8d01c1 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 29 Jan 2021 11:36:44 +0100 Subject: [PATCH] type annotation --- packages/idb-bridge/src/MemoryBackend.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/idb-bridge/src/MemoryBackend.test.ts b/packages/idb-bridge/src/MemoryBackend.test.ts index 21325379d..737b83d9c 100644 --- a/packages/idb-bridge/src/MemoryBackend.test.ts +++ b/packages/idb-bridge/src/MemoryBackend.test.ts @@ -36,8 +36,8 @@ function promiseFromRequest(request: BridgeIDBRequest): Promise { function promiseFromTransaction( transaction: BridgeIDBTransaction, -): Promise { - return new Promise((resolve, reject) => { +): Promise { + return new Promise((resolve, reject) => { transaction.oncomplete = () => { resolve(); };