[React] Allow default type parameter in users specified React component . #15455
Labels
Bug
A bug in TypeScript
Domain: JSX/TSX
Relates to the JSX parser and emitter
Fixed
A PR has been merged for this issue
Milestone
From discussion in here DefinitelyTyped/DefinitelyTyped#16112
Although we can't have generic users' specified React component as there are no way to specify type argument or infer such arguments, I think it should work with default type parameter
i.e below should be ok.
Note this won't work
The text was updated successfully, but these errors were encountered: