Skip to content

Commit c50f25d

Browse files
author
jzlai
committed
export all interfaces
1 parent 92d7c69 commit c50f25d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,26 @@
33

44
export function handler(routeConfig: RouteConfig): any;
55

6-
interface ProxyIntegrationRoute {
6+
export interface ProxyIntegrationRoute {
77
path: string;
88
method: string;
99
action?: (request: any) => any;
1010
}
1111

12-
interface ProxyIntegrationConfig {
12+
export interface ProxyIntegrationConfig {
1313
cors: boolean;
1414
routes: ProxyIntegrationRoute[];
1515
debug?: boolean;
1616
errorMapping?: any;
1717
defaultHeaders?: string;
1818
}
1919

20-
interface SnsRoute {
20+
export interface SnsRoute {
2121
subject: any;
2222
action?: (sns: any) => any;
2323
}
2424

25-
interface SnsConfig {
25+
export interface SnsConfig {
2626
routes: SnsRoute[];
2727
debug?: boolean;
2828
}

0 commit comments

Comments
 (0)