Skip to content

Commit 6ca9d5e

Browse files
marcinleefalkenhawk
authored andcommitted
replace objection Transaction type with interface - to allow overriding it
1 parent 8f88965 commit 6ca9d5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typings/objection/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1107,7 +1107,7 @@ declare namespace Objection {
11071107
result?: R;
11081108
}
11091109

1110-
export type Transaction = Knex.Transaction;
1110+
export interface Transaction extends Knex.Transaction {}
11111111
export type TransactionOrKnex = Transaction | Knex;
11121112

11131113
export interface RelationMappings {

0 commit comments

Comments
 (0)