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

17 lines
274 B
JavaScript

//// [staticAndMemberFunctions.ts]
class T {
static x() { }
public y() { }
}
//// [staticAndMemberFunctions.js]
var T = (function () {
function T() {
}
T.x = function () {
};
T.prototype.y = function () {
};
return T;
})();