Files
klz-cables.com/.pnpm-store/v10/files/47/2e80270c01da1031f8188098d43e0ef999f45655eb4aa0a9bf3c0af887e12f67d7e8af4c6d99fe1944b15dd1ab903fe4e677bc100e28f8a6163648252d67c8
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

46 lines
1.5 KiB
Plaintext

# Installation
> `npm install --save @types/pg-pool`
# Summary
This package contains type definitions for pg-pool (https://github.com/brianc/node-pg-pool).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pg-pool.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pg-pool/index.d.ts)
````ts
import * as pg from "pg";
declare class Pool<T extends pg.Client> extends pg.Pool {
readonly Client: Pool.ClientLikeCtr<T>;
constructor(config?: Pool.Config<T>, client?: Pool.ClientLikeCtr<T>);
connect(): Promise<T & pg.PoolClient>;
connect(callback: (err?: Error, client?: T & pg.PoolClient, done?: (release?: any) => void) => void): void;
on<K extends "error" | "release" | "connect" | "acquire" | "remove">(
event: K,
listener: K extends "error" | "release" ? (err: Error, client: T & pg.PoolClient) => void
: (client: T & pg.PoolClient) => void,
): this;
}
declare namespace Pool {
type ClientLikeCtr<T extends pg.Client> = new(config?: string | pg.ClientConfig) => T;
interface Config<T extends pg.Client> extends pg.PoolConfig {
Client?: ClientLikeCtr<T> | undefined;
}
}
export = Pool;
````
### Additional Details
* Last updated: Wed, 10 Dec 2025 20:02:11 GMT
* Dependencies: [@types/pg](https://npmjs.com/package/@types/pg)
# Credits
These definitions were written by [Leo Liang](https://github.com/aleung), and [Nikita Tokarchuk](https://github.com/mainnika).