Installation
npm install --save @types/pg-database-url
Summary
This package contains type definitions for pg-database-url (https://github.com/mediasuitenz/pg-database-url).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pg-database-url.
index.d.ts
declare namespace pgDatabaseUrl {
interface Config {
database: string;
host?: string;
password?: string;
port?: number;
username: string;
}
}
declare function pgDatabaseUrl(config: pgDatabaseUrl.Config): string;
export = pgDatabaseUrl;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: none
Credits
These definitions were written by Todd Dukart.