Skip to content

Commit

Permalink
Exposed the base connection property on the PromiseConnection (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
ymhr authored Mar 16, 2020
1 parent 583484c commit a296c82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion promise.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

import {RowDataPacket, OkPacket, FieldPacket, QueryOptions, ConnectionOptions, PoolOptions} from './index';
import {RowDataPacket, OkPacket, FieldPacket, QueryOptions, ConnectionOptions, PoolOptions, Connection as BaseConnection} from './index';
import {EventEmitter} from 'events';
export * from './index';

Expand Down Expand Up @@ -46,6 +46,7 @@ export interface Connection extends EventEmitter {
}

export interface PoolConnection extends Connection {
connection: BaseConnection;
release(): void;
}

Expand Down

0 comments on commit a296c82

Please sign in to comment.