index.d.ts 368 B

1234567891011121314
  1. export function parse(connectionString: string): ConnectionOptions;
  2. export interface ConnectionOptions {
  3. host: string | null;
  4. password: string | null;
  5. user: string | null;
  6. port: number | null;
  7. database: string | null;
  8. client_encoding: string | null;
  9. ssl: boolean | null;
  10. application_name: string | null;
  11. fallback_application_name: string | null;
  12. }