Skip to content

Commit e3ca310

Browse files
authored
fix: Add typings for Connection.promise(). (#1949)
1 parent 7c62d11 commit e3ca310

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

typings/mysql/lib/Connection.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,8 @@ declare class Connection extends EventEmitter {
290290
unprepare(sql: string): any;
291291

292292
serverHandshake(args: any): any;
293+
294+
promise(): Promise<Connection>;
293295
}
294296

295297
export = Connection;

0 commit comments

Comments
 (0)