There is no really need to make use of a return statement as the compiler can infer you want to return the result of the expression Moderator Observe: This seems for being a bug in the most recent launch from the Angular Language IDE extension. Please never increase new solutions https://conscientparqgurugram.in/