Open
Description
A friend of mine recently tried using JSX generics and it seems like the fix in #34958 did not work for them.
Here is an oversimplified code snippet that replicates the issue. We've tried this in two different machines and neither worked:
import * as React from "react"
type Variations = "hello" | "baaaaa" | "click"
const MyGeneric = <T extends Variations>({ }) => {
return <div></div>
}
const Issue = () => {
return <MyGeneric<"ctrl+space should bring up suggestions here">></MyGeneric>
}
Originally posted by @varemenos in #34110 (comment)