File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -479,7 +479,7 @@ namespace FourSlash {
479479 endPos = endMarker . position ;
480480 }
481481
482- errors . forEach ( function ( error : ts . Diagnostic ) {
482+ errors . forEach ( function ( error : ts . Diagnostic ) {
483483 if ( predicate ( error . start , error . start + error . length , startPos , endPos ) ) {
484484 exists = true ;
485485 }
@@ -496,7 +496,7 @@ namespace FourSlash {
496496 Harness . IO . log ( "Unexpected error(s) found. Error list is:" ) ;
497497 }
498498
499- errors . forEach ( function ( error : ts . Diagnostic ) {
499+ errors . forEach ( function ( error : ts . Diagnostic ) {
500500 Harness . IO . log ( " minChar: " + error . start +
501501 ", limChar: " + ( error . start + error . length ) +
502502 ", message: " + ts . flattenDiagnosticMessageText ( error . messageText , Harness . IO . newLine ( ) ) + "\n" ) ;
@@ -3523,7 +3523,7 @@ namespace FourSlashInterface {
35233523 public onType ( posMarker : string , key : string ) {
35243524 this . state . formatOnType ( this . state . getMarkerByName ( posMarker ) . position , key ) ;
35253525 }
3526-
3526+
35273527 public setOption ( name : keyof ts . FormatCodeSettings , value : number | string | boolean ) : void {
35283528 this . state . formatCodeSettings [ name ] = value ;
35293529 }
You can’t perform that action at this time.
0 commit comments