mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-16 15:51:35 -05:00
Hierarchical refactorings (#41975)
* add hierarchical refactoring strings * fourslash tests * extractSymbol filters returned actions * move refactorKind check to utilities * rename parameters * messaging for addOrRemoveBracesToArrowFunction * fix up inferFunctionReturnType * fix up convertArrowFunctionOrFunctionExpression * add preferences to fourslash method * fix up convert string * fix up moveToNewFile * fix lint errors * remove extra arrow braces diagnostics * break out tests * add refactor helpers * refactor refactors * keep list of actions * address PR comments * response protocol * address more comments
This commit is contained in:
@@ -6143,6 +6143,34 @@
|
||||
"category": "Message",
|
||||
"code": 95148
|
||||
},
|
||||
"Return type must be inferred from a function": {
|
||||
"category": "Message",
|
||||
"code": 95149
|
||||
},
|
||||
"Could not determine function return type": {
|
||||
"category": "Message",
|
||||
"code": 95150
|
||||
},
|
||||
"Could not convert to arrow function": {
|
||||
"category": "Message",
|
||||
"code": 95151
|
||||
},
|
||||
"Could not convert to named function": {
|
||||
"category": "Message",
|
||||
"code": 95152
|
||||
},
|
||||
"Could not convert to anonymous function": {
|
||||
"category": "Message",
|
||||
"code": 95153
|
||||
},
|
||||
"Can only convert string concatenation": {
|
||||
"category": "Message",
|
||||
"code": 95154
|
||||
},
|
||||
"Selection is not a valid statement or statements": {
|
||||
"category": "Message",
|
||||
"code": 95155
|
||||
},
|
||||
|
||||
"No value exists in scope for the shorthand property '{0}'. Either declare one or provide an initializer.": {
|
||||
"category": "Error",
|
||||
|
||||
Reference in New Issue
Block a user