Closed oumarbarry closed 1 year ago
This way, we can do:
interface Movie { title: string description: string } export const Movie = defineMongooseModel<Movie>('Movie', { title: { type: String, required: true }, description: String })
+1, just wanted to create the same pull request
This way, we can do: