corrected "error TS2174: Default arguments are not allowed in an overload parameter."