mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 23:37:04 +00:00
fix SchemaOptions.versionKey type
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/13163#issuecomment-265632279
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