We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent 3999418 commit 09b6474Copy full SHA for 09b6474
src/utils/misc.ts
@@ -53,8 +53,10 @@ function getNodeIdentifierText(
53
54
let mut_identifierText: string | undefined | null = null;
55
56
- if (isIdentifier(node) || isPrivateIdentifier(node)) {
+ if (isIdentifier(node)) {
57
mut_identifierText = node.name;
58
+ } else if (isPrivateIdentifier(node)) {
59
+ mut_identifierText = `#${node.name}`;
60
} else if (hasID(node) && isDefined(node.id)) {
61
mut_identifierText = getNodeIdentifierText(node.id, context);
62
} else if (hasKey(node) && isDefined(node.key)) {
0 commit comments