I came across this situation when refactoring a function to return an item in lieu of an array, but I forgot to update the return benefit In the if statement. Moderator note: This appears being a bug in the most up-to-date release with the Angular Language IDE extension. Make sure https://herohomesrealty.in/