diff --git a/types/mongoose/index.d.ts b/types/mongoose/index.d.ts index c9f09c1522..679e306405 100644 --- a/types/mongoose/index.d.ts +++ b/types/mongoose/index.d.ts @@ -403,7 +403,7 @@ declare module "mongoose" { static STATES: ConnectionStates; } - enum ConnectionStates { + export enum ConnectionStates { disconnected = 0, connected = 1, connecting = 2,