TypeScript/tests/baselines/reference/commentBeforeStaticMethod1.js

23 lines
343 B
TypeScript

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