TypeScript/tests/baselines/reference/overloadsInDifferentContainersDisagreeOnAmbient.js
2014-07-12 17:30:19 -07:00

18 lines
357 B
JavaScript

//// [overloadsInDifferentContainersDisagreeOnAmbient.ts]
declare module M {
// Error because body is not ambient and this overload is
export function f();
}
module M {
export function f() { }
}
//// [overloadsInDifferentContainersDisagreeOnAmbient.js]
var M;
(function (M) {
function f() {
}
M.f = f;
})(M || (M = {}));