Skip to content

Commit

Permalink
fix: PromisePoolConnection import name
Browse files Browse the repository at this point in the history
  • Loading branch information
wellwelwel committed Jun 11, 2023
1 parent e806944 commit 76db54a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
@@ -1,7 +1,7 @@
import {
Connection as PromiseConnection,
Pool as PromisePool,
PoolConnection as PromisePoolConnection2,
PoolConnection as PromisePoolConnection,
} from './promise';

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

0 comments on commit 76db54a

Please sign in to comment.