source: trip-planner-front/node_modules/@angular/compiler-cli/src/main.d.ts@ fa375fe

Last change on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.5 KB
RevLine 
[6a3a178]1#!/usr/bin/env node
2/**
3 * @license
4 * Copyright Google LLC All Rights Reserved.
5 *
6 * Use of this source code is governed by an MIT-style license that can be
7 * found in the LICENSE file at https://angular.io/license
8 */
9/// <amd-module name="@angular/compiler-cli/src/main" />
10import 'reflect-metadata';
11import * as ts from 'typescript';
12import * as api from './transformers/api';
13import { Diagnostics, ParsedConfiguration } from './perform_compile';
14export declare function main(args: string[], consoleError?: (s: string) => void, config?: NgcParsedConfiguration, customTransformers?: api.CustomTransformers, programReuse?: {
15 program: api.Program | undefined;
16}, modifiedResourceFiles?: Set<string> | null): number;
17export declare function mainDiagnosticsForTest(args: string[], config?: NgcParsedConfiguration, programReuse?: {
18 program: api.Program | undefined;
19}, modifiedResourceFiles?: Set<string> | null): ReadonlyArray<ts.Diagnostic | api.Diagnostic>;
20export interface NgcParsedConfiguration extends ParsedConfiguration {
21 watch?: boolean;
22}
23export declare function readNgcCommandLineAndConfiguration(args: string[]): NgcParsedConfiguration;
24export declare function readCommandLineAndConfiguration(args: string[], existingOptions?: api.CompilerOptions, ngCmdLineOptions?: string[]): ParsedConfiguration;
25export declare function watchMode(project: string, options: api.CompilerOptions, consoleError: (s: string) => void): {
26 close: () => void;
27 ready: (cb: () => void) => void;
28 firstCompileResult: Diagnostics;
29};
Note: See TracBrowser for help on using the repository browser.