TypeScript/tests/baselines/reference/namespaces2.types
2015-04-15 16:44:20 -07:00

25 lines
352 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 : any
>B : any
>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