Skip to content

Commit 929fcb7

Browse files
Fix typings
1 parent eafb7ac commit 929fcb7

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

index.d.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
export function parse(connectionString: string): ConnectionOptions;
22

33
export interface ConnectionOptions {
4-
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;
4+
host: string;
5+
password?: string;
6+
user?: string;
7+
port: string | null;
8+
database: string | null | undefined;
9+
client_encoding?: string | undefined;
10+
ssl?: boolean;
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)