File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import Server = require('./lib/Server');
14
14
15
15
export function createConnection ( connectionUri : string ) : Connection ;
16
16
export function createConnection ( config : BaseConnection . ConnectionOptions ) : Connection ;
17
- export function createPool ( config : BasePool . PoolOptions ) : Pool ;
17
+ export function createPool ( config : BasePool . PoolOptions ) : BasePool ;
18
18
export function createPoolCluster ( config ?: BasePoolCluster . PoolClusterOptions ) : PoolCluster ;
19
19
export function escape ( value : any ) : string ;
20
20
export function escapeId ( value : any ) : string ;
Original file line number Diff line number Diff line change @@ -60,6 +60,8 @@ declare class Pool extends EventEmitter {
60
60
61
61
on ( event : string , listener : Function ) : this;
62
62
on ( event : 'connection' , listener : ( connection : PoolConnection ) => any ) : this;
63
+
64
+ promise ( promiseImpl ?: any ) : any
63
65
}
64
66
65
67
export = Pool ;
You can’t perform that action at this time.
0 commit comments