Add missing apostrophe to codefix suggestion

This commit is contained in:
iliashkolyar 2018-10-28 23:18:19 +02:00
parent e2100cd2cc
commit 583dbc571e

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: