title: Getting error in this line `Cannot use namespace 'DataTypes' as a type.ts(2709)`
body: <p>I used the below configuration to generate models</p>
  
  <pre><code>const auto = new SequelizeAuto(
  process.env.DB_NAME,
  process.env.DB_USER,
  process.env.DB_PASS,
  {
    host: process.env.DB_HOST,
    dialect: 'mysql',
    typescript: true,
    camelCaseForFileName: true,
    directory: './src/data/entity'
  })
  auto.run();
  </code></pre>
  
  <p>But i'm getting error on Models generated <code>Cannot use namespace 'DataTypes' as a type.ts(2709)</code></p>
  
  <p><a href="https://i.stack.imgur.com/k5egi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/k5egi.png" alt="Error Message"></a></p>
  
  <p>FYR i also raised an issue GitHub repository: <a href="https://github.com/sequelize/sequelize-auto/issues/384" rel="nofollow noreferrer">https://github.com/sequelize/sequelize-auto/issues/384</a></p>