mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
SchemaOptions.safe can also be an object
See: [safe docs](http://mongoosejs.com/docs/guide.html#safe)
This commit is contained in:
Vendored
+1
-1
@@ -727,7 +727,7 @@ declare module "mongoose" {
|
||||
minimize?: boolean;
|
||||
read?: string;
|
||||
/** defaults to true. */
|
||||
safe?: boolean;
|
||||
safe?: boolean | { w?: number | string; wtimeout?: number; j?: boolean };
|
||||
/** defaults to null */
|
||||
shardKey?: boolean;
|
||||
/** defaults to true */
|
||||
|
||||
Reference in New Issue
Block a user