@types/pg
Advanced tools
+5
-4
@@ -56,3 +56,3 @@ /// <reference types="node" /> | ||
| maxLifetimeSeconds?: number | undefined; | ||
| Client?: (new () => ClientBase) | undefined; | ||
| Client?: (new() => ClientBase) | undefined; | ||
| onConnect?: ((client: ClientBase) => void) | undefined; | ||
@@ -286,5 +286,5 @@ verify?: ((client: PoolClient, done: (err?: Error) => void) => void) | undefined; | ||
| on<E extends "drain" | "error" | "notice" | "notification" | "end">( | ||
| on<E extends "connect" | "drain" | "error" | "notice" | "notification" | "end">( | ||
| event: E, | ||
| listener: E extends "drain" | "end" ? () => void | ||
| listener: E extends "connect" | "drain" | "end" ? () => void | ||
| : E extends "error" ? (err: Error) => void | ||
@@ -319,3 +319,4 @@ : E extends "notice" ? (notice: NoticeMessage) => void | ||
| export class Query<R extends QueryResultRow = any, I extends any[] = any> extends events.EventEmitter | ||
| implements Submittable { | ||
| implements Submittable | ||
| { | ||
| constructor( | ||
@@ -322,0 +323,0 @@ queryTextOrConfig?: string | QueryConfig<I>, |
+2
-2
| { | ||
| "name": "@types/pg", | ||
| "version": "8.20.3", | ||
| "version": "8.20.4", | ||
| "description": "TypeScript definitions for pg", | ||
@@ -36,4 +36,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pg", | ||
| "peerDependencies": {}, | ||
| "typesPublisherContentHash": "252babc4ba2a520c25301e5d7f94e3cda3db01df38d7ecc1b363396c46b96181", | ||
| "typesPublisherContentHash": "8429d89c55d60069e4b40d48ba2d8af14835d0c19e3e82e2ebd251a47705bc3c", | ||
| "typeScriptVersion": "5.6" | ||
| } |
+1
-1
@@ -11,3 +11,3 @@ # Installation | ||
| ### Additional Details | ||
| * Last updated: Sat, 01 Aug 2026 06:18:34 GMT | ||
| * Last updated: Tue, 04 Aug 2026 17:06:02 GMT | ||
| * Dependencies: [@types/node](https://npmjs.com/package/@types/node), [pg-protocol](https://npmjs.com/package/pg-protocol), [pg-types](https://npmjs.com/package/pg-types) | ||
@@ -14,0 +14,0 @@ |
19525
0.12%427
0.23%