File: testTypings.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 (27 lines) | stat: -rw-r--r-- 815 bytes parent folder | download | duplicates (7)
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
=== tests/cases/compiler/testTypings.ts ===
interface IComparable<T> {
>IComparable : Symbol(IComparable, Decl(testTypings.ts, 0, 0))
>T : Symbol(T, Decl(testTypings.ts, 0, 22))

   compareTo(other: T);
>compareTo : Symbol(IComparable.compareTo, Decl(testTypings.ts, 0, 26))
>other : Symbol(other, Decl(testTypings.ts, 1, 13))
>T : Symbol(T, Decl(testTypings.ts, 0, 22))
}

declare function sort<U extends IComparable<U>>(items: U[]): U[];
>sort : Symbol(sort, Decl(testTypings.ts, 2, 1))
>U : Symbol(U, Decl(testTypings.ts, 4, 22))
>IComparable : Symbol(IComparable, Decl(testTypings.ts, 0, 0))
>U : Symbol(U, Decl(testTypings.ts, 4, 22))
>items : Symbol(items, Decl(testTypings.ts, 4, 48))
>U : Symbol(U, Decl(testTypings.ts, 4, 22))
>U : Symbol(U, Decl(testTypings.ts, 4, 22))