Recently, I upgraded my ionic app from beta 11 to rc0, which also involved transitioning from typescript 1.8 to version 2.
After following the configuration steps for AngularFire2 on the site Getting Started with Ionic 2 RC0, Firebase 3 + AngularFire 2, I found that a previously functioning line of code now throws an error:
this.af.database.object(`comments/${commentId}`).take(1).subscribe({
data => console.log(data)
});
The error message reads: Property 'take' does not exist on type 'FirebaseObjectObservable'. Any suggestions on how to troubleshoot and resolve this issue?