mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 07:47:04 +00:00
Added CollationDocument type in a couple places that were missed
This commit is contained in:
Vendored
+2
-2
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user