mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
29 lines
927 B
Plaintext
29 lines
927 B
Plaintext
//// [tests/cases/compiler/ClassDeclaration25.ts] ////
|
|
|
|
=== ClassDeclaration25.ts ===
|
|
interface IList<T> {
|
|
>IList : Symbol(IList, Decl(ClassDeclaration25.ts, 0, 0))
|
|
>T : Symbol(T, Decl(ClassDeclaration25.ts, 0, 16))
|
|
|
|
data(): T;
|
|
>data : Symbol(IList.data, Decl(ClassDeclaration25.ts, 0, 20))
|
|
>T : Symbol(T, Decl(ClassDeclaration25.ts, 0, 16))
|
|
|
|
next(): string;
|
|
>next : Symbol(IList.next, Decl(ClassDeclaration25.ts, 1, 14))
|
|
}
|
|
class List<U> implements IList<U> {
|
|
>List : Symbol(List, Decl(ClassDeclaration25.ts, 3, 1))
|
|
>U : Symbol(U, Decl(ClassDeclaration25.ts, 4, 11))
|
|
>IList : Symbol(IList, Decl(ClassDeclaration25.ts, 0, 0))
|
|
>U : Symbol(U, Decl(ClassDeclaration25.ts, 4, 11))
|
|
|
|
data(): U;
|
|
>data : Symbol(List.data, Decl(ClassDeclaration25.ts, 4, 35))
|
|
>U : Symbol(U, Decl(ClassDeclaration25.ts, 4, 11))
|
|
|
|
next(): string;
|
|
>next : Symbol(List.next, Decl(ClassDeclaration25.ts, 5, 14))
|
|
}
|
|
|