File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ namespace ts {
6060 readFile ( path : string ) : string ;
6161 writeFile ( path : string , contents : string ) : void ;
6262 readDirectory ( path : string , extension ?: string , exclude ?: string [ ] ) : string [ ] ;
63- }
63+ } ;
6464
6565 export var sys : System = ( function ( ) {
6666
@@ -209,6 +209,7 @@ namespace ts {
209209 }
210210 } ;
211211 }
212+
212213 function getNodeSystem ( ) : System {
213214 const _fs = require ( "fs" ) ;
214215 const _path = require ( "path" ) ;
@@ -469,10 +470,11 @@ namespace ts {
469470 }
470471 } ;
471472 }
473+
472474 function getChakraSystem ( ) : System {
473475
474476 return {
475- newLine : ' \r\n' ,
477+ newLine : " \r\n" ,
476478 args : ChakraHost . args ,
477479 useCaseSensitiveFileNames : false ,
478480 write ( message : string ) {
@@ -516,6 +518,7 @@ namespace ts {
516518 }
517519 } ;
518520 }
521+
519522 if ( typeof WScript !== "undefined" && typeof ActiveXObject === "function" ) {
520523 return getWScriptSystem ( ) ;
521524 }
You can’t perform that action at this time.
0 commit comments