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 8ea5143 commit 7391a56Copy full SHA for 7391a56
packages/jpgwire/src/pgwire.ts
@@ -5,7 +5,8 @@
5
export type * from './legacy_pgwire_types.js';
6
7
import * as pgwire_untyped from './pgwire_node.js';
8
+import type * as pgwire_typed from './legacy_pgwire_types.js';
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;
+export const pgconnect: typeof pgwire_typed.pgconnect = (pgwire_untyped as any).pgconnect;
+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