[TypeScript] PipelineStage.Merge interface definition is wrong #11109
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
Hi,
Introduced in Mongoose 6.1.0 PipelineStage.Merge has wrong definition:
'pipeline'
is not a string, but a real pipeline stage array, https://docs.mongodb.com/manual/reference/operator/aggregation/merge/And must be updated with:
Thanks
The text was updated successfully, but these errors were encountered: