Bug Report
🔎 Search Terms
jsx extends ambiguity type parameters
🕗 Version & Regression Information
I only tested 4.5.4 and Nighty on the repl
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about "JSX and React"
⏯ Playground Link
Playground link with relevant code
💻 Code
// This works
<T implements U></T>;
// This doesn't
<T extends U></T>;
🙁 Actual behavior
The second JSX expression is parsed as a malformed arrow function
🙂 Expected behavior
Both are valid JSX elements
Bug Report
🔎 Search Terms
jsx extends ambiguity type parameters
🕗 Version & Regression Information
I only tested 4.5.4 and Nighty on the repl
⏯ Playground Link
Playground link with relevant code
💻 Code
🙁 Actual behavior
The second JSX expression is parsed as a malformed arrow function
🙂 Expected behavior
Both are valid JSX elements