2014-10-23 19:20:33 +02:00
|
|
|
=== tests/cases/compiler/declFileAliasUseBeforeDeclaration2.ts ===
|
|
|
|
|
|
|
|
declare module "test" {
|
|
|
|
module A {
|
2015-04-16 01:44:20 +02:00
|
|
|
>A : typeof A
|
2014-10-23 19:20:33 +02:00
|
|
|
|
|
|
|
class C {
|
2015-04-16 01:44:20 +02:00
|
|
|
>C : C
|
2014-10-23 19:20:33 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
class B extends E {
|
2015-04-16 01:44:20 +02:00
|
|
|
>B : B
|
|
|
|
>E : E
|
2014-10-23 19:20:33 +02:00
|
|
|
}
|
|
|
|
import E = A.C;
|
2015-04-16 01:44:20 +02:00
|
|
|
>E : typeof E
|
|
|
|
>A : typeof A
|
|
|
|
>C : E
|
2014-10-23 19:20:33 +02:00
|
|
|
}
|