TypeScript/tests/baselines/reference/parserMemberFunctionDeclaration4.js
2015-02-06 18:45:09 -08:00

14 lines
261 B
JavaScript

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