Skip to content

Commit

Permalink
Merge pull request DefinitelyTyped#14924 from Green-Cat/patch-1
Browse files Browse the repository at this point in the history
[mongoose] Adds missing retainKeyOrder option
  • Loading branch information
horiuchi authored Mar 1, 2017
2 parents 2b11761 + b371b62 commit 06711cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mongoose/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 06711cc

Please sign in to comment.