1 | #!/usr/bin/env node
|
2 |
|
3 | import 'reflect-metadata';
|
4 | import * as ts from 'typescript';
|
5 | import * as api from './transformers/api';
|
6 | import { ParsedConfiguration } from './perform_compile';
|
7 | export declare function main(args: string[], consoleError?: (s: string) => void, config?: NgcParsedConfiguration): number;
|
8 | export declare function mainDiagnosticsForTest(args: string[], config?: NgcParsedConfiguration): ReadonlyArray<ts.Diagnostic | api.Diagnostic>;
|
9 | export interface NgcParsedConfiguration extends ParsedConfiguration {
|
10 | watch?: boolean;
|
11 | }
|
12 | export declare function readCommandLineAndConfiguration(args: string[], existingOptions?: api.CompilerOptions, ngCmdLineOptions?: string[]): ParsedConfiguration;
|
13 | export declare function watchMode(project: string, options: api.CompilerOptions, consoleError: (s: string) => void): {
|
14 | close: () => void;
|
15 | ready: (cb: () => void) => void;
|
16 | firstCompileResult: ReadonlyArray<api.Diagnostic | ts.Diagnostic>;
|
17 | };
|