Skip to content

Commit ceb741c

Browse files
committed
Fix Driver.supportsMultiDb return type
Also add a explicity return type for `supportsTransactionConfig`
1 parent 64dafb3 commit ceb741c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/driver.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ class Driver {
159159
*
160160
* @returns {Promise<boolean>} promise resolved with a boolean or rejected with error.
161161
*/
162-
supportsMultiDb(): Promise<Boolean> {
162+
supportsMultiDb(): Promise<boolean> {
163163
const connectionProvider = this._getOrCreateConnectionProvider()
164164
return connectionProvider.supportsMultiDb()
165165
}
@@ -172,7 +172,7 @@ class Driver {
172172
*
173173
* @returns {Promise<boolean>} promise resolved with a boolean or rejected with error.
174174
*/
175-
supportsTransactionConfig() {
175+
supportsTransactionConfig(): Promise<boolean> {
176176
const connectionProvider = this._getOrCreateConnectionProvider()
177177
return connectionProvider.supportsTransactionConfig()
178178
}

0 commit comments

Comments
 (0)