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

16 lines
303 B
JavaScript

//// [classWithOverloadImplementationOfWrongName2.ts]
class C {
foo(): string;
bar(x): any { }
foo(x): number;
}
//// [classWithOverloadImplementationOfWrongName2.js]
var C = (function () {
function C() {
}
C.prototype.bar = function (x) {
};
return C;
})();