TypeScript: The problem with function overloadsThe main goal of function overloads is to condition return type based on input parameters.