Skip to content

Commit

Permalink
Merge pull request #57 from perrin4869/patch-1
Browse files Browse the repository at this point in the history
feat(type): export Config types
  • Loading branch information
MatteoGioioso authored Dec 10, 2021
2 parents 76f9f11 + 904f247 commit dc6162f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import stream = require('stream');
import pg = require('pg');

declare interface TlsOptions {
export declare interface TlsOptions {
rejectUnauthorized?: boolean;
ca?: string;
key?: string;
cert?: string;
}

declare interface Config {
export declare interface Config {
user?: string;
database?: string;
password?: string | (() => string | Promise<string>);
Expand Down Expand Up @@ -53,4 +53,4 @@ declare class ServerlessClient {
on(...args): void
}

export = ServerlessClient
export default ServerlessClient

0 comments on commit dc6162f

Please sign in to comment.