//// [detachedCommentAtStartOfConstructor1.ts] class TestFile { public message: string; public name; constructor(message: string) { /// Test summary /// var getMessage = () => message + this.name; this.message = getMessage(); } } //// [detachedCommentAtStartOfConstructor1.js] var TestFile = (function () { function TestFile(message) { var _this = this; /// Test summary /// var getMessage = function () { return message + _this.name; }; this.message = getMessage(); } return TestFile; })();