title: Type 'Observable<{}[]>' cannot be converted to type 'AngularFireList<any[]>'
body: <p>I'm pretty much new to Firebase and I was going through this course: <a href="https://scotch.io/tutorials/build-a-status-update-app-w-reactions-using-angular-v4-and-firebase" rel="nofollow noreferrer">https://scotch.io/tutorials/build-a-status-update-app-w-reactions-using-angular-v4-and-firebase</a> but my issue is that this tutorial is out of date so there are some issues I encountered with Firebase</p>
  
  <p>On the tutorial, there is a recent function that was used to get the most recent posts... previously the code looked like this: </p>
  
  <pre><code>// ----------------------------------------------------------------------
  // Method to get the recent statuses from Firebase
  // ----------------------------------------------------------------------
  
  recent(amount: number): FirebaseListObservable&lt;any[]&gt; {
    return this.statuses = this.af.list('/statuses').map(arr =&gt; arr.reverse()) as FirebaseListObservable&lt;any[]&gt;;
  }
  </code></pre>
  
  <p>I later found out that <code>FirebaseListObservable</code> is outdated and now it's <code>AngularFireList</code></p>
  
  <p>So I changed my code to look like this</p>
  
  <pre><code>recent(amount: number): AngularFireList&lt;any[]&gt; {
    return this.statuses = this.af.list('/statuses').map(arr =&gt; arr.reverse()) as AngularFireList&lt;any[]&gt;;
  }
  </code></pre>
  
  <p>I used a similar question from <a href="https://stackoverflow.com/questions/50190065/property-map-does-not-exist-on-type-angularfirelist">Property &#39;map&#39; does not exist on type &#39;AngularFireList&lt;{}&gt;&#39;</a> and tried changing my code to: </p>
  
  <pre><code>recent(amount: number): AngularFireList&lt;any[]&gt; {
    return this.statuses = this.af.list('/statuses').valueChanges().map(arr =&gt; arr.reverse()) as AngularFireList&lt;any[]&gt;;
  }
  </code></pre>
  
  <p><code>Type 'Observable&lt;{}[]&gt;' cannot be converted to type 'AngularFireList&lt;any[]&gt;'.</code></p>
  
  <p>Can anyone help me out?</p>