Skip to content

Commit 53a9bc2

Browse files
authored
fix(typings): missing callback to PoolCluster.end() (#3819)
1 parent 6bfad13 commit 53a9bc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typings/mysql/lib/PoolCluster.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ declare class PoolCluster extends EventEmitter {
5454

5555
remove(pattern: string): void;
5656

57-
end(): void;
57+
end(callback?: (err: NodeJS.ErrnoException | null) => void): void;
5858

5959
getConnection(
6060
callback: (

0 commit comments

Comments
 (0)