title: SyntaxError using Babel and JSX when using class
body: <p>I'm trying to create classes using webpack, babel and jsx</p>
  
  <pre><code>import Observable from '../../observable';
  
  
  abstract class AbstractClient implements Observable  {
      var _name: string,
      var _config: object,
  
      function constructor(config: object) : variant,
  
      ...
  }
  export default AbstractClient;
  </code></pre>
  
  <p>And here is the error I get:</p>
  
  <pre><code>ERROR in ./app/adapter/AbstractAdapter/aclient.jsx
  Module build failed: SyntaxError: /home/vinz243/Documents/nTorrent/app/adapter/AbstractAdapter/aclient.jsx: Unexpected token (5:9)
    3 | 
    4 | 
  &gt; 5 | abstract class AbstractClient implements Observable  {
      |          ^
    6 |   var _name: string,
    7 |   var _config: object,
    8 | 
  </code></pre>
  
  <p>My babel presets</p>
  
  <pre><code> presets:['es2015','stage-0','react']
  </code></pre>