Skip to content
This repository was archived by the owner on May 25, 2025. It is now read-only.

Commit 8524fd5

Browse files
fix: BaseCommonDB
1 parent f8a5b21 commit 8524fd5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/base.common.db.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import type {
1111
CommonDBOptions,
1212
CommonDBSaveOptions,
1313
CommonDBTransactionOptions,
14+
DBTransaction,
1415
DBTransactionFn,
1516
RunQueryResult,
1617
} from './db.model.js'
@@ -93,7 +94,7 @@ export class BaseCommonDB implements CommonDB {
9394
// there's no try/catch and rollback, as there's nothing to rollback
9495
}
9596

96-
async createTransaction(_opt?: CommonDBTransactionOptions): Promise<FakeDBTransaction> {
97+
async createTransaction(_opt?: CommonDBTransactionOptions): Promise<DBTransaction> {
9798
return new FakeDBTransaction(this)
9899
}
99100

0 commit comments

Comments
 (0)