'MongooseModel' refers to a value, but is being used as a type here. Did you mean 'typeof MongooseModel'

后端 未结 0 1940
礼貌的吻别
礼貌的吻别 2021-01-05 02:16

I have a very simple implementation of a mongoose model when i try to return that model as a type in graphql resolver i get the following error

\'CompanyModel         


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