13 lines
261 B
TypeScript
13 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;
|
|
})();
|