remove check on property assignment

This commit is contained in:
Arthur Ozga
2016-10-25 10:59:17 -07:00
parent c9b490f234
commit 476b6e02c8
2 changed files with 1 additions and 2 deletions

View File

@@ -610,7 +610,7 @@ namespace ts.NavigationBar {
}
// See if it is a property assignment, and if so use the property name
else if (node.parent.kind === SyntaxKind.PropertyAssignment && (node.parent as PropertyAssignment).name) {
return nodeText((node.parent as PropertyAssignment).name).replace(whiteSpaceRegex, "#");
return nodeText((node.parent as PropertyAssignment).name);
}
// Default exports are named "default"
else if (getModifierFlags(node) & ModifierFlags.Default) {