TypeScript/tests/baselines/reference/parserParameterList3.js

13 lines
209 B
TypeScript

//// [parserParameterList3.ts]
class C {
F(A?, B) { }
}
//// [parserParameterList3.js]
var C = (function () {
function C() {
}
C.prototype.F = function (A, B) { };
return C;
})();