Express: Extending request.query with declaration merging throws TypeScript error

前端 未结 0 1623
轻奢々
轻奢々 2021-01-21 05:41

Can I extend the express request query object in that way by using declaration merging?

declare namespace Express {
    interface Request {
              


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