TypeScript Model
incorrect number of arguments
#10817
Labels
typescript
Types or Types-test related issue / Pull Request
Milestone
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Model
expects 1 argumentIf the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
Model
should expect up to 3 argumentshttps://mongoosejs.com/docs/api.html#model_Model
What are the versions of Node.js, Mongoose and MongoDB you are using? Note that "latest" is not a version.
Node.js: v14.15.5
Mongoose: v6.0.8
MongoDB: v4.4.3
The text was updated successfully, but these errors were encountered: