Skip to content

Commit

Permalink
fix: PoolConnection redundancy when extending Connection interface in…
Browse files Browse the repository at this point in the history
… TypeScript
  • Loading branch information
wellwelwel committed Apr 13, 2023
1 parent 33001d3 commit 7c62d11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Expand Up @@ -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;
}

Expand Down

0 comments on commit 7c62d11

Please sign in to comment.