-
Notifications
You must be signed in to change notification settings - Fork 561
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
All props are required warning in typescript #847
Comments
@mrjones03650 Can you please provide a working sandbox example of the errors you are seeing? |
Closing for now. If you can provide a reproduction of the issue I can reopen and investigate. |
@chaance Some info, tried with typescript version 4.3.4 and 4.5.4. I'm using PhpStorm |
@chaance I downgraded |
I'm having this same problem with: |
@chaance I ran into this as well, but with
You'll need to install a Jetbrains IDE like Webstorm to see the issue. Webstorm has a 30-day trial license you can use, as well as free licenses for open-source projects. All you have to do is clone the project, open it in Webstorm, run The Oddly enough, the "missing" attributes look like they're methods belonging to the JavaScript String prototype - they include The app runs despite the warnings, but it makes auto-importing and auto-completing those elements very annoying, not to mention that it creates hundreds of warnings. |
Yes! |
Problem still exists ;( |
For what it's worth to anyone reading this, I've come to the conclusion that none of the "accessible component" libraries - Reach, ReaKit, Cauldron - are worth the trouble. They all have accessibility issues, but you can't access the inner elements to customize them or style them easily. Issues like this don't get fixed because they don't have enough people to maintain them, and I don't have time to submit a PR in addition to building my actual project. My team has switched to just implementing our own components and testing with assistive devices. You have to test your site for accessibility anyway because it's irresponsible to trust a 3rd-party library to work 100% of the time. You might as well have easy access to the components when you need to fix them. |
I'm having the same issue with |
🐛 Bug report
Current Behavior
When using @reach/combobox with typescript 4.4.3 typescript warns on all props "doesn't have required attribute..."
Expected behavior
No warning should be issued
Your environment
The text was updated successfully, but these errors were encountered: