TypeScript/tests/baselines/reference/staticAndMemberFunctions.js

15 lines
264 B
TypeScript

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