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

40 lines
615 B
Plaintext

=== tests/cases/compiler/declFileWithInternalModuleNameConflictsInExtendsClause3.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 X.A.C.Z { // This needs to be refered as X.A.C.Z as A has conflict
>W : W
>X.A.C.Z : any
>X.A.C : any
>X.A : typeof A
>X : typeof X
>A : typeof A
>C : any
>Z : X.A.C.Z
}
}
module X.A.B.C {
>X : typeof X
>A : typeof A
>B : typeof B
>C : typeof C
export module A {
>A : any
}
}