Version
3.0.5
Reproduction link
https://codesandbox.io/s/boring-babbage-lgpd9?file=/src/main.tsx
Steps to reproduce
Try to compile declare const Foo: Component; return <Foo />
What is expected?
No errors. <Bar /> should complain about a missing id prop.
What is actually happening?
JSX element type 'Foo' does not have any construct or call signatures
This was broken with h(Foo) too until #3219
Version
3.0.5
Reproduction link
https://codesandbox.io/s/boring-babbage-lgpd9?file=/src/main.tsx
Steps to reproduce
Try to compile
declare const Foo: Component; return <Foo />What is expected?
No errors.
<Bar />should complain about a missingidprop.What is actually happening?
JSX element type 'Foo' does not have any construct or call signaturesThis was broken with
h(Foo)too until #3219