Merge pull request #26067 from mjomble/patch-2

mongodb: removed extraneous parameter
This commit is contained in:
Benjamin Lichtman
2018-05-31 15:33:52 -07:00
committed by GitHub
+1 -1
View File
@@ -48,7 +48,7 @@ export class MongoClient extends EventEmitter {
/** http://mongodb.github.io/node-mongodb-native/3.0/api/MongoClient.html#db */
db(dbName?: string, options?: MongoClientCommonOption): Db
/** http://mongodb.github.io/node-mongodb-native/3.0/api/MongoClient.html#isConnected */
isConnected(name: string, options?: MongoClientCommonOption): boolean;
isConnected(options?: MongoClientCommonOption): boolean;
/** http://mongodb.github.io/node-mongodb-native/3.0/api/MongoClient.html#logout */
logout(callback: MongoCallback<any>): void;
logout(options?: { dbName?: string }): Promise<any>;