jeremydaly / lambda-api

Lightweight web framework for your serverless applications
https://serverless-api.com
MIT License
1.41k stars 125 forks source link

Typings for run method and ApiGateway v2 #191

Closed mladibejn closed 1 year ago

mladibejn commented 2 years ago

I've updated to 0.11 that supports v2 payload, however with Typescript, the type is still v1.

Would it be possible to provide a run method with support for APIGatewayProxyEventV2? :) To remove the ugly @ts-ignore

Thanks!

ptejada commented 1 year ago

Any volunteers? This should be a quick PR. No?