title: Angular EventEmitter Error: Expected 0 type arguments, but got 1
body: <p>I am getting the type error, "Expected 0 type arguments, but got 1" despite following this tutorial to a T.
  <a href="https://youtu.be/I317BhehZKM?t=57s" rel="noreferrer">https://youtu.be/I317BhehZKM?t=57s</a></p>
  
  <p>I have specified:</p>
  
  <pre><code>  newUserInfoComplete:boolean = false
  </code></pre>
  
  <p>yet I am getting the error specified above on <code>&lt;boolean&gt;</code> in this line:</p>
  
  <pre><code>  @Output() newUserInfoCompleteEvent = new EventEmitter &lt;boolean&gt; ();
  </code></pre>
  
  <p>Also, if I simply omit <code>&lt;boolean&gt;</code> I get this error:</p>
  
  <pre><code>Argument of type 'boolean' is not assignable to parameter of type 'string'.
  </code></pre>
  
  <p>and this.NewUserInfoComplete is underlined here:</p>
  
  <pre><code>this.newUserInfoCompleteEvent.emit(this.newUserInfoComplete);
  </code></pre>
  
  <p>Here is my component:</p>
  
  <pre><code>import { Component, OnInit, Output } from '@angular/core';
  import { slideToRight } from '../../../../router.animations';
  import { Router, ActivatedRoute, UrlSegment } from '@angular/router';
  import { EventEmitter } from 'protractor';
  
  @Component({
    selector: 'app-new-user-input',
    templateUrl: './new-user-input.component.html',
    styleUrls: ['./new-user-input.component.css'],
    animations: [slideToRight()]
  })
  export class NewUserInputComponent implements OnInit {
  
    newUserInfoComplete:boolean = false
  
    @Output() newUserInfoCompleteEvent = new EventEmitter &lt;boolean&gt; ();
  
    constructor(private router: Router, r: ActivatedRoute) {
      r.url.subscribe((s: UrlSegment[]) =&gt; {
        console.log("url", s); //https://vsavkin.com/angular-router-understanding-router-state-7b5b95a12eab
      });
    }
  
    ngOnInit() {
    }
  
  
  
    sendNewUserInfoComplete(){
      this.newUserInfoCompleteEvent.emit(this.newUserInfoComplete);
    }
  
  
    displaySibling() {
      console.log(this.router);
      this.router.navigate(['../', { outlets: { newuserorginfo: ['newuserorginfo'] } }])
    }
  
    closeBlade() {
      this.router.navigate([{ outlets: { newuserinput: null } }]);
    }
  
  }
  </code></pre>