File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -428,7 +428,7 @@ namespace ts {
428
428
newLine : string ;
429
429
useCaseSensitiveFileNames : boolean ;
430
430
write ( s : string ) : void ;
431
- writeOutputIsTty ?( ) : boolean ;
431
+ writeOutputIsTTY ?( ) : boolean ;
432
432
readFile ( path : string , encoding ?: string ) : string | undefined ;
433
433
getFileSize ?( path : string ) : number ;
434
434
writeFile ( path : string , data : string , writeByteOrderMark ?: boolean ) : void ;
@@ -562,7 +562,7 @@ namespace ts {
562
562
write ( s : string ) : void {
563
563
process . stdout . write ( s ) ;
564
564
} ,
565
- writeOutputIsTty ( ) {
565
+ writeOutputIsTTY ( ) {
566
566
return process . stdout . isTTY ;
567
567
} ,
568
568
readFile,
Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ namespace ts {
25
25
}
26
26
27
27
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 ( ) ;
30
30
}
31
31
return options . pretty ;
32
32
}
You can’t perform that action at this time.
0 commit comments