Typegoose: Enforce types to newModel({})
I’m using Typegoose to define Mongoose models with TypeScript. According to the Typegoose documentation, type suggestions are provided when using new Model({}), but they are not strictly enforced.
I’m using Typegoose to define Mongoose models with TypeScript. According to the Typegoose documentation, type suggestions are provided when using new Model({}), but they are not strictly enforced.