Skip to content

Commit a640d47

Browse files
authored
Merge pull request #1256 from cweijan/patch-2
Update Connection.d.ts
2 parents 31214eb + 424a778 commit a640d47

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

typings/mysql/lib/Connection.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ declare class Connection extends EventEmitter {
196196

197197
config: Connection.ConnectionOptions;
198198
threadId: number;
199+
authorized: boolean;
199200

200201
static createQuery<T extends RowDataPacket[][] | RowDataPacket[] | OkPacket | OkPacket[] | ResultSetHeader>(sql: string, callback?: (err: Query.QueryError | null, result: T, fields: FieldPacket[]) => any): Query;
201202
static createQuery<T extends RowDataPacket[][] | RowDataPacket[] | OkPacket | OkPacket[] | ResultSetHeader>(sql: string, values: any | any[] | { [param: string]: any }, callback?: (err: Query.QueryError | null, result: T, fields: FieldPacket[]) => any): Query;

0 commit comments

Comments
 (0)