UNPKG

568 BTypeScriptView Raw
1import { AngularCompilerOptions } from '@angular/tsc-wrapped';
2import { CompilerOptions, Program } from 'typescript';
3import { ModuleDeclaration, Project } from '../project';
4import { PathReference } from '../../filesystem';
5export interface CompilationOptions {
6 ts: CompilerOptions;
7 ng: AngularCompilerOptions;
8 sources: Array<string>;
9}
10export declare const projectToOptions: (project: Project) => CompilationOptions;
11export declare const loadApplicationModule: (program: Program, basePath: PathReference, module: ModuleDeclaration) => ModuleDeclaration;