Skip to content

Commit 76db54a

Browse files
committed
fix: PromisePoolConnection import name
1 parent e806944 commit 76db54a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {
22
Connection as PromiseConnection,
33
Pool as PromisePool,
4-
PoolConnection as PromisePoolConnection2,
4+
PoolConnection as PromisePoolConnection,
55
} from './promise';
66

77
import * as mysql from './typings/mysql';
@@ -153,7 +153,7 @@ export interface Pool extends mysql.Connection {
153153
getConnection(
154154
callback: (err: NodeJS.ErrnoException, connection: PoolConnection) => any
155155
): void;
156-
releaseConnection(connection: PoolConnection | PromisePoolConnection2): void;
156+
releaseConnection(connection: PoolConnection | PromisePoolConnection): void;
157157
on(event: 'connection', listener: (connection: PoolConnection) => any): this;
158158
on(event: 'acquire', listener: (connection: PoolConnection) => any): this;
159159
on(event: 'release', listener: (connection: PoolConnection) => any): this;

0 commit comments

Comments
 (0)