title: "Type 'Object' is not assignable to type" with new HttpClient / HttpGetModule
body: <p>Following <a href="https://angular.io/guide/http" rel="noreferrer">Google's official Angular 4.3.2 doc here</a>, I was able to do a simple <code>get</code> request from a local json file. I wanted to practice hitting a real endpoint from JSON placeholder site, but I'm having trouble figuring out what to put in the <code>.subscribe()</code> operator. I made an <code>IUser</code> interface to capture the fields of the payload, but the line with <code>.subscribe(data =&gt; {this.users = data})</code> throws the error <code>Type 'Object' is not assignable to type 'IUser[]'</code>. What's the proper way to handle this? Seems pretty basic but I'm a noob. </p>
  
  <p>My code is below:</p>
  
  <pre><code>import { Component, OnInit } from '@angular/core';
  import { HttpClient } from '@angular/common/http';
  import { IUsers } from './users';
  
  @Component({
    selector: 'pm-http',
    templateUrl: './http.component.html',
    styleUrls: ['./http.component.css']
  })
  export class HttpComponent implements OnInit {
    productUrl = 'https://jsonplaceholder.typicode.com/users';
    users: IUsers[];
    constructor(private _http: HttpClient) { }
  
    ngOnInit(): void {    
      this._http.get(this.productUrl).subscribe(data =&gt; {this.users = data});
    }
  
  }
  </code></pre>