16 lines
282 B
TypeScript
16 lines
282 B
TypeScript
//// [commentOnStaticMember1.ts]
|
|
class Greeter {
|
|
//Hello World
|
|
static foo(){
|
|
}
|
|
}
|
|
|
|
//// [commentOnStaticMember1.js]
|
|
var Greeter = (function () {
|
|
function Greeter() {
|
|
}
|
|
//Hello World
|
|
Greeter.foo = function () {
|
|
};
|
|
return Greeter;
|
|
})();
|