diff --git a/pg/index.d.ts b/pg/index.d.ts index 84414b451d..75f3f33dd5 100644 --- a/pg/index.d.ts +++ b/pg/index.d.ts @@ -9,7 +9,7 @@ import events = require("events"); import stream = require("stream"); - import pgTypes = require("pg-types"); +import pgTypes = require("pg-types"); export declare function connect(connection: string, callback: (err: Error, client: Client, done: (err?: any) => void) => void): void; export declare function connect(config: ClientConfig, callback: (err: Error, client: Client, done: (err?: any) => void) => void): void; @@ -92,8 +92,8 @@ export declare class Client extends events.EventEmitter { constructor(connection: string); constructor(config: ClientConfig); - connect(callback?: (err:Error) => void): void; - end(): void; + connect(callback?: (err:Error) => void): void; + end(callback?: (err: Error) => void): void; release(): void; query(queryText: string): Promise;