diff --git a/src/script/timer-service.ts b/src/script/timer-service.ts index 7c73778..effce5d 100644 --- a/src/script/timer-service.ts +++ b/src/script/timer-service.ts @@ -53,7 +53,7 @@ let timerService: TimerService; export async function timerServiceSingleton(): Promise { if (!timerService) { const db = await idb.openDB(dbName, dbVersion, { - upgrade(db, _oldVersion, newVersion, _transaction) { + upgrade(db, _oldVersion, newVersion) { if (newVersion === 1) { db.createObjectStore( storeName, @@ -68,4 +68,4 @@ export async function timerServiceSingleton(): Promise { timerService = new IDBTimerService(db); } return timerService; -} \ No newline at end of file +}