title: TypeScript: Argument of type '(error: any) => void' is not assignable to parameter of type
body: <p>Following Code: </p>
  
  <pre><code>private getJSON(): Observable&lt;any&gt; {
      return this.http.get('./reportNav-NEW.json')
        .map((res:any)=&gt; res.json())
        .catch((error:any) =&gt; console.log(error));
    }
  </code></pre>
  
  <p>The Error gives me: </p>
  
  <blockquote>
    <p>Argument of type '(error: any) => void' is not assignable to parameter
    of type '(err: any, caught: Observable) => ObservableInput&lt;{}>'.
    Type 'void' is not assignable to type 'ObservableInput&lt;{}>'.</p>
  </blockquote>
  
  <p>It happens in the <code>.catch((error:any) =&gt; console.log(error));</code></p>