There isn't a need to make use of a return statement since the compiler can infer that you would like to return the result of the expression This appears to be much like this concern: Wrong "Property would not exist on variety 'hardly ever'" when transforming benefit inside callback with https://conscientparqgurugram.in/