TypeScript/tests/cases/compiler/declarationEmitNameConflictsWithAlias.ts
2016-09-15 08:59:14 -07:00

8 lines
249 B
TypeScript

// @declaration: true
// @module: commonjs
export module C { export interface I { } }
export import v = C;
export module M {
export module C { export interface I { } }
export var w: v.I; // Gets emitted as C.I, which is the wrong interface
}