2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/acceptableAlias1.ts ===
|
|
|
|
module M {
|
2014-08-25 19:36:12 +02:00
|
|
|
>M : M
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export module N {
|
|
|
|
>N : N
|
|
|
|
}
|
|
|
|
export import X = N;
|
|
|
|
>X : X
|
|
|
|
>N : N
|
|
|
|
}
|
|
|
|
|
|
|
|
import r = M.X;
|
|
|
|
>r : r
|
2014-08-19 04:56:03 +02:00
|
|
|
>M : typeof M
|
2014-08-25 19:36:12 +02:00
|
|
|
>X : r
|
2014-08-15 23:33:16 +02:00
|
|
|
|