@@ -3631,8 +3631,8 @@ namespace FourSlash {
3631
3631
}
3632
3632
3633
3633
public toggleLineComment ( newFileContent : string ) : void {
3634
- let changes : ts . TextChange [ ] = [ ] ;
3635
- for ( let range of this . getRanges ( ) ) {
3634
+ const changes : ts . TextChange [ ] = [ ] ;
3635
+ for ( const range of this . getRanges ( ) ) {
3636
3636
changes . push . apply ( changes , this . languageService . toggleLineComment ( this . activeFile . fileName , range ) ) ;
3637
3637
}
3638
3638
@@ -3642,8 +3642,8 @@ namespace FourSlash {
3642
3642
}
3643
3643
3644
3644
public toggleMultilineComment ( newFileContent : string ) : void {
3645
- let changes : ts . TextChange [ ] = [ ] ;
3646
- for ( let range of this . getRanges ( ) ) {
3645
+ const changes : ts . TextChange [ ] = [ ] ;
3646
+ for ( const range of this . getRanges ( ) ) {
3647
3647
changes . push . apply ( changes , this . languageService . toggleMultilineComment ( this . activeFile . fileName , range ) ) ;
3648
3648
}
3649
3649
@@ -3653,8 +3653,8 @@ namespace FourSlash {
3653
3653
}
3654
3654
3655
3655
public commentSelection ( newFileContent : string ) : void {
3656
- let changes : ts . TextChange [ ] = [ ] ;
3657
- for ( let range of this . getRanges ( ) ) {
3656
+ const changes : ts . TextChange [ ] = [ ] ;
3657
+ for ( const range of this . getRanges ( ) ) {
3658
3658
changes . push . apply ( changes , this . languageService . commentSelection ( this . activeFile . fileName , range ) ) ;
3659
3659
}
3660
3660
@@ -3664,8 +3664,8 @@ namespace FourSlash {
3664
3664
}
3665
3665
3666
3666
public uncommentSelection ( newFileContent : string ) : void {
3667
- let changes : ts . TextChange [ ] = [ ] ;
3668
- for ( let range of this . getRanges ( ) ) {
3667
+ const changes : ts . TextChange [ ] = [ ] ;
3668
+ for ( const range of this . getRanges ( ) ) {
3669
3669
changes . push . apply ( changes , this . languageService . uncommentSelection ( this . activeFile . fileName , range ) ) ;
3670
3670
}
3671
3671
0 commit comments