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