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

15 lines
264 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;
})();