Skip to content

Commit bbc84b2

Browse files
nektrohjr3
authored andcommitted
pg-connection-string: fix 'parse' type signature
1 parent fb25f7b commit bbc84b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/pg-connection-string/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { ClientConfig } from 'pg'
22

3-
export function parse(connectionString: string, options: Options): ConnectionOptions
3+
export function parse(connectionString: string, options?: Options): ConnectionOptions
44

55
export interface Options {
66
// Use libpq semantics when interpreting the connection string

0 commit comments

Comments
 (0)