From 3037fe86765c57557b680d15f65e3b214d41c4ec Mon Sep 17 00:00:00 2001 From: wellwelwel <46850407+wellwelwel@users.noreply.github.com> Date: Sun, 9 Apr 2023 08:47:09 -0300 Subject: [PATCH] Fixed the redundancy when extending `Connection` --- 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; }