File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import { GetApplicableRefactorsRequestArgs , GetEditsForRefactorRequestArgs } from "../server/protocol.js" ;
21import {
32 ApplicableRefactorInfo ,
43 CallHierarchyIncomingCall ,
@@ -800,7 +799,7 @@ export class SessionClient implements LanguageService {
800799 if ( preferences ) { // Temporarily set preferences
801800 this . configure ( preferences ) ;
802801 }
803- const args : GetApplicableRefactorsRequestArgs = this . createFileLocationOrRangeRequestArgs ( positionOrRange , fileName ) ;
802+ const args : protocol . GetApplicableRefactorsRequestArgs = this . createFileLocationOrRangeRequestArgs ( positionOrRange , fileName ) ;
804803 args . triggerReason = triggerReason ;
805804 args . kind = kind ;
806805 args . includeInteractiveActions = includeInteractiveActions ;
@@ -831,7 +830,8 @@ export class SessionClient implements LanguageService {
831830 if ( preferences ) { // Temporarily set preferences
832831 this . configure ( preferences ) ;
833832 }
834- const args : GetEditsForRefactorRequestArgs = this . createFileLocationOrRangeRequestArgs ( positionOrRange , fileName ) as protocol . GetEditsForRefactorRequestArgs ;
833+ const args =
834+ this . createFileLocationOrRangeRequestArgs ( positionOrRange , fileName ) as protocol . GetEditsForRefactorRequestArgs ;
835835 args . refactor = refactorName ;
836836 args . action = actionName ;
837837 args . interactiveRefactorArguments = interactiveRefactorArguments ;
You can’t perform that action at this time.
0 commit comments