2014-07-13 01:04:16 +02:00
|
|
|
//// [declarationEmit_nameConflictsWithAlias.ts]
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
|
|
|
//// [declarationEmit_nameConflictsWithAlias.js]
|
2014-09-07 02:40:19 +02:00
|
|
|
var M;
|
2014-07-13 01:04:16 +02:00
|
|
|
(function (M) {
|
2014-08-15 22:18:54 +02:00
|
|
|
M.w; // Gets emitted as C.I, which is the wrong interface
|
2014-09-07 02:40:19 +02:00
|
|
|
})(M = exports.M || (exports.M = {}));
|
2014-07-16 01:03:25 +02:00
|
|
|
|
|
|
|
|
|
|
|
//// [declarationEmit_nameConflictsWithAlias.d.ts]
|
|
|
|
export declare module C {
|
|
|
|
interface I {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export import v = C;
|
|
|
|
export declare module M {
|
|
|
|
module C {
|
|
|
|
interface I {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
var w: v.I;
|
|
|
|
}
|