showing results for - "angularfiredatabase is not a observable 3f 3f"
Maja
09 Apr 2019
1// change to valueChanges()
2constructor(afDb: AngularFireDatabase) {
3  afDb.list('items').subscribe(console.log);
4}
5//to
6constructor(afDb: AngularFireDatabase) {
7  afDb.list<Item>('items').valueChanges().subscribe(console.log);
8}