14 lines
243 B
Text
14 lines
243 B
Text
=== tests/cases/conformance/jsx/tsxElementResolution5.tsx ===
|
|
declare module JSX {
|
|
>JSX : any
|
|
|
|
interface Element { }
|
|
>Element : Element
|
|
}
|
|
|
|
// OK, but implicit any
|
|
<div n='x' />;
|
|
><div n='x' /> : JSX.Element
|
|
>div : any
|
|
>n : any
|
|
|