TypeScript
TypeScript copied to clipboard
[isolatedDeclarations][5.5] Autofix does not work when JSX prop contains a dash `-`
🔎 Search Terms
isolated declarations, jsx, autofix
🕗 Version & Regression Information
- This changed in commit or PR https://github.com/microsoft/TypeScript/pull/58260
⏯ Playground Link
No response
💻 Code
export const x = <div aria-label="hello" />
🙁 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 tsconfig