File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 11import {
2+ ALBEvent ,
3+ ALBEventRequestContext ,
24 APIGatewayEventRequestContext ,
35 APIGatewayProxyEvent ,
46 APIGatewayProxyEventV2 ,
@@ -163,7 +165,7 @@ export declare class Request {
163165 body : any ;
164166 rawBody : string ;
165167 route : '' ;
166- requestContext : APIGatewayEventRequestContext ;
168+ requestContext : APIGatewayEventRequestContext | ALBEventRequestContext ;
167169 isBase64Encoded : boolean ;
168170 pathParameters : { [ name : string ] : string } | null ;
169171 stageVariables : { [ name : string ] : string } | null ;
@@ -343,12 +345,12 @@ export declare class API {
343345 finally ( callback : FinallyFunction ) : void ;
344346
345347 run (
346- event : APIGatewayProxyEvent | APIGatewayProxyEventV2 ,
348+ event : APIGatewayProxyEvent | APIGatewayProxyEventV2 | ALBEvent ,
347349 context : Context ,
348350 cb : ( err : Error , result : any ) => void
349351 ) : void ;
350352 run (
351- event : APIGatewayProxyEvent | APIGatewayProxyEventV2 ,
353+ event : APIGatewayProxyEvent | APIGatewayProxyEventV2 | ALBEvent ,
352354 context : Context
353355 ) : Promise < any > ;
354356}
You can’t perform that action at this time.
0 commit comments