diff --git a/src/compiler/emitter.ts b/src/compiler/emitter.ts index d0947b35693..7f8e1b2f8df 100644 --- a/src/compiler/emitter.ts +++ b/src/compiler/emitter.ts @@ -3632,6 +3632,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, Promi return emitOnlyPinnedOrTripleSlashComments(node); } + // TODO (yuisu) : we should not have special cases to condition emitting comments + // but have one place to fix check for these conditions. if (node.kind !== SyntaxKind.MethodDeclaration && node.kind !== SyntaxKind.MethodSignature && node.parent && node.parent.kind !== SyntaxKind.PropertyAssignment && node.parent.kind !== SyntaxKind.CallExpression) {