From 290276a382a8dba551b1fd23a1bcd1558f5a207e Mon Sep 17 00:00:00 2001 From: Francois Date: Mon, 13 May 2024 10:03:07 +0200 Subject: [PATCH] fix: incorrect mongoose type used for ConnectOptions (#1101) Author: @FTheron --- types/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/index.d.ts b/types/index.d.ts index b052ecbc..20e90e76 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -1,6 +1,6 @@ import { Application, NextFunction, Request, RequestHandler, Response } from 'express'; import { - ConnectionOptions, + ConnectOptions, Mongoose, Connection, Model, @@ -29,7 +29,7 @@ export interface DatabaseConfiguration { modelsDir: string, connection: { url: string, - options: ConnectionOptions, + options: ConnectOptions, } }