Added CollationDocument type in a couple places that were missed

This commit is contained in:
Erik Christensen
2018-11-28 11:17:01 -05:00
parent 1f08a1d5f2
commit f857ba9d66
+2 -2
View File
@@ -526,7 +526,7 @@ export interface CollectionCreateOptions extends CommonOptions {
indexOptionDefaults?: object;
viewOn?: string;
pipeline?: any[];
collation?: object;
collation?: CollationDocument;
}
/** http://mongodb.github.io/node-mongodb-native/3.1/api/Db.html#collection */
@@ -563,7 +563,7 @@ export interface IndexOptions extends CommonOptions {
name?: string;
// Creates a partial index based on the given filter object (MongoDB 3.2 or higher)
partialFilterExpression?: any;
collation?: Object;
collation?: CollationDocument;
default_language?: string
}