Express.js & TypeScript: How to simplify parameter types for app.use callback for error handling

前端 未结 0 734
谎友^
谎友^ 2021-01-16 17:59

Having some experience with TypeScript but being new to Express.js, I want to create a generic error handler in my Express.js app written in TypeScript. The following code w

相关标签:
回答
  • 消灭零回复
提交回复
热议问题