github.com
Decouple jsx element type from jsx factory return type and sfc return type · Issue #21699 · microsoft/TypeScript
We need to look up the type of a jsx expression by actually resolving the jsx factory call, so that we don't create a reference to the global JSX.Element type, which can change shape between react ...