# MongooseModule Class

Module
import { MongooseModule } from "@tsed/mongoose"
Source/packages/mongoose/src/MongooseModule.ts

# Overview

class MongooseModule implements AfterRoutesInit {
    constructor(expressApp: ExpressApplication, mongooseService: MongooseService);
    $afterRoutesInit(): void;
    $onDestroy(): Promise<any> | void;
}

# Members

$afterRoutesInit(): void

$onDestroy(): Promise<any> | void