@@ -24,7 +24,7 @@ export default class CommandHandler implements vscode.Disposable {
2424 private disposables : vscode . Disposable [ ] = [ ] ;
2525 private tracker : interfaces . IDocumentMergeConflictTracker ;
2626
27- constructor ( private context : vscode . ExtensionContext , trackerService : interfaces . IDocumentMergeConflictTrackerService ) {
27+ constructor ( trackerService : interfaces . IDocumentMergeConflictTrackerService ) {
2828 this . tracker = trackerService . createTracker ( 'commands' ) ;
2929 }
3030
@@ -62,19 +62,19 @@ export default class CommandHandler implements vscode.Disposable {
6262 return this . accept ( interfaces . CommitType . Both , editor , ...args ) ;
6363 }
6464
65- acceptAllCurrent ( editor : vscode . TextEditor , ... args : any [ ] ) : Promise < void > {
65+ acceptAllCurrent ( editor : vscode . TextEditor ) : Promise < void > {
6666 return this . acceptAll ( interfaces . CommitType . Current , editor ) ;
6767 }
6868
69- acceptAllIncoming ( editor : vscode . TextEditor , ... args : any [ ] ) : Promise < void > {
69+ acceptAllIncoming ( editor : vscode . TextEditor ) : Promise < void > {
7070 return this . acceptAll ( interfaces . CommitType . Incoming , editor ) ;
7171 }
7272
73- acceptAllBoth ( editor : vscode . TextEditor , ... args : any [ ] ) : Promise < void > {
73+ acceptAllBoth ( editor : vscode . TextEditor ) : Promise < void > {
7474 return this . acceptAll ( interfaces . CommitType . Both , editor ) ;
7575 }
7676
77- async compare ( editor : vscode . TextEditor , conflict : interfaces . IDocumentMergeConflict | null , ... args : any [ ] ) {
77+ async compare ( editor : vscode . TextEditor , conflict : interfaces . IDocumentMergeConflict | null ) {
7878 const fileName = path . basename ( editor . document . uri . fsPath ) ;
7979
8080 // No conflict, command executed from command palette
@@ -102,15 +102,15 @@ export default class CommandHandler implements vscode.Disposable {
102102 vscode . commands . executeCommand ( 'vscode.diff' , leftUri , rightUri , title ) ;
103103 }
104104
105- navigateNext ( editor : vscode . TextEditor , ... args : any [ ] ) : Promise < void > {
105+ navigateNext ( editor : vscode . TextEditor ) : Promise < void > {
106106 return this . navigate ( editor , NavigationDirection . Forwards ) ;
107107 }
108108
109- navigatePrevious ( editor : vscode . TextEditor , ... args : any [ ] ) : Promise < void > {
109+ navigatePrevious ( editor : vscode . TextEditor ) : Promise < void > {
110110 return this . navigate ( editor , NavigationDirection . Backwards ) ;
111111 }
112112
113- async acceptSelection ( editor : vscode . TextEditor , ... args : any [ ] ) : Promise < void > {
113+ async acceptSelection ( editor : vscode . TextEditor ) : Promise < void > {
114114 let conflict = await this . findConflictContainingSelection ( editor ) ;
115115
116116 if ( ! conflict ) {
0 commit comments