TypeScript/tests/baselines/reference/namespaces2.types
2014-08-15 14:37:48 -07:00

25 lines
324 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 : C
>A : A
>B : B
>C : C
>new A.B.C() : C
>A.B.C : typeof C
>A.B : typeof B
>A : typeof A
>B : typeof B
>C : typeof C