TypeScript/tests/baselines/reference/parserMemberFunctionDeclaration4.js

14 lines
261 B
TypeScript

//// [parserMemberFunctionDeclaration4.ts]
class C {
export Foo() { }
}
//// [parserMemberFunctionDeclaration4.js]
var C = (function () {
function C() {
}
C.prototype.Foo = function () { }
exports.Foo = Foo;;
return C;
})();