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

20 lines
305 B
JavaScript

//// [commentBeforeStaticMethod1.ts]
class C {
/**
* Returns bar
*/
public static foo(): string {
return "bar";
}
}
//// [commentBeforeStaticMethod1.js]
var C = (function () {
function C() {
}
C.foo = function () {
return "bar";
};
return C;
})();