-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TS: Return
Connection
from createConnection
Fixes #9610 This change fixes the TypeScript type definitions so that we return a full `Connection` object from `createConnection(url)`, not just a `Promise<Connection>`.
- Loading branch information
Alec Gibson
committed
Dec 1, 2020
1 parent
07b1412
commit 0d9e3c6
Showing
2 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters