28 lines
602 B
Text
28 lines
602 B
Text
=== tests/cases/conformance/jsx/file.tsx ===
|
|
declare module JSX {
|
|
>JSX : any
|
|
|
|
interface Element { }
|
|
>Element : Element
|
|
|
|
interface IntrinsicElements { div; span; }
|
|
>IntrinsicElements : IntrinsicElements
|
|
>div : any
|
|
>span : any
|
|
}
|
|
|
|
var x = <div><div><span><div></div></span></div></div>;
|
|
>x : JSX.Element
|
|
><div><div><span><div></div></span></div></div> : JSX.Element
|
|
>div : any
|
|
><div><span><div></div></span></div> : JSX.Element
|
|
>div : any
|
|
><span><div></div></span> : JSX.Element
|
|
>span : any
|
|
><div></div> : JSX.Element
|
|
>div : any
|
|
>div : any
|
|
>span : any
|
|
>div : any
|
|
>div : any
|
|
|