Skip to content

Commit d60f659

Browse files
author
Greg Soltis
authored
Remove unnecessary any (#1030)
* Fix an errant any usage * [AUTOMATED]: Prettier Code Styling
1 parent fffdb75 commit d60f659

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

packages/firestore/src/local/simple_db.ts

+2-4
Original file line numberDiff line numberDiff line change
@@ -274,12 +274,10 @@ export class SimpleDbTransaction {
274274

275275
static open(
276276
db: IDBDatabase,
277-
mode: string,
277+
mode: IDBTransactionMode,
278278
objectStoreNames: string[]
279279
): SimpleDbTransaction {
280-
return new SimpleDbTransaction(
281-
db.transaction(objectStoreNames, mode as AnyDuringMigration)
282-
);
280+
return new SimpleDbTransaction(db.transaction(objectStoreNames, mode));
283281
}
284282

285283
constructor(private readonly transaction: IDBTransaction) {

0 commit comments

Comments
 (0)