mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-08 03:00:02 +00:00
Commit / Rollback on Transaction interface should return promise
This commit is contained in:
4
sequelize/sequelize.d.ts
vendored
4
sequelize/sequelize.d.ts
vendored
@@ -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