title: "Type 'EventEmitter' is not generic" ERROR in angular
body: <p>I'm currently following a tutorial and the tutorial is making use of <code>EventEmitter</code>. The code goes like this</p>
  
  <pre><code>@Output() ratingClicked: EventEmitter&lt;string&gt; =
          new EventEmitter&lt;string&gt;();
  </code></pre>
  
  <p>But it visual studio code gives me these errors:</p>
  
  <ol>
  <li>Type 'EventEmitter' is not generic.</li>
  <li>Expected 0 type arguments, but got 1.</li>
  </ol>
  
  <p>Even in the <a href="https://angular.io/api/core/EventEmitter" rel="noreferrer">angular website</a> it looks like that code is correct. </p>
  
  <p>I'm currently using Angular CLI: 1.7.4; Node: 8.11.1; Typescript: 2.8.1</p>