Hi,
I've have just started my adventures in PCF and I have come across a problem I hope someone can help with.
I have created a custom control passing in a dataset which contains an owner column. I am trying to retrieve the id of this owner, by doing the following:
let owner = this._dataset.records[recordId].getValue("ownerid") as ComponentFramework.EntityReference;TypeScript then offers me the following options in intellisense:

So I choose "owner.id" to get the id.
However, when this code runs this "id" is not the id, but an object containing a property called "guid":

If I try to use owner.id.guid in my TypeScript file I get an error and it fails to build.
Am I doing something wrong here? I am pretty new to TypeScript so probability is high.
Thanks
Jason