TypeScript/tests/baselines/reference/incorrectClassOverloadChain.js

15 lines
237 B
JavaScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [incorrectClassOverloadChain.ts]
class C {
foo(): string;
foo(x): number;
x = 1;
}
//// [incorrectClassOverloadChain.js]
var C = (function () {
function C() {
this.x = 1;
}
return C;
})();