code: public static function toJs(string $sFile) : string
  	{
  	    $aFile = pathinfo($sFile);
  	    $sFolder = uniqid();
  	    
  	    if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
  	        
  	        $sCmd = self::TYPESCRIPT_WINDOWS." ".$sFile." --outDir ".__DIR__.'../../'.CACHE_DIR.$sFolder.'/';
              $sContent = shell_exec($sCmd);
  	    }
  	    else {
  	       
  	        $sCmd = "tsc ".$sFile." --outDir ".__DIR__.'../../'.CACHE_DIR.$sFolder.'/';
              $sContent = shell_exec($sCmd);
  	    }
  	    
          header("content-type:text/javascript");
          return file_get_contents(__DIR__ . '../../' .$aFile['filename'].'.js');
  	}
docs: translate the content
  
  @access public
  @param  string $sFile
  @return string