The this types of each signature are incompatible mongoose methods with Typescript

后端 未结 0 500
长发绾君心
长发绾君心 2021-02-01 21:21

I have created a model with mongoose and want to add a method. Lets assume I have these interfaces for the model (boilerplate):

interface TestAttrs { attr1: strin         


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