Add auth options into MongoClientOptions (#24934)

Reference: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/24906#issuecomment-380486889
This commit is contained in:
Nattapong-sir
2018-04-12 09:59:27 -07:00
committed by Mohamed Hegazy
parent e77f5638ae
commit e372b989c7
+4
View File
@@ -97,6 +97,10 @@ export interface MongoClientOptions extends
validateOptions?: Object;
// The name of the application that created this MongoClient instance.
appname?: string;
auth?: {
user: string;
password: string;
}
}
export interface SSLOptions {