You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
When using Types.Array<Types.ObjectId>, I can't pass object configuration for that property with attribute default because it's of type never.
If the current behavior is a bug, please provide the steps to reproduce.
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
When using
Types.Array<Types.ObjectId>
, I can't pass object configuration for that property with attributedefault
because it's of typenever
.If the current behavior is a bug, please provide the steps to reproduce.
https://codesandbox.io/s/aged-dawn-biq34?file=/src/index.ts
TSConfig Included in CodeSandbox
What is the expected behavior?
To have correct TS typings.
What are the versions of Node.js, Mongoose and MongoDB you are using? Note that "latest" is not a version.
Nodejs 16, Mongoose 6.2.1 and MongoDB 4.5
The text was updated successfully, but these errors were encountered: