66 lines
2.4 KiB
Plaintext
66 lines
2.4 KiB
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))
|
|
|
|
[s: string]: any;
|
|
>s : Symbol(s, Decl(file.tsx, 3, 3))
|
|
}
|
|
}
|
|
declare var React: any;
|
|
>React : Symbol(React, Decl(file.tsx, 6, 11))
|
|
|
|
var p1: any, p2: any, p3: any;
|
|
>p1 : Symbol(p1, Decl(file.tsx, 8, 3))
|
|
>p2 : Symbol(p2, Decl(file.tsx, 8, 12))
|
|
>p3 : Symbol(p3, Decl(file.tsx, 8, 21))
|
|
|
|
var spreads1 = <div {...p1}>{p2}</div>;
|
|
>spreads1 : Symbol(spreads1, Decl(file.tsx, 9, 3))
|
|
>div : Symbol(JSX.IntrinsicElements, Decl(file.tsx, 1, 22))
|
|
>p1 : Symbol(p1, Decl(file.tsx, 8, 3))
|
|
>p2 : Symbol(p2, Decl(file.tsx, 8, 12))
|
|
>div : Symbol(JSX.IntrinsicElements, Decl(file.tsx, 1, 22))
|
|
|
|
var spreads2 = <div {...p1}>{p2}</div>;
|
|
>spreads2 : Symbol(spreads2, Decl(file.tsx, 10, 3))
|
|
>div : Symbol(JSX.IntrinsicElements, Decl(file.tsx, 1, 22))
|
|
>p1 : Symbol(p1, Decl(file.tsx, 8, 3))
|
|
>p2 : Symbol(p2, Decl(file.tsx, 8, 12))
|
|
>div : Symbol(JSX.IntrinsicElements, Decl(file.tsx, 1, 22))
|
|
|
|
var spreads3 = <div x={p3} {...p1}>{p2}</div>;
|
|
>spreads3 : Symbol(spreads3, Decl(file.tsx, 11, 3))
|
|
>div : Symbol(JSX.IntrinsicElements, Decl(file.tsx, 1, 22))
|
|
>x : Symbol(x, Decl(file.tsx, 11, 19))
|
|
>p3 : Symbol(p3, Decl(file.tsx, 8, 21))
|
|
>p1 : Symbol(p1, Decl(file.tsx, 8, 3))
|
|
>p2 : Symbol(p2, Decl(file.tsx, 8, 12))
|
|
>div : Symbol(JSX.IntrinsicElements, Decl(file.tsx, 1, 22))
|
|
|
|
var spreads4 = <div {...p1} x={p3} >{p2}</div>;
|
|
>spreads4 : Symbol(spreads4, Decl(file.tsx, 12, 3))
|
|
>div : Symbol(JSX.IntrinsicElements, Decl(file.tsx, 1, 22))
|
|
>p1 : Symbol(p1, Decl(file.tsx, 8, 3))
|
|
>x : Symbol(x, Decl(file.tsx, 12, 27))
|
|
>p3 : Symbol(p3, Decl(file.tsx, 8, 21))
|
|
>p2 : Symbol(p2, Decl(file.tsx, 8, 12))
|
|
>div : Symbol(JSX.IntrinsicElements, Decl(file.tsx, 1, 22))
|
|
|
|
var spreads5 = <div x={p2} {...p1} y={p3}>{p2}</div>;
|
|
>spreads5 : Symbol(spreads5, Decl(file.tsx, 13, 3))
|
|
>div : Symbol(JSX.IntrinsicElements, Decl(file.tsx, 1, 22))
|
|
>x : Symbol(x, Decl(file.tsx, 13, 19))
|
|
>p2 : Symbol(p2, Decl(file.tsx, 8, 12))
|
|
>p1 : Symbol(p1, Decl(file.tsx, 8, 3))
|
|
>y : Symbol(y, Decl(file.tsx, 13, 34))
|
|
>p3 : Symbol(p3, Decl(file.tsx, 8, 21))
|
|
>p2 : Symbol(p2, Decl(file.tsx, 8, 12))
|
|
>div : Symbol(JSX.IntrinsicElements, Decl(file.tsx, 1, 22))
|
|
|