From 73518ca44a9f8e7f02b01887fe852af4ba2bf768 Mon Sep 17 00:00:00 2001 From: Markus Tacker Date: Tue, 30 Jan 2018 20:04:01 +0100 Subject: [PATCH] fix(aws-lambda): AuthResponseContext children may be objects (#23192) If used with a custom authorizer, there will be a claims object with the parsed JSON web token. See https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html --- types/aws-lambda/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/aws-lambda/index.d.ts b/types/aws-lambda/index.d.ts index 8c95011f87..09070fb13c 100644 --- a/types/aws-lambda/index.d.ts +++ b/types/aws-lambda/index.d.ts @@ -457,7 +457,7 @@ export interface Statement { * http://docs.aws.amazon.com/apigateway/latest/developerguide/use-custom-authorizer.html#api-gateway-custom-authorizer-output */ export interface AuthResponseContext { - [name: string]: string | number | boolean; + [name: string]: any; } /**