From c9236a2e832cef591de8380fd1746dfe9a25e5b3 Mon Sep 17 00:00:00 2001 From: "Felipe A. Hernandez" Date: Wed, 20 Jun 2018 12:30:44 +0200 Subject: [PATCH] [@types/mongoose] add query "query-helper" property to Schema --- types/mongoose/v4/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/mongoose/v4/index.d.ts b/types/mongoose/v4/index.d.ts index c680f3c980..a09aefa8e2 100644 --- a/types/mongoose/v4/index.d.ts +++ b/types/mongoose/v4/index.d.ts @@ -754,6 +754,8 @@ declare module "mongoose" { methods: any; /** Object of currently defined statics on this schema. */ statics: any; + /** Object of currently defined query helpers on this schema. */ + query: any; /** The original object passed to the schema constructor */ obj: any; }