Skip to content

Commit

Permalink
fix: incorrect mongoose type used for ConnectOptions (#1101)
Browse files Browse the repository at this point in the history
Author: @FTheron
  • Loading branch information
FTheron committed May 13, 2024
1 parent 60984a5 commit 290276a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Application, NextFunction, Request, RequestHandler, Response } from 'express';
import {
ConnectionOptions,
ConnectOptions,
Mongoose,
Connection,
Model,
Expand Down Expand Up @@ -29,7 +29,7 @@ export interface DatabaseConfiguration {
modelsDir: string,
connection: {
url: string,
options: ConnectionOptions,
options: ConnectOptions,
}
}

Expand Down

0 comments on commit 290276a

Please sign in to comment.