Merge pull request #14458 from kouMatsumoto/update-mongoose-type

mongoose: add property 'promiseLibrary' to interface 'ConnectionOpenSetOptions'
This commit is contained in:
Mine Starks 2017-03-06 11:41:10 -08:00 committed by GitHub
commit bbe7b0aa23

3
mongoose/index.d.ts vendored
View File

@ -385,6 +385,9 @@ declare module "mongoose" {
* If connecting to multiple mongos servers, set the mongos option to true.
*/
mongos?: boolean;
/** sets the underlying driver's promise library (see http://mongodb.github.io/node-mongodb-native/2.1/api/MongoClient.html) */
promiseLibrary?: any;
}
interface ConnectionOptions extends