Checking JSX elements ignores JSX.IntrinsicElements
declared using template literal index signatures
#55240
Labels
Possible Improvement
The current behavior isn't wrong, but it's possible to see that it might be better in some cases
Milestone
Bug Report
π Search Terms
JSX IntrinsicElements template literal types index signatures
π Version & Regression Information
β― Playground Link
Playground link with relevant code
π» Code
π Actual behavior
An error is reported claiming that
testfoo
does not exist on typeJSX.IntrinsicElements
π Expected behavior
I'd expect that index signature to permit this JSX element.
The text was updated successfully, but these errors were encountered: