TypeScript/tests/baselines/reference/parserMemberFunctionDeclaration4.js

15 lines
266 B
TypeScript
Raw Normal View History

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