From 4e75c240b89aab51f4eb1c7f57e392c886289b76 Mon Sep 17 00:00:00 2001 From: Ashley Bartlett Date: Tue, 14 Jan 2025 10:19:06 +1100 Subject: [PATCH] fix: Wrong type inheritance for promise pool Mistakenly didn't use the promise execute and query import. --- promise.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/promise.d.ts b/promise.d.ts index b700520548..295e65c8d1 100644 --- a/promise.d.ts +++ b/promise.d.ts @@ -84,7 +84,7 @@ export interface PoolConnection extends Connection { release(): void; } -export interface Pool extends Pick { +export interface Pool extends QueryableAndExecutableBase, Pick { getConnection(): Promise; releaseConnection(connection: PoolConnection): void;