[@types/mongoose] add query "query-helper" property to Schema

This commit is contained in:
Felipe A. Hernandez
2018-06-20 12:30:44 +02:00
committed by GitHub
parent 1cf79822be
commit c9236a2e83
+2
View File
@@ -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;
}