mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-04 17:20:09 +00:00
Fixed Travic complains abount constructor
This commit is contained in:
3
types/pg/index.d.ts
vendored
3
types/pg/index.d.ts
vendored
@@ -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