From 2a4d2e0915890a8f79448a3645760de0e3217fe5 Mon Sep 17 00:00:00 2001 From: Fabio Cingottini Date: Thu, 6 Oct 2022 14:48:37 +0200 Subject: [PATCH] fix(types): add missing densify type pipeline type 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 --- types/pipelinestage.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/pipelinestage.d.ts b/types/pipelinestage.d.ts index 9086a4afb30..5d3c4023f0d 100644 --- a/types/pipelinestage.d.ts +++ b/types/pipelinestage.d.ts @@ -8,6 +8,7 @@ declare module 'mongoose' { | PipelineStage.BucketAuto | PipelineStage.CollStats | PipelineStage.Count + | PipelineStage.Densify | PipelineStage.Facet | PipelineStage.GeoNear | PipelineStage.GraphLookup