How to type mongoose model when converted toObject

前端 未结 0 1044
被撕碎了的回忆
被撕碎了的回忆 2020-12-29 17:56

I am creating mongoose model like this using typescript

import mongoose, { Schema, Document } from "mongoose";
 
interface ItemModel extends Documen         


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