Angular2, subscribe property on EventEmitter not existing?
<p>My <code>app.component</code> contains the <code>&lt;nav&gt;</code> of the website, which uses <code>[routerLink]</code> to go to the different pages. It imports each of the pages' components. One of the pages is a login page. If the user is not logged in, I want the navigation to say Login- if the user is, Logout.</p>

<p>In <code>app.component</code>:</p>

<pre><code>my_userO : userO = undefined;

constructor (private my_userS:userS){
    my_userS.userChanged.suscribe(temp =&gt; this.updateNav());

updateNav(){ 
    this.my_userO = this.my_userS.getUser(); 
}

logOut(){
    this.my_userS.setUser(undefined);
}
</code></pre>

<p>and in its template:</p>

<pre><code>&lt;li&gt;&lt;a *ngIf="!my_userO" [routerLink]="['LoginPage']"&gt;Login&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a *ngIf="my_userO" [routerLink]="['HomePage']"(click)="logOut()"&gt;Logout&lt;/a&gt;&lt;/li&gt;
</code></pre>

<p><code>userS</code> is a global service (it is bootstrapped in <code>main.ts</code> and not added as a provider in any of the components I am using it in) I have that looks like this:</p>

<pre><code>public userChanged: EventEmitter&lt;{}&gt;
currentUser : userO = undefined;

constructor(private http:Http){
    this.userChanged = new EventEmitter();
}

getLogin(username: string, password: string): Promise&lt;userO&gt;{
    return this.http.get(this.getLoginUrl+username).toPromise().then(response =&gt; response.json().data).catch(this.handleError);
}

getUser(){
    return this.currentUser;
}

setUser(x_userO: userO){
    this.currentUser = x_userO;
    this.userChanged.emit(undefined);
}
</code></pre>

<p>In the login page, I just run <code>getLogin</code> then <code>setUser</code> with what the former returned.</p>

<p>My problem is that I get the error "Property suscribe does not exist on type EventEmitter&lt;{}>". </p>