dougmoscrop / serverless-http

Use your existing middleware framework (e.g. Express, Koa) in AWS Lambda 🎉
Other
1.72k stars 165 forks source link

Support for Express Application.route #156

Open garysb opened 4 years ago

garysb commented 4 years ago

In typescript, you receive an error when using the route method within express (please refer to: https://expressjs.com/en/guide/routing.html app.route() ).

if you use a @ts-ignore, the application runs fine, so the typedef just needs to be updated.

dougmoscrop commented 4 years ago

I don't use typescript, can you open a PR?