mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
CR feedback
.
This commit is contained in:
@@ -3307,7 +3307,9 @@ module ts {
|
||||
write(" ");
|
||||
emitStart(node.body);
|
||||
write("return ");
|
||||
// Don't emit comments on this body. We'll have already taken care of it above.
|
||||
|
||||
// Don't emit comments on this body. We'll have already taken care of it above
|
||||
// when we called emitDetachedComments.
|
||||
emitNode(node.body, /*disableComments:*/ true);
|
||||
emitEnd(node.body);
|
||||
write(";");
|
||||
@@ -3979,7 +3981,7 @@ module ts {
|
||||
|
||||
function shouldEmitLeadingAndTrailingComments(node: Node) {
|
||||
switch (node.kind) {
|
||||
// All of thes entities are emitted in a specialized fashion. As such, we allow
|
||||
// All of these entities are emitted in a specialized fashion. As such, we allow
|
||||
// the specilized methods for each to handle the comments on the nodes.
|
||||
case SyntaxKind.InterfaceDeclaration:
|
||||
case SyntaxKind.FunctionDeclaration:
|
||||
|
||||
Reference in New Issue
Block a user