Commit / Rollback on Transaction interface should return promise

This commit is contained in:
James O'Cull
2015-12-03 09:55:13 -05:00
parent 78d36dd49b
commit 3ec3169f64

View File

@@ -5706,12 +5706,12 @@ declare module "sequelize" {
/**
* Commit the transaction
*/
commit() : Transaction;
commit() : Promise<void>;
/**
* Rollback (abort) the transaction
*/
rollback() : Transaction;
rollback() : Promise<void>;
}