title: How pass 2 parameters to EventEmitter in Angular?
body: <p>I have in my component an <code>EventEmitter</code> but I can't compile it because it throws the error:</p>
  <blockquote>
  <p>Supplied parameters do not match any signature of call target</p>
  </blockquote>
  <p>My component:</p>
  <pre class="lang-ts prettyprint-override"><code>@Output() addModel = new EventEmitter&lt;any&gt;();
  
  saveModel($event, make, name) {
    this.addModel.emit(make, name);
  }
  </code></pre>
  <p>If I delete one of the parameters in <code>this.addModel.emit()</code> it works but is it possible to pass 2 parameters to <code>EventEmitter</code> and how?</p>