title: Angular2: Supplied parameters do not match any signature of call target
body: <p>I'm created my own Observable service</p>
  
  <pre><code>import { Injectable, EventEmitter, Output} from '@angular/core';
  
  @Injectable()
  export class ObservableService {
      data = [];
      @Output eventEmitter:EventEmitter = new EventEmitter();
  
      setSharedData(key, value) {
          this.data[key] = value;
          this.eventEmitter.emit(this.data);
      }
  
      getSharedData() {
          return this.data;
      }
  }
  </code></pre>
  
  <p>And here is an usage example</p>
  
  <pre><code>ngOnInit() {
          this._observable.eventEmitter.subscribe((data) =&gt; {
              console.log(data);
          })
      }
  </code></pre>
  
  <p>So currently while compiling it saying </p>
  
  <pre><code>app/services/data-observable.service.ts(6,5): error TS1240: Unable to resolve signature of property decorator when called as an expression.
    Supplied parameters do not match any signature of call target.
  </code></pre>
  
  <p>Which is refers to this particular string, </p>
  
  <pre><code>@Output eventEmitter:EventEmitter = new EventEmitter();
  </code></pre>
  
  <p>But the service works perfect, any suggestions what is wrong? </p>