-
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
Add JSX codefix if available #32281
Add JSX codefix if available #32281
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow, nice work 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
true
isn't a valid jsx
value. We could default to "react"
or "preserve"
(open to feedback)
tsconfig.json:5:12 - error TS5024: Compiler option 'jsx' requires a value of type string.
5 "jsx": true
~~~~
I think |
In DefinitelyTyped:
That matches my intuition as well. |
Thanks @RyanCavanaugh for the feedback. Fixed |
Just another 👍 to |
* Add JSX codefix if available * Update react jsx. * Update diagnostic code.
Verified:
Backlog
milestone (required)master
branchgulp runtests
locallyFixes #31938