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(); };