File: tsxGenericAttributesType2.symbols

package info (click to toggle)
node-typescript 3.3.3333-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 324,548 kB
  • sloc: makefile: 6; sh: 3
file content (24 lines) | stat: -rw-r--r-- 1,100 bytes parent folder | download | duplicates (5)
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))

};