lambda-api
lambda-api copied to clipboard
Fix typing for Response#type function.
It is valid to chain response.type('application/xml').status(200).send(xml)
because the type
function returns an instance of this. This change correct the index.d.ts
typing description from incorrectly returning void to correctly returning this as apparent from lib/response.js
.