How to receive an elements value from Firebase in Typescript

This is most likely a rather trivial issue, but I’m not sure what the right approach is to get the value of an element stored in a Firebase database in Typescript.

My Firebase structure is something like this: 'Project/< UserID >"

< UserID > has, among other things, the attribute “name” that stores the username. I’m now trying to access the String value of “name” and store it in a variable, but so far I’m failing miserably at it. All I’m ever getting is [Object object].

I tried things different things so far - stuff similar to the code below -, but that’s quite apparently not the right approach to do what I’m trying to do.
this.name = this.db.list(’/userProfile/’+ firebase.auth().currentUser.uid + /name)”

Any help would be greatly appreciated.