title: Angular 2 observable error - 'Parameter 'observer' implicitly has an 'any' type.'
body: <p>I am learning Angular 2 and am having trouble with a service that is going to return an observable. </p>
  
  <p>I am seeing this error but am not sure why? I'm trying to follow some tutorials I found on the web...</p>
  
  <p><strong>[ts] Parameter 'observer' implicitly has an 'any' type.</strong></p>
  
  <p>My editor highlights the 'observer' work at the start of the lambda.</p>
  
  <p>I am using Angular "2.0.0-rc.2" </p>
  
  <pre class="lang-js prettyprint-override"><code>import { Injectable } from '@angular/core';
  import { Observable } from 'rxjs/Observable';
  
  @Injectable()
  export class LocationService {
  
      constructor() { }
  
      getLocation(): Observable&lt;string&gt; {
  
          let data: Observable&lt;string&gt;;
  
          data = new Observable&lt;string&gt;(observer  =&gt; {
              observer.next("123")
          });
  
          return data;
      }
  }
  </code></pre>