node-postgres/index.d.ts
Attila Olah 54c2044416 feat: add basic typings
To make this app consumable by Typescript apps a typings file must be present.
2017-04-27 12:41:30 +02:00

15 lines
368 B
TypeScript

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;
application_name: string | null;
fallback_application_name: string | null;
}