Skip to content

Commit

Permalink
fix(types): add missing densify type pipeline type
Browse files Browse the repository at this point in the history
densify pipeline stage was not in the union type
for PipelineStage, this was causing ts error when
users where trying to call aggregate method with
densify stage
  • Loading branch information
Fabio Cingottini committed Oct 6, 2022
1 parent 8846d29 commit 2a4d2e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions types/pipelinestage.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ declare module 'mongoose' {
| PipelineStage.BucketAuto
| PipelineStage.CollStats
| PipelineStage.Count
| PipelineStage.Densify
| PipelineStage.Facet
| PipelineStage.GeoNear
| PipelineStage.GraphLookup
Expand Down

0 comments on commit 2a4d2e0

Please sign in to comment.