mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 15:27:05 +00:00
Merge pull request #11656 from jakubskopal/mongoose-versionkey
changed versionKey in Schema spec to string
This commit is contained in:
Vendored
+1
-1
@@ -696,7 +696,7 @@ declare module "mongoose" {
|
||||
/** defaults to true */
|
||||
validateBeforeSave?: boolean;
|
||||
/** defaults to "__v" */
|
||||
versionKey?: boolean;
|
||||
versionKey?: string;
|
||||
/**
|
||||
* skipVersioning allows excluding paths from
|
||||
* versioning (the internal revision will not be
|
||||
|
||||
Reference in New Issue
Block a user