Add discriminatorKey to SchemaOptions interface.

This commit is contained in:
Dani Gámez Franco 2017-05-18 03:56:44 +02:00 committed by GitHub
parent 6b64c4f2a1
commit d7ea6529f6

View File

@ -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 */