typings: turns out "host" can actually be null

This commit is contained in:
benny-medflyt 2017-12-13 11:23:28 +02:00 committed by GitHub
parent 929fcb73c3
commit ece7645187
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
index.d.ts vendored
View File

@ -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;