mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-22 11:40:10 +08:00
Commit / Rollback on Transaction interface should return promise
This commit is contained in:
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