2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/internalAliasClass.ts ===
|
|
|
|
module a {
|
2015-04-16 01:44:20 +02:00
|
|
|
>a : typeof a
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export class c {
|
2015-04-16 01:44:20 +02:00
|
|
|
>c : c
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module c {
|
2015-04-16 01:44:20 +02:00
|
|
|
>c : typeof c
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
import b = a.c;
|
2015-04-16 01:44:20 +02:00
|
|
|
>b : typeof b
|
|
|
|
>a : typeof a
|
|
|
|
>c : b
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export var x: b = new b();
|
2015-04-16 01:44:20 +02:00
|
|
|
>x : b
|
|
|
|
>b : b
|
2014-08-25 19:36:12 +02:00
|
|
|
>new b() : b
|
2015-04-16 01:44:20 +02:00
|
|
|
>b : typeof b
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|