2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/namespaces2.ts ===
|
|
|
|
module A {
|
2014-08-25 19:36:12 +02:00
|
|
|
>A : A
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export module B {
|
2014-08-25 19:36:12 +02:00
|
|
|
>B : B
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export class C { }
|
|
|
|
>C : C
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var c: A.B.C = new A.B.C();
|
2014-08-25 19:36:12 +02:00
|
|
|
>c : A.B.C
|
2014-08-15 23:33:16 +02:00
|
|
|
>A : A
|
2014-08-25 19:36:12 +02:00
|
|
|
>B : A.B
|
|
|
|
>C : A.B.C
|
|
|
|
>new A.B.C() : A.B.C
|
|
|
|
>A.B.C : typeof A.B.C
|
|
|
|
>A.B : typeof A.B
|
2014-08-15 23:33:16 +02:00
|
|
|
>A : typeof A
|
2014-08-25 19:36:12 +02:00
|
|
|
>B : typeof A.B
|
|
|
|
>C : typeof A.B.C
|
2014-08-15 23:33:16 +02:00
|
|
|
|