Skip to content

Commit ef28341

Browse files
authored
Merge pull request #1262 from ymhr/master
Add missing `connection` property from the `PoolConnection` type
2 parents 686a56e + 5b5f6cf commit ef28341

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

promise.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ export interface Connection extends EventEmitter {
8181
}
8282

8383
export interface PoolConnection extends Connection {
84+
connection: Connection;
8485
release(): void;
8586
}
8687

typings/mysql/lib/PoolConnection.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import Connection = require('./Connection');
33

44
declare class PoolConnection extends Connection {
5+
connection: Connection;
56
release(): void;
67
}
78

0 commit comments

Comments
 (0)