From 60eea10c7db2749c591765393691b792c46faf82 Mon Sep 17 00:00:00 2001 From: Brecht Carlier Date: Tue, 19 Jun 2018 19:17:19 +0200 Subject: [PATCH] Update dependancy for 'connect-mongo' Without this change the types of 'mongoose' of v5 will be used. These are not compatible with v2 of 'mongdb' typings. --- types/connect-mongo/tsconfig.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/types/connect-mongo/tsconfig.json b/types/connect-mongo/tsconfig.json index ca12068b57..c0c9ab3043 100644 --- a/types/connect-mongo/tsconfig.json +++ b/types/connect-mongo/tsconfig.json @@ -7,7 +7,10 @@ "paths": { "mongodb": [ "mongodb/v2" - ] + ], + "mongoose": [ + "mongoose/v4" + ] }, "noImplicitAny": true, "noImplicitThis": true, @@ -25,4 +28,4 @@ "index.d.ts", "connect-mongo-tests.ts" ] -} \ No newline at end of file +}