mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-28 17:35:49 +08:00
Merge branch 'master' of https://github.com/DefinitelyTyped/DefinitelyTyped into patch-1
This commit is contained in:
5
pg/index.d.ts
vendored
5
pg/index.d.ts
vendored
@@ -88,10 +88,7 @@ export declare class Client extends events.EventEmitter {
|
||||
end(callback?: (err: Error) => void): void;
|
||||
release(): void;
|
||||
|
||||
query(queryText: string, values?: any[]): Promise<QueryResult>;
|
||||
|
||||
query(queryText: string, callback?: (err: Error, result: QueryResult) => void): Query;
|
||||
query(config: QueryConfig, callback?: (err: Error, result: QueryResult) => void): Query;
|
||||
query(queryTextOrConfig: string | QueryConfig, callback?: (err: Error, result: QueryResult) => void): Query;
|
||||
query(queryText: string, values: any[], callback?: (err: Error, result: QueryResult) => void): Query;
|
||||
|
||||
copyFrom(queryText: string): stream.Writable;
|
||||
|
||||
Reference in New Issue
Block a user