There isn't any need to utilize a return statement because the compiler can infer that you might want to return the results of the expression This seems to be just like this issue: Bogus "Property does not exist on form 'by no means'" when transforming benefit within callback with strictNullChecks, https://centralparksector104.co.in/