We are trying to upgrade to mongosoe 6.x and encountered a problem with the package, It is importing an old interface which no longer exists.
import { ConnectionOptions } from 'mongoose'; export interface TypegooseConnectionOptions extends ConnectionOptions { connectionName?: string; }
in the file typegoose-options.interface.d.ts
Should be updated to ConnectOptions.
Can this be fixed or should I open a PR for this?
We are trying to upgrade to mongosoe 6.x and encountered a problem with the package, It is importing an old interface which no longer exists.
import { ConnectionOptions } from 'mongoose'; export interface TypegooseConnectionOptions extends ConnectionOptions { connectionName?: string; }
in the file typegoose-options.interface.d.ts
Should be updated to ConnectOptions. Can this be fixed or should I open a PR for this?