Closed mkfreeman closed 1 year ago
The getTypeValidator function doesn't have a case for integer. As a result, invalid results are formatted in the same way as valid integers. Perhaps:
getTypeValidator
integer
const isValidInteger = (value) => Number.isInteger(value) && !Number.isNaN(value);
The
getTypeValidator
function doesn't have a case forinteger
. As a result, invalid results are formatted in the same way as valid integers. Perhaps: