From f3e5bce4305292a189e36100fcd7411cd218b4ac Mon Sep 17 00:00:00 2001 From: Kou Matsumoto Date: Mon, 6 Feb 2017 11:23:44 +0900 Subject: [PATCH] add promiseLibrary property to ConnectionOpenSetOptions interface --- mongoose/index.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mongoose/index.d.ts b/mongoose/index.d.ts index 56ad48e617..8ba2405640 100644 --- a/mongoose/index.d.ts +++ b/mongoose/index.d.ts @@ -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