Skip to content

Commit

Permalink
Merge pull request #1675 from cmmartin/patch-1
Browse files Browse the repository at this point in the history
Add TS type for createPool to accept a string
  • Loading branch information
sidorares authored Nov 7, 2022
2 parents 198f371 + 9c83375 commit 7ca823a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions promise.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ export function createConnection(connectionUri: string): Promise<Connection>;
export function createConnection(
config: ConnectionOptions
): Promise<Connection>;
export function createPool(connectionUri: string): Pool;
export function createPool(config: PoolOptions): Pool;

export interface PreparedStatementInfo {
Expand Down

0 comments on commit 7ca823a

Please sign in to comment.