File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -415,7 +415,7 @@ namespace ts.server.protocol {
415
415
416
416
/**
417
417
* Response is a list of available refactorings.
418
- * Each refactoring exposes 1 or more "Actions"; a user selects one action to invoke a refactoring
418
+ * Each refactoring exposes one or more "Actions"; a user selects one action to invoke a refactoring
419
419
*/
420
420
export interface GetApplicableRefactorsResponse extends Response {
421
421
body ?: ApplicableRefactorInfo [ ] ;
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ namespace ts.refactor {
22
22
symbol = ( symbol . valueDeclaration as VariableDeclaration ) . initializer . symbol ;
23
23
}
24
24
25
- if ( symbol && symbol . flags & SymbolFlags . Function && symbol . members && symbol . members . size > 0 ) {
25
+ if ( symbol && ( symbol . flags & SymbolFlags . Function ) && symbol . members && ( symbol . members . size > 0 ) ) {
26
26
return [
27
27
{
28
28
name : convertFunctionToES6Class . name ,
You can’t perform that action at this time.
0 commit comments