mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-30 01:04:49 -05:00
fix(36481): allow renaming private fields (#36499)
This commit is contained in:
@@ -92,6 +92,7 @@ namespace ts.Rename {
|
||||
function nodeIsEligibleForRename(node: Node): boolean {
|
||||
switch (node.kind) {
|
||||
case SyntaxKind.Identifier:
|
||||
case SyntaxKind.PrivateIdentifier:
|
||||
case SyntaxKind.StringLiteral:
|
||||
case SyntaxKind.NoSubstitutionTemplateLiteral:
|
||||
case SyntaxKind.ThisKeyword:
|
||||
|
||||
Reference in New Issue
Block a user