TypeScript/tests/baselines/reference/namespaces2.types
2014-08-28 12:40:58 -07:00

25 lines
360 B
Plaintext

=== tests/cases/compiler/namespaces2.ts ===
module A {
>A : typeof A
export module B {
>B : typeof B
export class C { }
>C : C
}
}
var c: A.B.C = new A.B.C();
>c : A.B.C
>A : unknown
>B : unknown
>C : A.B.C
>new A.B.C() : A.B.C
>A.B.C : typeof A.B.C
>A.B : typeof A.B
>A : typeof A
>B : typeof A.B
>C : typeof A.B.C