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

23 lines
395 B
Plaintext

=== tests/cases/compiler/declarationEmit_nameConflictsWithAlias.ts ===
// Bug 887180
export module C { export interface I { } }
>C : C
>I : I
export import v = C;
>v : v
>C : C
export module M {
>M : typeof M
export module C { export interface I { } }
>C : C
>I : I
export var w: v.I; // Gets emitted as C.I, which is the wrong interface
>w : I
>v : v
>I : I
}