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

22 lines
394 B
Plaintext

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