14 lines
264 B
TypeScript
14 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;
|
|
})();
|