Merge pull request #28194 from iliashkolyar/add_missing_apostrophe_in_codefix

Add missing apostrophe to codefix suggestion
This commit is contained in:
Sheetal Nandi authored and GitHub committed 2018-11-12 09:31:24 -08:00
commit d569743640
1 file changed
+1 -1
+1 -1
View File
@@ -677,7 +677,7 @@ namespace ts.refactor.extractSymbol {
case SyntaxKind.ArrowFunction:
return "arrow function";
case SyntaxKind.MethodDeclaration:
return `method '${scope.name.getText()}`;
return `method '${scope.name.getText()}'`;
case SyntaxKind.GetAccessor:
return `'get ${scope.name.getText()}'`;
case SyntaxKind.SetAccessor: