29 lines
465 B
Text
29 lines
465 B
Text
=== tests/cases/conformance/es6/classDeclaration/emitClassDeclarationWithExtensionAndTypeArgumentInES6.ts ===
|
|
class B<T> {
|
|
>B : B<T>
|
|
>T : T
|
|
|
|
constructor(a: T) { }
|
|
>a : T
|
|
>T : T
|
|
}
|
|
class C extends B<string> { }
|
|
>C : C
|
|
>B : B<string>
|
|
|
|
class D extends B<number> {
|
|
>D : D
|
|
>B : B<number>
|
|
|
|
constructor(a: any)
|
|
>a : any
|
|
|
|
constructor(b: number) {
|
|
>b : number
|
|
|
|
super(b);
|
|
>super(b) : void
|
|
>super : typeof B
|
|
>b : number
|
|
}
|
|
}
|