making comment more specific

This commit is contained in:
SaschaNaz
2015-09-11 14:26:10 +09:00
parent 31ca74be93
commit 70cb758204
+1 -1
View File
@@ -485,7 +485,7 @@ namespace ts.formatting {
}
/**
* Function returns true if a node should not get additional indentation in its parent node.
* Function returns true if existing node content indentation should be suppressed for a specific child
*/
export function shouldInheritParentIndentation(parent: TextRangeWithKind, child: TextRangeWithKind) {
return !nodeWillIndentChild(parent, child, true);