mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
fixup! fix(mysql): Add definition for PoolCluster.end with callback
This commit is contained in:
Vendored
+1
-2
@@ -100,8 +100,7 @@ interface IPoolCluster {
|
||||
add(config: IPoolConfig): void;
|
||||
add(group: string, config: IPoolConfig): void;
|
||||
|
||||
end(): void;
|
||||
end(callback: (err: IError, ...args: any[]) => void): void;
|
||||
end(callback?: (err: IError, ...args: any[]) => void): void;
|
||||
|
||||
getConnection(callback: (err: IError, connection: IConnection) => void): void;
|
||||
getConnection(group: string, callback: (err: IError, connection: IConnection) => void): void;
|
||||
|
||||
Reference in New Issue
Block a user