-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
[isolatedDeclarations][5.5] Autofix does not work when JSX prop contains a dash -
#58399
Comments
I've started taking a look at this, and after figuring out how to repro in fourslash, it looks like there is a crash coming from pretty deep within a call to
After debugging a bit, I suspect the issue is that the formatter seems to rely on Is it safe to assume that the |
Judging by the location, this looks more like that the formatter didn't consider |
π Search Terms
isolated declarations, jsx, autofix
π Version & Regression Information
β― Playground Link
No response
π» Code
π Actual behavior
No autofix suggestion
π Expected behavior
Autofix to add explicit type annotation
Additional information about the issue
This is with
"jsx": "react-jsx"
in tsconfigThe text was updated successfully, but these errors were encountered: