[@types/mongoose] Property 'disconnected' does not exist on ty… (#36423)
[@types/mongoose] Property 'disconnected' does not exist on ty… (#36423)

`STATES` is undefined at runtime since `.d.ts` files are not compiled so enum `ConnectionStates` must be exported.
georgemarshall/DefinitelyTyped,georgemarshall/DefinitelyTyped,dsebastien/DefinitelyTyped,georgemarshall/DefinitelyTyped,dsebastien/DefinitelyTyped,georgemarshall/DefinitelyTyped,markogresak/DefinitelyTyped,mcliment/DefinitelyTyped