Sintax explanation : Hello I am learning angular via the Tour of Heroes tutorial, I was wondering can someone explain this syntax 

    getHeroes(): Hero[] {
  return HEROES;
}

Why it is the getHeroes() method : to the Hero array and then return Heroes 