-
Notifications
You must be signed in to change notification settings - Fork 50
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
Matching doesn't work on strings #52
Comments
Hi @cirokd , your sandbox at codesandbox.io is using babel which transpile your code, so I don't know codesandbox.io much, but I tried going on configuration files, added
If you want to use |
Thank you @leonardiwagner for your quick response! I found this page on MDN about default parameters. Can you please tell me if I need "Basic support" only, or is "Destructured parameter with default value assignment" necessary as well? What is required for |
@cirokd actually I don't even think That means if later you want to use object matches in tl;dr; it will depend on what you want to write on z, not |
Thank you for your time! |
Would you accept a PR to warn about this at the top of the README? This is a very major caveat and users deserve to know up front about it. |
Hello!
First of all, great library, thank you!
I just introduced
z
(version 1.0.8) to a project and I cannot seem to get it to work with strings. I created a sandbox in which I recreated the issue I faced. It also includes two tests from the test suite that don't work as expected. I'm not familiar with the source code but anyways let me know if I can be of help fixing this issue.Here is the sandbox: https://codesandbox.io/s/w6kql5km47
Thank you in advance for your time looking into this!
The text was updated successfully, but these errors were encountered: