From ef752bb73109208098c122ecbed97e127da71149 Mon Sep 17 00:00:00 2001 From: Leivince John Date: Sat, 28 Apr 2018 14:31:31 +0800 Subject: [PATCH] Added dbName to connect to Mongodb Atlas Cluster (#25220) --- types/mongoose/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/mongoose/index.d.ts b/types/mongoose/index.d.ts index 7363701f2f..5723a9a881 100644 --- a/types/mongoose/index.d.ts +++ b/types/mongoose/index.d.ts @@ -271,6 +271,8 @@ declare module "mongoose" { } interface ConnectionOptionsBase { + /** database Name for Mongodb Atlas Connection */ + dbName?: string; /** passed to the connection db instance */ db?: any; /** passed to the connection server instance(s) */