mirror of
https://github.com/brianc/node-postgres.git
synced 2025-12-08 20:16:25 +00:00
typings: turns out "host" can actually be null
This commit is contained in:
parent
929fcb73c3
commit
ece7645187
2
index.d.ts
vendored
2
index.d.ts
vendored
@ -1,7 +1,7 @@
|
||||
export function parse(connectionString: string): ConnectionOptions;
|
||||
|
||||
export interface ConnectionOptions {
|
||||
host: string;
|
||||
host: string | null;
|
||||
password?: string;
|
||||
user?: string;
|
||||
port: string | null;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user