TypeScript/tests/baselines/reference/declarationEmit_nameConflictsWithAlias.types
2014-08-28 12:40:58 -07:00

22 lines
414 B
Plaintext

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