public TypeScriptContext(IScriptLoader scriptLoader, ILogger logger) { this.scriptLoader = scriptLoader; host = new LanguageServiceShimHost(logger); host.AddDefaultLibScript(new FileName(scriptLoader.LibScriptFileName), scriptLoader.GetLibScript()); context.SetParameter("host", host); context.Run(scriptLoader.GetTypeScriptServicesScript()); }