From 1d84357470bbd4dfe962a10ee59e582aebee9a11 Mon Sep 17 00:00:00 2001 From: Ankit Tyagi Date: Tue, 23 Jan 2018 10:44:30 -0800 Subject: [PATCH] @types/mongodb - add appname to MongoClientOptions (#23060) - Based on https://mongodb.github.io/node-mongodb-native/3.0/api/MongoClient.html#.connect --- types/mongodb/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/mongodb/index.d.ts b/types/mongodb/index.d.ts index 8bd069dcd6..08aeceb5d8 100644 --- a/types/mongodb/index.d.ts +++ b/types/mongodb/index.d.ts @@ -92,6 +92,8 @@ export interface MongoClientOptions extends logger?: Object; // Default: false; validateOptions?: Object; + // The name of the application that created this MongoClient instance. + appname?: string; } export interface SSLOptions {