mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 23:07:06 +00:00
Fixed Travic complains abount constructor
This commit is contained in:
Vendored
+1
-2
@@ -207,8 +207,7 @@ export interface PoolClient extends ClientBase {
|
||||
}
|
||||
|
||||
export class Query extends events.EventEmitter implements Submittable {
|
||||
constructor();
|
||||
constructor(queryTextOrConfig: string | QueryConfig, values?: any[]);
|
||||
constructor(queryTextOrConfig?: string | QueryConfig, values?: any[]);
|
||||
submit: (connection: Connection) => void;
|
||||
on(event: "row", listener: (row: any, result?: ResultBuilder) => void): this;
|
||||
on(event: "error", listener: (err: Error) => void): this;
|
||||
|
||||
Reference in New Issue
Block a user