2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/extBaseClass1.ts ===
|
|
|
|
module M {
|
2014-08-28 21:40:58 +02:00
|
|
|
>M : typeof M
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export class B {
|
|
|
|
>B : B
|
|
|
|
|
|
|
|
public x=10;
|
|
|
|
>x : number
|
|
|
|
}
|
|
|
|
|
|
|
|
export class C extends B {
|
|
|
|
>C : C
|
|
|
|
>B : B
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module M {
|
2014-08-28 21:40:58 +02:00
|
|
|
>M : typeof M
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export class C2 extends B {
|
|
|
|
>C2 : C2
|
|
|
|
>B : B
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module N {
|
2014-08-28 21:40:58 +02:00
|
|
|
>N : typeof N
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export class C3 extends M.B {
|
|
|
|
>C3 : C3
|
2014-08-28 21:40:58 +02:00
|
|
|
>M : unknown
|
2014-08-25 19:36:12 +02:00
|
|
|
>B : M.B
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|