Skip to content

Commit d569743

Browse files
authored
Merge pull request #28194 from iliashkolyar/add_missing_apostrophe_in_codefix
Add missing apostrophe to codefix suggestion
2 parents 63939d1 + 583dbc5 commit d569743

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/refactors/extractSymbol.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ namespace ts.refactor.extractSymbol {
677677
case SyntaxKind.ArrowFunction:
678678
return "arrow function";
679679
case SyntaxKind.MethodDeclaration:
680-
return `method '${scope.name.getText()}`;
680+
return `method '${scope.name.getText()}'`;
681681
case SyntaxKind.GetAccessor:
682682
return `'get ${scope.name.getText()}'`;
683683
case SyntaxKind.SetAccessor:

0 commit comments

Comments
 (0)