mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 11:57:33 +08:00
add requestTimeEpoch to aws lambda types (#22941)
Add the missing requestTimeEpoch in the APIGatewayEventRequestContext interface. $context.requestTimeEpoch is documented in https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html#context-variable-reference
This commit is contained in:
1
types/aws-lambda/index.d.ts
vendored
1
types/aws-lambda/index.d.ts
vendored
@@ -39,6 +39,7 @@ interface APIGatewayEventRequestContext {
|
||||
},
|
||||
stage: string;
|
||||
requestId: string;
|
||||
requestTimeEpoch: number;
|
||||
resourceId: string;
|
||||
resourcePath: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user