title: TypeScript: Module '"@nestjs/typeorm"' has no exported member 'TypeOrmModule' What is causing this?
body: <p>I have installed all necessary packages to use typeorm for my mysql database but I keep getting
  <code>Module '&quot;@nestjs/typeorm&quot;' has no exported member 'TypeOrmModule'.</code> when I start my server.
  Why?</p>
  <p>Here are my dev dependencies in the package.json file.</p>
  <pre><code>dependencies&quot;: {
      &quot;@nestjs/common&quot;: &quot;^8.0.0&quot;,
      &quot;@nestjs/config&quot;: &quot;^1.0.1&quot;,
      &quot;@nestjs/core&quot;: &quot;^8.0.0&quot;,
      &quot;@nestjs/platform-express&quot;: &quot;^8.0.0&quot;,
      &quot;@nestjs/typeorm&quot;: &quot;github:nestjs/typeorm&quot;,
      &quot;mysql&quot;: &quot;^2.18.1&quot;,
      &quot;reflect-metadata&quot;: &quot;^0.1.13&quot;,
      &quot;rimraf&quot;: &quot;^3.0.2&quot;,
      &quot;rxjs&quot;: &quot;^7.2.0&quot;,
      &quot;typeorm&quot;: &quot;^0.2.37&quot;
    },
  </code></pre>
  <p>Here is my database.module.ts file where I am supposed to consume the TypeOrmModule.</p>
  <pre><code>import { TypeOrmModule } from '@nestjs/typeorm';
  
  @Module({
    imports: [TypeOrmModule.forRoot()],
    exports: [TypeOrmModule],
  })
  export class DatabaseModule {
    constructor(connection: Connection) {
      if (connection.isConnected) console.log('connected successfully!');
    }
  }
  </code></pre>
  <p>I have run npm install again to see if it will fix it but I still get the same error. Any one know what is wrong?</p>