27 lines
895 B
Text
27 lines
895 B
Text
|
=== tests/cases/conformance/jsx/tsxElementResolution13.tsx ===
|
||
|
declare module JSX {
|
||
|
>JSX : Symbol(JSX, Decl(tsxElementResolution13.tsx, 0, 0))
|
||
|
|
||
|
interface Element { }
|
||
|
>Element : Symbol(Element, Decl(tsxElementResolution13.tsx, 0, 20))
|
||
|
|
||
|
interface ElementAttributesProperty { pr1: any; pr2: any; }
|
||
|
>ElementAttributesProperty : Symbol(ElementAttributesProperty, Decl(tsxElementResolution13.tsx, 1, 22))
|
||
|
>pr1 : Symbol(pr1, Decl(tsxElementResolution13.tsx, 2, 38))
|
||
|
>pr2 : Symbol(pr2, Decl(tsxElementResolution13.tsx, 2, 48))
|
||
|
}
|
||
|
|
||
|
interface Obj1 {
|
||
|
>Obj1 : Symbol(Obj1, Decl(tsxElementResolution13.tsx, 3, 1))
|
||
|
|
||
|
new(n: string): any;
|
||
|
>n : Symbol(n, Decl(tsxElementResolution13.tsx, 6, 5))
|
||
|
}
|
||
|
var obj1: Obj1;
|
||
|
>obj1 : Symbol(obj1, Decl(tsxElementResolution13.tsx, 8, 3))
|
||
|
>Obj1 : Symbol(Obj1, Decl(tsxElementResolution13.tsx, 3, 1))
|
||
|
|
||
|
<obj1 x={10} />; // Error
|
||
|
>x : Symbol(unknown)
|
||
|
|