Add comments to do clean-up

This commit is contained in:
Yui T
2015-08-07 16:30:16 -07:00
parent 7de321d167
commit 673e741f57

View File

@@ -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) {