mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
29 lines
1.1 KiB
Plaintext
29 lines
1.1 KiB
Plaintext
//// [tests/cases/compiler/classExtendsInterface.ts] ////
|
|
|
|
=== 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))
|
|
|