28 lines
1.3 KiB
Text
28 lines
1.3 KiB
Text
=== tests/cases/conformance/es6/classDeclaration/emitClassDeclarationWithExtensionAndTypeArgumentInES6.ts ===
|
|
class B<T> {
|
|
>B : Symbol(B, Decl(emitClassDeclarationWithExtensionAndTypeArgumentInES6.ts, 0, 0))
|
|
>T : Symbol(T, Decl(emitClassDeclarationWithExtensionAndTypeArgumentInES6.ts, 0, 8))
|
|
|
|
constructor(a: T) { }
|
|
>a : Symbol(a, Decl(emitClassDeclarationWithExtensionAndTypeArgumentInES6.ts, 1, 16))
|
|
>T : Symbol(T, Decl(emitClassDeclarationWithExtensionAndTypeArgumentInES6.ts, 0, 8))
|
|
}
|
|
class C extends B<string> { }
|
|
>C : Symbol(C, Decl(emitClassDeclarationWithExtensionAndTypeArgumentInES6.ts, 2, 1))
|
|
>B : Symbol(B, Decl(emitClassDeclarationWithExtensionAndTypeArgumentInES6.ts, 0, 0))
|
|
|
|
class D extends B<number> {
|
|
>D : Symbol(D, Decl(emitClassDeclarationWithExtensionAndTypeArgumentInES6.ts, 3, 29))
|
|
>B : Symbol(B, Decl(emitClassDeclarationWithExtensionAndTypeArgumentInES6.ts, 0, 0))
|
|
|
|
constructor(a: any)
|
|
>a : Symbol(a, Decl(emitClassDeclarationWithExtensionAndTypeArgumentInES6.ts, 5, 16))
|
|
|
|
constructor(b: number) {
|
|
>b : Symbol(b, Decl(emitClassDeclarationWithExtensionAndTypeArgumentInES6.ts, 6, 16))
|
|
|
|
super(b);
|
|
>super : Symbol(B, Decl(emitClassDeclarationWithExtensionAndTypeArgumentInES6.ts, 0, 0))
|
|
>b : Symbol(b, Decl(emitClassDeclarationWithExtensionAndTypeArgumentInES6.ts, 6, 16))
|
|
}
|
|
}
|