mongoose model passed in constructor is undefined in typescript controller

前端 未结 0 845
日久生厌
日久生厌 2020-12-17 02:06

Im trying to pass the mongoose model to my controller class in typescript and when i try to use it in the method, the "myCar" property is undefine

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