mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-26 10:56:19 +08:00
Merge pull request #14924 from Green-Cat/patch-1
[mongoose] Adds missing retainKeyOrder option
This commit is contained in:
2
mongoose/index.d.ts
vendored
2
mongoose/index.d.ts
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user