mongoose capped types fix

This commit is contained in:
Maksim Sharnin
2017-01-13 23:03:08 +07:00
parent bd5e86ff2c
commit ed3b56890d
+1 -1
View File
@@ -312,7 +312,7 @@ declare module "mongoose" {
export interface SchemaOption {
autoIndex?: boolean;
bufferCommands?: boolean;
capped?: boolean;
capped?: boolean|number|Object;
collection?: string;
id?: boolean;
_id?: boolean;