Skip to content

Commit c75308a

Browse files
committed
fix: output declarations
1 parent 73effcb commit c75308a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/bridge.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ export type BridgetClient = {
4141

4242
export const createBridge = (postgres: typeof Postgres) => {
4343
return class PostgresBridge {
44-
private readonly poolEvents: EventEmitter;
44+
public readonly poolEvents: EventEmitter;
4545

46-
private readonly pool: GenericPool<BridgetClient>;
46+
public readonly pool: GenericPool<BridgetClient>;
4747

4848
public constructor (poolConfiguration: PgPool) {
4949
this.poolEvents = new EventEmitter();

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"allowSyntheticDefaultImports": true,
44
"esModuleInterop": true,
55
"module": "commonjs",
6+
"declaration": true,
67
"moduleResolution": "node",
78
"noImplicitAny": false,
89
"noImplicitReturns": true,

0 commit comments

Comments
 (0)