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,