mkfreeman opened this issue 3 years ago · 0 comments
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);