-
-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
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
Pattern.nonNullable
does not behave as expected
#247
Comments
That's indeed a bug. I'll take a closer look when I get some time. In the meantime using |
Fixed in 5.1.2! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Pattern.nonNullable
behave the samePattern.not(Pattern.nullish)
Code Sandbox with a minimal reproduction case
https://codesandbox.io/p/sandbox/thirsty-frog-9965h3?file=%2Fsrc%2Findex.ts%3A20%2C14
provided this code
I get this ts error
Versions
The text was updated successfully, but these errors were encountered: