File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -415,7 +415,7 @@ namespace ts.server.protocol {
415415
416416 /**
417417 * 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
419419 */
420420 export interface GetApplicableRefactorsResponse extends Response {
421421 body ?: ApplicableRefactorInfo [ ] ;
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ namespace ts.refactor {
2222 symbol = ( symbol . valueDeclaration as VariableDeclaration ) . initializer . symbol ;
2323 }
2424
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 ) ) {
2626 return [
2727 {
2828 name : convertFunctionToES6Class . name ,
You can’t perform that action at this time.
0 commit comments