Merge pull request #28194 from iliashkolyar/add_missing_apostrophe_in_codefix

Add missing apostrophe to codefix suggestion
This commit is contained in:
Sheetal Nandi 2018-11-12 09:31:24 -08:00 committed by GitHub
commit d569743640
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: