ngc-webpack
Version:
A wrapper for the @ngtools/webpack with hooks into the compilation process
12 lines (11 loc) • 631 B
TypeScript
import { Program, CompilerHost, CompilerOptions, TsEmitCallback, CustomTransformers, PerformCompilationResult, Diagnostics, EmitFlags } from '@angular/compiler-cli';
export declare function performCompilationAsync({rootNames, options, host, oldProgram, emitCallback, gatherDiagnostics, customTransformers, emitFlags}: {
rootNames: string[];
options: CompilerOptions;
host?: CompilerHost;
oldProgram?: Program;
emitCallback?: TsEmitCallback;
gatherDiagnostics?: (program: Program) => Diagnostics;
customTransformers?: CustomTransformers;
emitFlags?: EmitFlags;
}): Promise<PerformCompilationResult>;