Skip to content

Commit 583dbc5

Browse files
committed
Add missing apostrophe to codefix suggestion
1 parent e2100cd commit 583dbc5

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)