UNPKG

797 BTypeScriptView Raw
1import type { CompilerHost, CompilerOptions } from '@angular/compiler-cli';
2import ts from 'typescript';
3import { NgPackageConfig } from '../../ng-package.schema';
4import { FileCache } from '../file-system/file-cache';
5import { BuildGraph } from '../graph/build-graph';
6import { EntryPointNode } from '../ng-package/nodes';
7import { StylesheetProcessor } from '../styles/stylesheet-processor';
8export declare function cacheCompilerHost(graph: BuildGraph, entryPoint: EntryPointNode, compilerOptions: CompilerOptions, moduleResolutionCache: ts.ModuleResolutionCache, stylesheetProcessor?: StylesheetProcessor, inlineStyleLanguage?: NgPackageConfig['inlineStyleLanguage'], sourcesFileCache?: FileCache): CompilerHost;
9export declare function augmentProgramWithVersioning(program: ts.Program): void;