Skip to content

Commit 1a473b5

Browse files
🤖 Merge PR DefinitelyTyped#74239 [aws-lambda] Fix ClientContext.custom property casing from Custom to custom by @daisuke-awaji
1 parent 305bd35 commit 1a473b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎types/aws-lambda/aws-lambda-tests.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ str = identity.cognitoIdentityPoolId;
4848

4949
/* ClientContext */
5050
clientContextClient = clientCtx.client;
51-
anyObj = clientCtx.Custom;
51+
anyObj = clientCtx.custom;
5252
clientContextEnv = clientCtx.env;
5353

5454
/* ClientContextEnv */

‎types/aws-lambda/handler.d.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export interface CognitoIdentity {
131131

132132
export interface ClientContext {
133133
client: ClientContextClient;
134-
Custom?: any;
134+
custom?: any;
135135
env: ClientContextEnv;
136136
}
137137

0 commit comments

Comments
 (0)