13 lines
249 B
JavaScript
13 lines
249 B
JavaScript
//// [parserMemberFunctionDeclaration1.ts]
|
|
class C {
|
|
public public Foo() { }
|
|
}
|
|
|
|
//// [parserMemberFunctionDeclaration1.js]
|
|
var C = (function () {
|
|
function C() {
|
|
}
|
|
C.prototype.Foo = function () {
|
|
};
|
|
return C;
|
|
})();
|