1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
|
=== 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))
}
}
var p1: any, p2: any, p3: any;
>p1 : Symbol(p1, Decl(file.tsx, 7, 3))
>p2 : Symbol(p2, Decl(file.tsx, 7, 12))
>p3 : Symbol(p3, Decl(file.tsx, 7, 21))
var spreads1 = <div {...p1}>{p2}</div>;
>spreads1 : Symbol(spreads1, Decl(file.tsx, 8, 3))
>div : Symbol(JSX.IntrinsicElements, Decl(file.tsx, 1, 22))
>p1 : Symbol(p1, Decl(file.tsx, 7, 3))
>p2 : Symbol(p2, Decl(file.tsx, 7, 12))
>div : Symbol(JSX.IntrinsicElements, Decl(file.tsx, 1, 22))
var spreads2 = <div {...p1}>{p2}</div>;
>spreads2 : Symbol(spreads2, Decl(file.tsx, 9, 3))
>div : Symbol(JSX.IntrinsicElements, Decl(file.tsx, 1, 22))
>p1 : Symbol(p1, Decl(file.tsx, 7, 3))
>p2 : Symbol(p2, Decl(file.tsx, 7, 12))
>div : Symbol(JSX.IntrinsicElements, Decl(file.tsx, 1, 22))
var spreads3 = <div x={p3} {...p1}>{p2}</div>;
>spreads3 : Symbol(spreads3, Decl(file.tsx, 10, 3))
>div : Symbol(JSX.IntrinsicElements, Decl(file.tsx, 1, 22))
>x : Symbol(x, Decl(file.tsx, 10, 19))
>p3 : Symbol(p3, Decl(file.tsx, 7, 21))
>p1 : Symbol(p1, Decl(file.tsx, 7, 3))
>p2 : Symbol(p2, Decl(file.tsx, 7, 12))
>div : Symbol(JSX.IntrinsicElements, Decl(file.tsx, 1, 22))
var spreads4 = <div {...p1} x={p3} >{p2}</div>;
>spreads4 : Symbol(spreads4, Decl(file.tsx, 11, 3))
>div : Symbol(JSX.IntrinsicElements, Decl(file.tsx, 1, 22))
>p1 : Symbol(p1, Decl(file.tsx, 7, 3))
>x : Symbol(x, Decl(file.tsx, 11, 27))
>p3 : Symbol(p3, Decl(file.tsx, 7, 21))
>p2 : Symbol(p2, Decl(file.tsx, 7, 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, 12, 3))
>div : Symbol(JSX.IntrinsicElements, Decl(file.tsx, 1, 22))
>x : Symbol(x, Decl(file.tsx, 12, 19))
>p2 : Symbol(p2, Decl(file.tsx, 7, 12))
>p1 : Symbol(p1, Decl(file.tsx, 7, 3))
>y : Symbol(y, Decl(file.tsx, 12, 34))
>p3 : Symbol(p3, Decl(file.tsx, 7, 21))
>p2 : Symbol(p2, Decl(file.tsx, 7, 12))
>div : Symbol(JSX.IntrinsicElements, Decl(file.tsx, 1, 22))
|