From 7c62d1177e79b5063a11fa15a2ac4e3dc3e2a2ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Weslley=20Ara=C3=BAjo?= <46850407+wellwelwel@users.noreply.github.com> Date: Thu, 13 Apr 2023 20:00:52 -0300 Subject: [PATCH] fix: PoolConnection redundancy when extending Connection interface in TypeScript --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index ec138d2264..7976adf740 100644 --- a/index.d.ts +++ b/index.d.ts @@ -83,7 +83,7 @@ export interface Connection extends mysql.Connection { sequenceId: number; } -export interface PoolConnection extends mysql.PoolConnection, Connection { +export interface PoolConnection extends mysql.PoolConnection { promise(promiseImpl?: PromiseConstructor): PromisePoolConnection; }