24 lines
527 B
Plaintext
24 lines
527 B
Plaintext
=== tests/cases/conformance/jsx/file.tsx ===
|
|
declare module JSX {
|
|
>JSX : Symbol(JSX, Decl(file.tsx, 0, 0))
|
|
|
|
interface Element { }
|
|
>Element : Symbol(Element, Decl(file.tsx, 0, 20))
|
|
|
|
interface IntrinsicElements {
|
|
>IntrinsicElements : Symbol(IntrinsicElements, Decl(file.tsx, 1, 22))
|
|
|
|
[x: string]: any;
|
|
>x : Symbol(x, Decl(file.tsx, 3, 6))
|
|
}
|
|
}
|
|
|
|
// OK
|
|
<div />;
|
|
>div : Symbol(JSX.IntrinsicElements, Decl(file.tsx, 1, 22))
|
|
|
|
// OK
|
|
<span />;
|
|
>span : Symbol(JSX.IntrinsicElements, Decl(file.tsx, 1, 22))
|
|
|