-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Closed
Labels
QuestionAn issue which isn't directly actionable in codeAn issue which isn't directly actionable in code
Description
return <my-custom-element />;
Results in error: Property 'my-custom-element' does not exist on type 'JSX.IntrinsicElements'
. As far as I'm aware, this ought to be valid JSX and so compile to:
React.createElement("my-custom-element").
I can get around this by using the second form, but it'd be nice to avoid the check for standard elements (unless it's there for a good reason?)
Metadata
Metadata
Assignees
Labels
QuestionAn issue which isn't directly actionable in codeAn issue which isn't directly actionable in code