File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -428,7 +428,7 @@ namespace ts {
428428 newLine : string ;
429429 useCaseSensitiveFileNames : boolean ;
430430 write ( s : string ) : void ;
431- writeOutputIsTty ?( ) : boolean ;
431+ writeOutputIsTTY ?( ) : boolean ;
432432 readFile ( path : string , encoding ?: string ) : string | undefined ;
433433 getFileSize ?( path : string ) : number ;
434434 writeFile ( path : string , data : string , writeByteOrderMark ?: boolean ) : void ;
@@ -562,7 +562,7 @@ namespace ts {
562562 write ( s : string ) : void {
563563 process . stdout . write ( s ) ;
564564 } ,
565- writeOutputIsTty ( ) {
565+ writeOutputIsTTY ( ) {
566566 return process . stdout . isTTY ;
567567 } ,
568568 readFile,
Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ namespace ts {
2525 }
2626
2727 function shouldBePretty ( options : CompilerOptions ) {
28- if ( ( typeof options . pretty === "undefined" ) ) {
29- return ! ! sys . writeOutputIsTty && sys . writeOutputIsTty ( ) ;
28+ if ( typeof options . pretty === "undefined" ) {
29+ return ! ! sys . writeOutputIsTTY && sys . writeOutputIsTTY ( ) ;
3030 }
3131 return options . pretty ;
3232 }
You can’t perform that action at this time.
0 commit comments