Exemplo n.º 1
0
        public EmitOutput Compile(FileName fileName, ITypeScriptOptions options)
        {
            host.UpdateCompilerSettings(options);
            host.UpdateFileName(fileName);
            context.Run(scriptLoader.GetLanguageServicesCompileScript());

            return(host.CompilerResult.result);
        }