Abazhenov / express-async-handler

Async Error Handling Middleware for Express
572 stars 39 forks source link

Add Locals type in RequestHandler #52

Open yebrahim opened 2 years ago

yebrahim commented 2 years ago

If your request handler uses the Locals field in the response object, you won't be able to use this library with Typescript. This fixes that.