-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Expand file tree
/
Copy pathclassExtendsInterface.symbols
More file actions
26 lines (20 loc) · 1.03 KB
/
classExtendsInterface.symbols
File metadata and controls
26 lines (20 loc) · 1.03 KB
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))