mongoose has assignability error after #42248 #42337
Labels
Bug
A bug in TypeScript
Fix Available
A PR has been opened for this issue
Needs Investigation
This issue needs a team member to investigate its status.
Milestone
To repro:
cd DefinitelyTyped/types/mongoose && tsc
; observe that there are 74 errors, 2 more than the expected 72.Actual:
At mongoose/test/model.ts:613, errors on openingTimes and reviews:
Expected: No error; the input type was
[mongoose.SchemeTypes.Mixed]
, which should result instring[]
notnever[]
Likely related to #42336, although in this case we can't ship with this error in mongoose, which may involve fixing mongoose in some way.
The text was updated successfully, but these errors were encountered: