annotating a model of mongoose type in typescript

前端 未结 0 1975
天命终不由人
天命终不由人 2021-01-15 03:38

I have a function called createFactory, it expects two arguments, a model, and a data object. this function will create the document with a given data.

const          


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