fix: use only promises for beginTransaction

Co-authored-by: Miroslav Bajtoš <mbajtoss@gmail.com>
This commit is contained in:
Biniam Admikew 2019-07-18 12:18:38 -04:00
parent 6478c73dde
commit e3c276720f
1 changed files with 1 additions and 1 deletions

View File

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