Skip to content

Commit 7391a56

Browse files
committed
Fix entrypoint types
1 parent 8ea5143 commit 7391a56

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

packages/jpgwire/src/pgwire.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
export type * from './legacy_pgwire_types.js';
66

77
import * as pgwire_untyped from './pgwire_node.js';
8+
import type * as pgwire_typed from './legacy_pgwire_types.js';
89

9-
export const pgconnect = (pgwire_untyped as any).pgconnect;
10-
export const pgconnection = (pgwire_untyped as any).pgconnection;
11-
export const pgpool = (pgwire_untyped as any).pgpool;
10+
export const pgconnect: typeof pgwire_typed.pgconnect = (pgwire_untyped as any).pgconnect;
11+
export const pgconnection: typeof pgwire_typed.pgconnection = (pgwire_untyped as any).pgconnection;
12+
export const pgpool: typeof pgwire_typed.pgpool = (pgwire_untyped as any).pgpool;

0 commit comments

Comments
 (0)