From 0e95a07e460e8b2223949a53fdcb5395b0bcda13 Mon Sep 17 00:00:00 2001 From: Andy Date: Fri, 19 Oct 2018 17:35:44 -0700 Subject: [PATCH] multer-gridfs-storage: Depend on latest mongodb (#29899) --- types/multer-gridfs-storage/index.d.ts | 2 +- types/multer-gridfs-storage/tsconfig.json | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/types/multer-gridfs-storage/index.d.ts b/types/multer-gridfs-storage/index.d.ts index 42f02c024b..9e6f5efcf3 100644 --- a/types/multer-gridfs-storage/index.d.ts +++ b/types/multer-gridfs-storage/index.d.ts @@ -58,7 +58,7 @@ declare namespace MulterGridfsStorage { } interface DbStorageOptions extends MulterGfsOptions { - db: Mongoose | Connection | Db | Promise; + db: Mongoose | Connection | Db | MongoClient | Promise; } interface FileConfig { diff --git a/types/multer-gridfs-storage/tsconfig.json b/types/multer-gridfs-storage/tsconfig.json index 1daa734d97..4729416ff1 100644 --- a/types/multer-gridfs-storage/tsconfig.json +++ b/types/multer-gridfs-storage/tsconfig.json @@ -4,11 +4,6 @@ "lib": [ "es6" ], - "paths": { - "mongodb": [ - "mongodb/v2" - ] - }, "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true,