diff --git a/types/pg/index.d.ts b/types/pg/index.d.ts index 48287d089c05408..f2d21fb425d9fac 100644 --- a/types/pg/index.d.ts +++ b/types/pg/index.d.ts @@ -203,7 +203,7 @@ export class Pool extends events.EventEmitter { ): void; // tslint:enable:no-unnecessary-generics - on(event: 'error', listener: (err: Error, client: PoolClient) => void): this; + on(event: 'release' | 'error', listener: (err: Error, client: PoolClient) => void): this; on(event: 'connect' | 'acquire' | 'remove', listener: (client: PoolClient) => void): this; }