source: trip-planner-front/node_modules/@ngtools/webpack/src/ngcc_processor.d.ts@ 8d391a1

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

initial commit

  • Property mode set to 100644
File size: 1.4 KB
Line 
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import * as ts from 'typescript';
9import type { Compiler } from 'webpack';
10import { InputFileSystem } from './ivy/system';
11declare type ResolverWithOptions = ReturnType<Compiler['resolverFactory']['get']>;
12export declare class NgccProcessor {
13 private readonly propertiesToConsider;
14 private readonly compilationWarnings;
15 private readonly compilationErrors;
16 private readonly basePath;
17 private readonly tsConfigPath;
18 private readonly inputFileSystem;
19 private readonly resolver;
20 private _processedModules;
21 private _logger;
22 private _nodeModulesDirectory;
23 constructor(propertiesToConsider: string[], compilationWarnings: (Error | string)[], compilationErrors: (Error | string)[], basePath: string, tsConfigPath: string, inputFileSystem: InputFileSystem, resolver: ResolverWithOptions);
24 /** Process the entire node modules tree. */
25 process(): void;
26 /** Process a module and it's depedencies. */
27 processModule(moduleName: string, resolvedModule: ts.ResolvedModule | ts.ResolvedTypeReferenceDirective): void;
28 invalidate(fileName: string): void;
29 /**
30 * Try resolve a package.json file from the resolved .d.ts file.
31 */
32 private tryResolvePackage;
33 private findNodeModulesDirectory;
34}
35export {};
Note: See TracBrowser for help on using the repository browser.