TypeScript/tests/baselines/reference/parserParameterList9.js
2015-02-06 18:45:09 -08:00

13 lines
212 B
JavaScript

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