The JSX result type
By default the result of a JSX expression is typed as any
. You can customize the type by specifying the JSX.Element
interface. However, it is not possible to retrieve type information about the element, attributes or children of the JSX from this interface. It is a black box.
Please login to continue.