From 98623dd7fc82cfbe556fc4b92828d382b86625d8 Mon Sep 17 00:00:00 2001 From: wellwelwel <46850407+wellwelwel@users.noreply.github.com> Date: Fri, 23 Jun 2023 23:06:31 -0300 Subject: [PATCH] fix: `createPool` uri overload --- typings/mysql/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/typings/mysql/index.d.ts b/typings/mysql/index.d.ts index 8654ec16db..b1d1b83d40 100644 --- a/typings/mysql/index.d.ts +++ b/typings/mysql/index.d.ts @@ -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;