TypeScript/tests/baselines/reference/parserParameterList9.js

13 lines
212 B
JavaScript
Raw Normal View History

//// [parserParameterList9.ts]
class C {
foo(...bar?) { }
}
//// [parserParameterList9.js]
var C = (function () {
function C() {
}
C.prototype.foo = function () { };
return C;
})();