Mongoose ObjectId not matched in typescript

前端 未结 0 1623
生来不讨喜
生来不讨喜 2021-01-15 18:32

I defined an interface using mongoose.

import {Types} from \'mongoose\'    

export interface IShop {  
  readonly center: Types.ObjectId;    
}


async creat         


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