mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
change refactor name
This commit is contained in:
@@ -4721,7 +4721,7 @@
|
||||
"category": "Message",
|
||||
"code": 95068
|
||||
},
|
||||
"Convert arrow function or anonymous function": {
|
||||
"Convert arrow function or function expression": {
|
||||
"category": "Message",
|
||||
"code": 95069
|
||||
},
|
||||
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
/* @internal */
|
||||
namespace ts.refactor.convertArrowFunctionOrFunction {
|
||||
const refactorName = "Convert arrow function or anonymous function";
|
||||
const refactorDescription = Diagnostics.Convert_arrow_function_or_anonymous_function.message;
|
||||
namespace ts.refactor.convertArrowFunctionOrFunctionExpression {
|
||||
const refactorName = "Convert arrow function or function expression";
|
||||
const refactorDescription = Diagnostics.Convert_arrow_function_or_function_expression.message;
|
||||
|
||||
const toAnonymousFunctionActionName = "Convert to anonymous function";
|
||||
const toNamedFunctionActionName = "Convert to named function";
|
||||
@@ -80,7 +80,7 @@
|
||||
"refactors/generateGetAccessorAndSetAccessor.ts",
|
||||
"refactors/moveToNewFile.ts",
|
||||
"refactors/addOrRemoveBracesToArrowFunction.ts",
|
||||
"refactors/convertArrowFunctionOrFunction.ts",
|
||||
"refactors/convertArrowFunctionOrFunctionExpression.ts",
|
||||
"services.ts",
|
||||
"breakpoints.ts",
|
||||
"transform.ts",
|
||||
|
||||
Reference in New Issue
Block a user