There is no should use a return statement since the compiler can infer that you would like to return the results of the expression This appears to be comparable to this concern: Untrue "Property doesn't exist on form 'never ever'" when altering price inside callback with strictNullChecks, and that is https://smartworlddeveloper.co.in/