File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- import { GetApplicableRefactorsRequestArgs , GetEditsForRefactorRequestArgs } from "../server/protocol.js" ;
2
1
import {
3
2
ApplicableRefactorInfo ,
4
3
CallHierarchyIncomingCall ,
@@ -800,7 +799,7 @@ export class SessionClient implements LanguageService {
800
799
if ( preferences ) { // Temporarily set preferences
801
800
this . configure ( preferences ) ;
802
801
}
803
- const args : GetApplicableRefactorsRequestArgs = this . createFileLocationOrRangeRequestArgs ( positionOrRange , fileName ) ;
802
+ const args : protocol . GetApplicableRefactorsRequestArgs = this . createFileLocationOrRangeRequestArgs ( positionOrRange , fileName ) ;
804
803
args . triggerReason = triggerReason ;
805
804
args . kind = kind ;
806
805
args . includeInteractiveActions = includeInteractiveActions ;
@@ -831,7 +830,8 @@ export class SessionClient implements LanguageService {
831
830
if ( preferences ) { // Temporarily set preferences
832
831
this . configure ( preferences ) ;
833
832
}
834
- const args : GetEditsForRefactorRequestArgs = this . createFileLocationOrRangeRequestArgs ( positionOrRange , fileName ) as protocol . GetEditsForRefactorRequestArgs ;
833
+ const args =
834
+ this . createFileLocationOrRangeRequestArgs ( positionOrRange , fileName ) as protocol . GetEditsForRefactorRequestArgs ;
835
835
args . refactor = refactorName ;
836
836
args . action = actionName ;
837
837
args . interactiveRefactorArguments = interactiveRefactorArguments ;
You can’t perform that action at this time.
0 commit comments