aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-01-29 11:36:44 +0100
committerFlorian Dold <florian@dold.me>2021-01-29 11:36:55 +0100
commit4aded2bfefcaa6bb4a78dfac22bff8795e8d01c1 (patch)
treeb39b1fc423481ba85bc71e377db046334d8dd72a /packages
parentf40eb790901e972505125e9ba5f1f6f9cb5aeed7 (diff)
type annotation
Diffstat (limited to 'packages')
-rw-r--r--packages/idb-bridge/src/MemoryBackend.test.ts4
1 files 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<any> {
function promiseFromTransaction(
transaction: BridgeIDBTransaction,
-): Promise<any> {
- return new Promise((resolve, reject) => {
+): Promise<void> {
+ return new Promise<void>((resolve, reject) => {
transaction.oncomplete = () => {
resolve();
};