Skip to content

Commit 7c62d11

Browse files
authored
fix: PoolConnection redundancy when extending Connection interface in TypeScript
1 parent 33001d3 commit 7c62d11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export interface Connection extends mysql.Connection {
8383
sequenceId: number;
8484
}
8585

86-
export interface PoolConnection extends mysql.PoolConnection, Connection {
86+
export interface PoolConnection extends mysql.PoolConnection {
8787
promise(promiseImpl?: PromiseConstructor): PromisePoolConnection;
8888
}
8989

0 commit comments

Comments
 (0)