title: Property 'forEach' does not exist on type 'Object'
body: <p>I can't for the life of me figure out why I can't loop over the response from this http call. For whatever reason it's complaining that the type of <code>data</code> is an object, but when I console log it I can an array like I expect.</p>
  
  <pre><code>import { HttpClient, HttpHeaders } from '@angular/common/http';
  import { URLSearchParams } from '@angular/http';
  import { Observable } from 'rxjs/Observable';
  import 'rxjs/add/observable/forkJoin';
  
  promises.push(Observable.create(observer =&gt; {
      this.http.post(`items/event/${this.event.auction_code}`, body.toString(), {
          headers: new HttpHeaders().set('Content-Type', 'application/X-www-form-urlencoded' ),
      }).subscribe(data =&gt; {
         var classifiedData;
         data.forEach((item)=&gt;{
            classifiedData.push(new Item(item));
         });
         observer.next(data);
         observer.complete();
      },error =&gt; {
         observer.throw(error);
      });
  }));
  ...
  Observable.forkJoin(promises).subscribe(results =&gt; {
     results.forEach((result,i)=&gt;{
        data.content.template[i].data = result;
     });
  });
  </code></pre>
  
  <p><strong>Edit:</strong></p>
  
  <p>Console.log shows me this</p>
  
  <p><a href="https://i.stack.imgur.com/p3UrG.png" rel="noreferrer"><img src="https://i.stack.imgur.com/p3UrG.png" alt="enter image description here"></a></p>
  
  <p><strong>Edit: 2</strong></p>
  
  <p>I also have an interceptor setup, could this be causing it?</p>
  
  <pre><code>@Injectable()
  export class NoopInterceptor implements HttpInterceptor {
    intercept(req: HttpRequest&lt;any&gt;, next: HttpHandler): Observable&lt;HttpEvent&lt;any&gt;&gt; {
      const duplicate = req.clone({
        url: `${environment.apiUrl}/${req.url}`,
        params: req.params.set('key', environment.apiKey)
      });
      return next.handle(duplicate);
    }
  }
  </code></pre>