Skip to content

Commit dc6162f

Browse files
Merge pull request MatteoGioioso#57 from perrin4869/patch-1
feat(type): export Config types
2 parents 76f9f11 + 904f247 commit dc6162f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import stream = require('stream');
22
import pg = require('pg');
33

4-
declare interface TlsOptions {
4+
export declare interface TlsOptions {
55
rejectUnauthorized?: boolean;
66
ca?: string;
77
key?: string;
88
cert?: string;
99
}
1010

11-
declare interface Config {
11+
export declare interface Config {
1212
user?: string;
1313
database?: string;
1414
password?: string | (() => string | Promise<string>);
@@ -53,4 +53,4 @@ declare class ServerlessClient {
5353
on(...args): void
5454
}
5555

56-
export = ServerlessClient
56+
export default ServerlessClient

0 commit comments

Comments
 (0)