this.db.object(\'/users/\'+user.uid).update({
name:user.displayName,email:user.email
});
}
getting this error :
core.j
Go to tsconfig.json,
Change the target from es2015 to es5.
This worked for me.
I think the compiler is still having issues when you use the AngularFire Database methods, I am not 100% sure of the cause, but changing the target solved the issue immediately and my user field was easily created in the DataBase