let objectIdString = (): string => %raw(new (require('mongoose').Types.ObjectId))
i want to bind to mongoose.Types.ObjectId function, without using %raw, how can i do it?
↧
How can i bind to mongoose
↧
let objectIdString = (): string => %raw(new (require('mongoose').Types.ObjectId))
i want to bind to mongoose.Types.ObjectId function, without using %raw, how can i do it?