After fetching array of objects not showing attribute recommendation in the html

when I fetch the array of objects from the service and although I created interface with the matching attributes and explicitly I added the return type to be of the same interface type, however in the html page after looping over the array of object I can’t get the attributes when I press “.” inside the interpolation!