mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Add discriminatorKey to SchemaOptions interface.
This commit is contained in:
parent
6b64c4f2a1
commit
d7ea6529f6
2
types/mongoose/index.d.ts
vendored
2
types/mongoose/index.d.ts
vendored
@ -696,6 +696,8 @@ declare module "mongoose" {
|
||||
capped?: boolean;
|
||||
/** no default */
|
||||
collection?: string;
|
||||
/** defaults to "__t" */
|
||||
discriminatorKey?: string;
|
||||
/** defaults to false. */
|
||||
emitIndexErrors?: boolean;
|
||||
/** defaults to true */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user