Skip to content

Commit 6f36010

Browse files
samchungySam Chung
andauthored
fix: align header definition with @types/aws-lambda (#6)
Co-authored-by: Sam Chung <schung2@deloitte.com.au>
1 parent e5eb1f5 commit 6f36010

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ interface LambdaContext {
1515

1616
interface LamdbaEvent {
1717
headers?: {
18-
[key: string]: string;
18+
[key: string]: string | undefined;
1919
};
2020

2121
// eslint-disable-next-line @typescript-eslint/no-explicit-any

0 commit comments

Comments
 (0)