Skip to content

Commit

Permalink
fix: createPool uri overload
Browse files Browse the repository at this point in the history
  • Loading branch information
wellwelwel committed Jun 24, 2023
1 parent 8979eb1 commit 98623dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions typings/mysql/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export interface Prepare extends BasePrepare {}
export function createConnection(connectionUri: string): BaseConnection;
export function createConnection(config: ConnectionOptions): BaseConnection;

export function createPool(connectionUri: string): BasePool;
export function createPool(config: PoolOptions): BasePool;

export function createPoolCluster(config?: PoolClusterOptions): PoolCluster;
Expand Down

0 comments on commit 98623dd

Please sign in to comment.