André Wachter 2017-09-15 09:00:22 +02:00
parent 2673835592
commit 6dbdffc8e7

3
types/pg/index.d.ts vendored
View File

@ -115,6 +115,9 @@ export class Client extends events.EventEmitter {
pauseDrain(): void;
resumeDrain(): void;
escapeIdentifier(str: string): string;
escapeLiteral(str: string): string;
on(event: "drain", listener: () => void): this;
on(event: "error" | "notice", listener: (err: Error) => void): this;
on(event: "notification", listener: (message: Notification) => void): this;