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

15 lines
277 B
TypeScript

//// [defaultValueInConstructorOverload1.ts]
class C {
constructor(x = '');
constructor(x = '') {
}
}
//// [defaultValueInConstructorOverload1.js]
var C = (function () {
function C(x) {
if (x === void 0) { x = ''; }
}
return C;
})();