title: Unexpected token for Sequelize DataTypes.STRING
body: <p>I'm new to creating a database with Sequelize and Postgres and ran into an error trying to define a model. When running the server, I hit an error of "Unexpected token ." with DataTypes.String.</p>
  
  <p>Using the following versions on node 8.4</p>
  
  <p>"sequelize": "^3.30.4",</p>
  
  <p>"sequelize-cli": "^3.0.0"</p>
  
  <pre><code>'use strict';
  
  module.exports = (sequelize, DataTypes) =&gt; {
    const User = sequelize.define('User', {
      name: {
        type: DataTypes.STRING,
        allowNull: false,
      },
      email: {
        DataTypes.STRING,
        allowNull: false
      },
      password: {
        DataTypes.STRING,
        allowNull: false
      },
      latlng: {
        DataTypes.STRING
      }
    });
  
    return User;
  };
  </code></pre>