mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Add auth options into MongoClientOptions (#24934)
Reference: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/24906#issuecomment-380486889
This commit is contained in:
committed by
Mohamed Hegazy
parent
e77f5638ae
commit
e372b989c7
Vendored
+4
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user