We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NaN
In the following image, we can see that typanion understands NaN as null in error message:
typanion
null
This can lead to problematic error report, but also to weird cases like:
t.isNullable(t.isString())(NaN, {errors}); // logs "Expected a string (got null)"
but null should have been understood as isNullable was used
isNullable
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In the following image, we can see that
typanion
understandsNaN
asnull
in error message:This can lead to problematic error report, but also to weird cases like:
but
null
should have been understood asisNullable
was usedThe text was updated successfully, but these errors were encountered: