2015-02-03 00:15:54 +01:00
|
|
|
//// [parserParameterList9.ts]
|
|
|
|
class C {
|
|
|
|
foo(...bar?) { }
|
|
|
|
}
|
|
|
|
|
|
|
|
//// [parserParameterList9.js]
|
|
|
|
var C = (function () {
|
|
|
|
function C() {
|
|
|
|
}
|
2015-02-07 03:45:09 +01:00
|
|
|
C.prototype.foo = function () { };
|
2015-02-03 00:15:54 +01:00
|
|
|
return C;
|
|
|
|
})();
|