mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Add typePojoToMixed to mongoose SchemaOptions (#41290)
This commit is contained in:
Vendored
+5
@@ -1032,6 +1032,11 @@ declare module "mongoose" {
|
||||
* assigned is Date.
|
||||
*/
|
||||
timestamps?: boolean | SchemaTimestampsConfig;
|
||||
/**
|
||||
* Determines whether a type set to a POJO becomes
|
||||
* a Mixed path or a Subdocument (defaults to true).
|
||||
*/
|
||||
typePojoToMixed?:boolean;
|
||||
}
|
||||
|
||||
interface SchemaTimestampsConfig {
|
||||
|
||||
Reference in New Issue
Block a user