Merge pull request #1760 from strongloop/fix/begintransaction-api

fix: use only promises for beginTransaction
This commit is contained in:
Biniam Admikew 2019-07-19 11:11:58 -04:00 committed by GitHub
commit 6b83b6f4d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -209,5 +209,5 @@ export declare class DataSource extends EventEmitter {
*/ */
beginTransaction( beginTransaction(
options?: IsolationLevel | Options, options?: IsolationLevel | Options,
): PromiseOrVoid<Transaction>; ): Promise<Transaction>;
} }