mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-18 15:55:05 +00:00
pg-connection-string: fix 'parse' type signature
This commit is contained in:
parent
fb25f7bdb3
commit
bbc84b2690
2
packages/pg-connection-string/index.d.ts
vendored
2
packages/pg-connection-string/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
import { ClientConfig } from 'pg'
|
||||
|
||||
export function parse(connectionString: string, options: Options): ConnectionOptions
|
||||
export function parse(connectionString: string, options?: Options): ConnectionOptions
|
||||
|
||||
export interface Options {
|
||||
// Use libpq semantics when interpreting the connection string
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user