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?)
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: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?)