mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 04:49:15 +08:00
[mongoose] Adds missing retainKeyOrder option
This commit is contained in:
committed by
GitHub
parent
2b11761150
commit
b371b6203b
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