No need for type assertion here

This commit is contained in:
RMidhunSuresh 2021-11-16 13:14:11 +05:30
parent 58105824d9
commit 14eaa57434

View file

@ -103,5 +103,5 @@ async function createStores(db: IDBDatabase, txn: IDBTransaction, oldVersion: nu
const migrationFunc = schema[i];
await log.wrap(`v${i + 1}`, (log) => migrationFunc(db, txn, localStorage, log));
}
}) as Promise<void>;
});
}