62 lines
1.1 KiB
Plaintext
62 lines
1.1 KiB
Plaintext
=== tests/cases/conformance/jsx/file.tsx ===
|
|
declare module JSX {
|
|
interface Element { }
|
|
interface IntrinsicElements {
|
|
[s: string]: any;
|
|
>s : string
|
|
}
|
|
}
|
|
|
|
=== tests/cases/conformance/jsx/Error1.tsx ===
|
|
// Issue error about missing span closing tag, not missing div closing tag
|
|
let x1 = <div><span></div>;
|
|
>x1 : JSX.Element
|
|
><div><span></div>; : JSX.Element
|
|
>div : any
|
|
><span></div> : JSX.Element
|
|
>span : any
|
|
>div : any
|
|
|
|
> : any
|
|
|
|
=== tests/cases/conformance/jsx/Error2.tsx ===
|
|
let x2 = <div></span>;
|
|
>x2 : JSX.Element
|
|
><div></span> : JSX.Element
|
|
>div : any
|
|
>span : any
|
|
|
|
|
|
=== tests/cases/conformance/jsx/Error3.tsx ===
|
|
let x3 = <div>;
|
|
>x3 : JSX.Element
|
|
><div>; : JSX.Element
|
|
>div : any
|
|
|
|
|
|
> : any
|
|
|
|
=== tests/cases/conformance/jsx/Error4.tsx ===
|
|
let x4 = <div><div></span>;
|
|
>x4 : JSX.Element
|
|
><div><div></span>; : JSX.Element
|
|
>div : any
|
|
><div></span> : JSX.Element
|
|
>div : any
|
|
>span : any
|
|
|
|
> : any
|
|
|
|
=== tests/cases/conformance/jsx/Error5.tsx ===
|
|
let x5 = <div><span>
|
|
>x5 : JSX.Element
|
|
><div><span> : JSX.Element
|
|
>div : any
|
|
><span> : JSX.Element
|
|
>span : any
|
|
|
|
|
|
> : any
|
|
> : any
|
|
|