1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
=== tests/cases/conformance/jsx/file.tsx ===
import React = require('react');
>React : Symbol(React, Decl(file.tsx, 0, 0))
const decorator4 = function <T extends { x: number }>(Component: React.StatelessComponent<T>): React.StatelessComponent<T> {
>decorator4 : Symbol(decorator4, Decl(file.tsx, 2, 5))
>T : Symbol(T, Decl(file.tsx, 2, 29))
>x : Symbol(x, Decl(file.tsx, 2, 40))
>Component : Symbol(Component, Decl(file.tsx, 2, 54))
>React : Symbol(React, Decl(file.tsx, 0, 0))
>StatelessComponent : Symbol(React.StatelessComponent, Decl(react.d.ts, 198, 40))
>T : Symbol(T, Decl(file.tsx, 2, 29))
>React : Symbol(React, Decl(file.tsx, 0, 0))
>StatelessComponent : Symbol(React.StatelessComponent, Decl(react.d.ts, 198, 40))
>T : Symbol(T, Decl(file.tsx, 2, 29))
return (props) => <Component {...props} y={"blah"} ></Component>
>props : Symbol(props, Decl(file.tsx, 3, 12))
>Component : Symbol(Component, Decl(file.tsx, 2, 54))
>props : Symbol(props, Decl(file.tsx, 3, 12))
>y : Symbol(y, Decl(file.tsx, 3, 43))
>Component : Symbol(Component, Decl(file.tsx, 2, 54))
};
|