Merge pull request #1760 from strongloop/fix/begintransaction-api
fix: use only promises for beginTransaction
This commit is contained in:
commit
6b83b6f4d1
|
@ -209,5 +209,5 @@ export declare class DataSource extends EventEmitter {
|
|||
*/
|
||||
beginTransaction(
|
||||
options?: IsolationLevel | Options,
|
||||
): PromiseOrVoid<Transaction>;
|
||||
): Promise<Transaction>;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue