add promiseLibrary property to ConnectionOpenSetOptions interface

This commit is contained in:
Kou Matsumoto 2017-02-06 11:23:44 +09:00
parent f4f0bef0e1
commit f3e5bce430

3
mongoose/index.d.ts vendored
View File

@ -383,6 +383,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