//// [detachedCommentAtStartOfFunctionBody1.ts]
class TestFile {
foo(message: string): () => string {
/// Test summary
///
///
return () => message + this.name;
}
}
//// [detachedCommentAtStartOfFunctionBody1.js]
var TestFile = (function () {
function TestFile() {
}
TestFile.prototype.foo = function (message) {
var _this = this;
/// Test summary
///
///
return function () { return message + _this.name; };
};
return TestFile;
})();