We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73effcb commit c75308aCopy full SHA for c75308a
src/bridge.ts
@@ -41,9 +41,9 @@ export type BridgetClient = {
41
42
export const createBridge = (postgres: typeof Postgres) => {
43
return class PostgresBridge {
44
- private readonly poolEvents: EventEmitter;
+ public readonly poolEvents: EventEmitter;
45
46
- private readonly pool: GenericPool<BridgetClient>;
+ public readonly pool: GenericPool<BridgetClient>;
47
48
public constructor (poolConfiguration: PgPool) {
49
this.poolEvents = new EventEmitter();
tsconfig.json
@@ -3,6 +3,7 @@
3
"allowSyntheticDefaultImports": true,
4
"esModuleInterop": true,
5
"module": "commonjs",
6
+ "declaration": true,
7
"moduleResolution": "node",
8
"noImplicitAny": false,
9
"noImplicitReturns": true,
0 commit comments