mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
making comment more specific
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user