From 94d7a98481710913db5313e694f0c8c7f0bb4247 Mon Sep 17 00:00:00 2001 From: Martin Micunda Date: Fri, 24 May 2019 20:55:27 +0100 Subject: [PATCH] fix(type): add body property to ApiEventLambdaInvoke --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index 7b12e2a..e438493 100644 --- a/src/index.ts +++ b/src/index.ts @@ -25,6 +25,7 @@ export type ApiHandler = APIGatewayProxyHandler; export type ApiResponse = APIGatewayProxyResult; export type AuthorizerEvent = CustomAuthorizerEvent; export interface ApiEventLambdaInvoke { + body?: string; path: string; httpMethod: string; pathParameters?: { [name: string]: string };