-
Notifications
You must be signed in to change notification settings - Fork 74
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
Question: Why does some properties allow strings while other doesn't? #84
Comments
if you search closed issues for |
Thanks! So this is actually solved by #74? Is that also already released or does it come in v3? |
The autocomplete issue is solved in |
Alright! Do you already have an issue for the type checking part or do you want to keep this open for that? |
We should close this. I don't believe there's much more we can do to improve type checking at this moment. We also have to keep in mind that false positive type errors are more annoying than false positive warnings in e.g. a linting tool. CSSType should only provide basic type checking and let the responsible to the developer and other tools where values becomes more complicated. |
Hi @frenic, I have a question! 😀
Most properties seem to allow string values even if they have a finite number of valid values, for instance:
But other doesn't:
I ran into these kinds of problems while using the properties that don't allow any string.
Is this intentional? 🤔
The text was updated successfully, but these errors were encountered: