Merge pull request #18 from benny-medflyt/patch-1

Fix typings
This commit is contained in:
Herman J. Radtke III 2019-06-11 15:37:06 -07:00 committed by GitHub
commit 4db1a7e9ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

16
index.d.ts vendored
View File

@ -2,13 +2,13 @@ export function parse(connectionString: string): ConnectionOptions;
export interface ConnectionOptions {
host: string | null;
password: string | null;
user: string | null;
port: number | null;
database: string | null;
client_encoding: string | null;
ssl: boolean | null;
password?: string;
user?: string;
port?: string | null;
database: string | null | undefined;
client_encoding?: string;
ssl?: boolean | string;
application_name: string | null;
fallback_application_name: string | null;
application_name?: string;
fallback_application_name?: string;
}