fix: use only promises for beginTransaction
Co-authored-by: Miroslav Bajtoš <mbajtoss@gmail.com>
This commit is contained in:
parent
6478c73dde
commit
e3c276720f
|
@ -209,5 +209,5 @@ export declare class DataSource extends EventEmitter {
|
||||||
*/
|
*/
|
||||||
beginTransaction(
|
beginTransaction(
|
||||||
options?: IsolationLevel | Options,
|
options?: IsolationLevel | Options,
|
||||||
): PromiseOrVoid<Transaction>;
|
): Promise<Transaction>;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue