Skip to content
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

[TypeScript] jsx-no-leaked-render false positives with boolean types #3298

Closed
SimonSchick opened this issue May 26, 2022 · 1 comment
Closed

Comments

@SimonSchick
Copy link

I'm unsure as how far TS support goes for this package but this rule causes a lot of false positives when the type of the checked variable is already a bool, adding an extra !! is kind of annoying (albeit not a deal breaker).

Would it be possible to add support for type checking this rule?

@ljharb
Copy link
Member

ljharb commented May 26, 2022

Yes. This is a duplicate of #3292.

@ljharb ljharb closed this as not planned Won't fix, can't repro, duplicate, stale May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants