incorrect signature help for JsxOpeningLikeElement with typeArguments #22873
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
TypeScript Version: 2.9.0-dev.20180328
Search Terms: jsx generic type arguments
Code
Expected behavior:
1:
function SFC<{}>(props: Record<string, {}>): string
2:
function SFC<string>(props: Record<string, string>): string
Actual behavior:
1:
function SFC<{}>(props: Record<string, {}>): string
2:
function SFC<{}>(props: Record<string, {}>): string
Playground Link:
Related Issues:
The text was updated successfully, but these errors were encountered: