Skip to content

Commit

Permalink
fix: Wrong type inheritance for promise pool
Browse files Browse the repository at this point in the history
Mistakenly didn't use the promise execute and query import.
  • Loading branch information
ashleybartlett committed Jan 13, 2025
1 parent 09009ac commit 4e75c24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion promise.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export interface PoolConnection extends Connection {
release(): void;
}

export interface Pool extends Pick<CorePool, 'execute' | 'query' | 'escape' | 'escapeId' | 'format'> {
export interface Pool extends QueryableAndExecutableBase, Pick<CorePool, 'escape' | 'escapeId' | 'format'> {
getConnection(): Promise<PoolConnection>;

releaseConnection(connection: PoolConnection): void;
Expand Down

0 comments on commit 4e75c24

Please sign in to comment.