mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-09 11:40:16 +08:00
Commit / Rollback on Transaction interface should return promise
This commit is contained in:
1 parent
78d36dd49b
commit
3ec3169f64
1 file changed
+2
-2
Vendored
+2
-2
@@ -5706,12 +5706,12 @@ declare module "sequelize" {
|
||||
/**
|
||||
* Commit the transaction
|
||||
*/
|
||||
commit() : Transaction;
|
||||
commit() : Promise<void>;
|
||||
|
||||
/**
|
||||
* Rollback (abort) the transaction
|
||||
*/
|
||||
rollback() : Transaction;
|
||||
rollback() : Promise<void>;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user