We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 63939d1 + 583dbc5 commit d569743Copy full SHA for d569743
src/services/refactors/extractSymbol.ts
@@ -677,7 +677,7 @@ namespace ts.refactor.extractSymbol {
677
case SyntaxKind.ArrowFunction:
678
return "arrow function";
679
case SyntaxKind.MethodDeclaration:
680
- return `method '${scope.name.getText()}`;
+ return `method '${scope.name.getText()}'`;
681
case SyntaxKind.GetAccessor:
682
return `'get ${scope.name.getText()}'`;
683
case SyntaxKind.SetAccessor:
0 commit comments