How to Typescript mongoose toObject?

前端 未结 0 1961
伪装坚强ぢ
伪装坚强ぢ 2021-01-26 16:01

What is the correct way of typing .toObject() return?

const userDoc = await UsersModel.findOne({email})
const          


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