Add missing property to DocumentToObjectOptions

This commit is contained in:
Erik Lopez
2019-04-05 09:50:54 +09:00
parent 98ed28785e
commit 6ef458f6cf

View File

@@ -20,6 +20,7 @@
// Ming Chen <https://github.com/mingchen>
// Olga Isakova <https://github.com/penumbra1>
// Orblazer <https://github.com/orblazer>
// Erik Lopez <https://github.com/niuware>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
@@ -1499,6 +1500,8 @@ declare module "mongoose" {
depopulate?: boolean;
/** whether to include the version key (defaults to true) */
versionKey?: boolean;
/** whether to convert Maps to POJOs. (defaults to false) */
flattenMaps?: boolean;
}
namespace Types {