Return type from validator