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

38 lines
544 B
Plaintext

=== tests/cases/compiler/declFileWithInternalModuleNameConflictsInExtendsClause2.ts ===
module X.A.C {
>X : typeof X
>A : typeof A
>C : any
export interface Z {
>Z : Z
}
}
module X.A.B.C {
>X : typeof X
>A : typeof A
>B : typeof B
>C : typeof C
export class W implements A.C.Z { // This can refer to it as A.C.Z
>W : W
>A.C.Z : any
>A.C : any
>A : typeof A
>C : any
>Z : A.C.Z
}
}
module X.A.B.C {
>X : typeof X
>A : typeof A
>B : typeof B
>C : typeof C
module A {
>A : any
}
}