mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Merge pull request #13194 from bertolo1988/types-2.0
fix SchemaOptions.versionKey type
This commit is contained in:
Vendored
+1
-1
@@ -717,7 +717,7 @@ declare module "mongoose" {
|
||||
/** defaults to true */
|
||||
validateBeforeSave?: boolean;
|
||||
/** defaults to "__v" */
|
||||
versionKey?: string;
|
||||
versionKey?: string|boolean;
|
||||
/**
|
||||
* skipVersioning allows excluding paths from
|
||||
* versioning (the internal revision will not be
|
||||
|
||||
Reference in New Issue
Block a user