[mongoose] Adds missing retainKeyOrder option

This commit is contained in:
Vladimir Metelitsa
2017-02-28 21:23:16 +01:00
committed by GitHub
parent 2b11761150
commit b371b6203b

2
mongoose/index.d.ts vendored
View File

@@ -720,6 +720,8 @@ declare module "mongoose" {
validateBeforeSave?: boolean;
/** defaults to "__v" */
versionKey?: string|boolean;
/** defaults to false */
retainKeyOrder?: boolean;
/**
* skipVersioning allows excluding paths from
* versioning (the internal revision will not be