Feature Request: Infer React generic class type with JSX #18807
Labels
Domain: JSX/TSX
Relates to the JSX parser and emitter
Effort: Difficult
Good luck.
In Discussion
Not yet reached consensus
Suggestion
An idea for TypeScript
TypeScript Version: 2.5.2
Code
In the following example, I have a generic component with generic props and it would be awesome if the type of the component was inferred when using JSX.
The text was updated successfully, but these errors were encountered: