Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add types for lambda event and context #22

Open
wulfmann opened this issue Jun 6, 2020 · 2 comments
Open

Add types for lambda event and context #22

wulfmann opened this issue Jun 6, 2020 · 2 comments
Labels
documentation Improvements or additions to documentation integration Relates to a method integration

Comments

@wulfmann
Copy link
Owner

wulfmann commented Jun 6, 2020

It would be nice to be able to map in the api gateway types for event and context to use in typescript handlers.

@wulfmann wulfmann added enhancement New feature or request integration Relates to a method integration labels Jun 6, 2020
@wulfmann
Copy link
Owner Author

wulfmann commented Jun 6, 2020

Might as well include response types as well

@wulfmann
Copy link
Owner Author

wulfmann commented Jun 6, 2020

This already exists in definitely typed. Let’s just add a note in the documentation.

https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/aws-lambda/trigger/api-gateway-proxy.d.ts

@wulfmann wulfmann added documentation Improvements or additions to documentation and removed enhancement New feature or request labels Jun 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation integration Relates to a method integration
Projects
None yet
Development

No branches or pull requests

1 participant