File: classExtendsInterface.symbols

package info (click to toggle)
node-typescript 5.0.4%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 459,116 kB
  • sloc: javascript: 1,972,754; makefile: 6; sh: 1
file content (26 lines) | stat: -rw-r--r-- 1,056 bytes parent folder | download
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
=== tests/cases/compiler/classExtendsInterface.ts ===
interface Comparable {}
>Comparable : Symbol(Comparable, Decl(classExtendsInterface.ts, 0, 0))

class A extends Comparable {}
>A : Symbol(A, Decl(classExtendsInterface.ts, 0, 23))

class B implements Comparable {}
>B : Symbol(B, Decl(classExtendsInterface.ts, 1, 29))
>Comparable : Symbol(Comparable, Decl(classExtendsInterface.ts, 0, 0))

interface Comparable2<T> {}
>Comparable2 : Symbol(Comparable2, Decl(classExtendsInterface.ts, 2, 32))
>T : Symbol(T, Decl(classExtendsInterface.ts, 4, 22))

class A2<T> extends Comparable2<T> {}
>A2 : Symbol(A2, Decl(classExtendsInterface.ts, 4, 27))
>T : Symbol(T, Decl(classExtendsInterface.ts, 5, 9))
>T : Symbol(T, Decl(classExtendsInterface.ts, 5, 9))

class B2<T> implements Comparable2<T> {}
>B2 : Symbol(B2, Decl(classExtendsInterface.ts, 5, 37))
>T : Symbol(T, Decl(classExtendsInterface.ts, 6, 9))
>Comparable2 : Symbol(Comparable2, Decl(classExtendsInterface.ts, 2, 32))
>T : Symbol(T, Decl(classExtendsInterface.ts, 6, 9))