Property filter does not exist on type FirebaseListObservable

I am using Ionic 2 and Firebase to build a chat app.

I add the following which is supposed to be used to add a filter:

import 'rxjs/add/operator/filter';
public af: AngularFire
    this.firelist ='/chat/', {
      query: {
        orderByChild: 'negativtimestamp'
    }).filter(item => item.memberIds === 'xxx');

However, I get the following:

[ts] Property ‘filter’ does not exist on type

ps. returns a FirebaseListObservable<any[]>. filter can be done on Observable but not on FirebaseListObservable.


So how do I implement the filter on FirebaseListObservable because class FirebaseListObservable<T> extends Observable<T>?


import 'rxjs/add/operator/map'
            ...'').map(item => {});

has the following error:

[ts] Property ‘map’ does not exist on type ‘FirebaseListObservable<any>’.

More Info:

My package.json has:

 "rxjs": "5.0.0-beta.12",

enter image description here

Any help appreciated.


If you look at the following youtube tutorial, they do exactly what I want to achieve, but without the errors. Does anyone know why I get errors? I am using "angularfire2": "^2.0.0-beta.7-pre",.

enter image description here

This issue was fixed in the following version:

"angularfire2": "^2.0.0-beta.7.1-pre",


npm install firebase angularfire2@^2.0.0-beta.7.1-pre --save