Skip to content

Commit 4db1a7e

Browse files
authored
Merge pull request brianc#18 from benny-medflyt/patch-1
Fix typings
2 parents d7b96e6 + 726f620 commit 4db1a7e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

index.d.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ export function parse(connectionString: string): ConnectionOptions;
22

33
export interface ConnectionOptions {
44
host: string | null;
5-
password: string | null;
6-
user: string | null;
7-
port: number | null;
8-
database: string | null;
9-
client_encoding: string | null;
10-
ssl: boolean | null;
5+
password?: string;
6+
user?: string;
7+
port?: string | null;
8+
database: string | null | undefined;
9+
client_encoding?: string;
10+
ssl?: boolean | string;
1111

12-
application_name: string | null;
13-
fallback_application_name: string | null;
12+
application_name?: string;
13+
fallback_application_name?: string;
1414
}

0 commit comments

Comments
 (0)