Skip to content

Commit

Permalink
fix: Add typings for Connection.promise(). (#1949)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluefeet committed Apr 13, 2023
1 parent 7c62d11 commit e3ca310
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions typings/mysql/lib/Connection.d.ts
Expand Up @@ -290,6 +290,8 @@ declare class Connection extends EventEmitter {
unprepare(sql: string): any;

serverHandshake(args: any): any;

promise(): Promise<Connection>;
}

export = Connection;

0 comments on commit e3ca310

Please sign in to comment.