SchemaDefinition does not yield correct type for string[] properties #10261
Labels
confirmed-bug
We've confirmed this is a bug in Mongoose and will fix it.
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?
Assigning
[String]
to the type of astring[]
property is not allowed.What is the expected behavior?
Assigning
[String]
to the type of astring[]
property should be allowed.What are the versions of Node.js, Mongoose and MongoDB you are using? Note that "latest" is not a version.
The text was updated successfully, but these errors were encountered: