summaryrefslogtreecommitdiff
path: root/src/logging.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/logging.ts')
-rw-r--r--src/logging.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logging.ts b/src/logging.ts
index 788a7df55..d5d6debf4 100644
--- a/src/logging.ts
+++ b/src/logging.ts
@@ -198,7 +198,7 @@ const loggingDbVersion = 1;
const logsStore: Store<LogEntry> = new Store<LogEntry>("logs");
export function openLoggingDb(): Promise<IDBDatabase> {
- return new Promise((resolve, reject) => {
+ return new Promise<IDBDatabase>((resolve, reject) => {
const req = indexedDB.open("taler-logging", loggingDbVersion);
req.onerror = (e) => {
reject(e);