projecte_ionic/node_modules/@ngtools/webpack/src/ngcc_processor.d.ts
2022-02-09 18:30:03 +01:00

34 lines
1.3 KiB
TypeScript
Executable file

/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import { Resolver } from 'enhanced-resolve';
import * as ts from 'typescript';
import { InputFileSystem } from './ivy/system';
export declare class NgccProcessor {
private readonly propertiesToConsider;
private readonly compilationWarnings;
private readonly compilationErrors;
private readonly basePath;
private readonly tsConfigPath;
private readonly inputFileSystem;
private readonly resolver;
private _processedModules;
private _logger;
private _nodeModulesDirectory;
constructor(propertiesToConsider: string[], compilationWarnings: (Error | string)[], compilationErrors: (Error | string)[], basePath: string, tsConfigPath: string, inputFileSystem: InputFileSystem, resolver: Resolver);
/** Process the entire node modules tree. */
process(): void;
/** Process a module and it's depedencies. */
processModule(moduleName: string, resolvedModule: ts.ResolvedModule | ts.ResolvedTypeReferenceDirective): void;
invalidate(fileName: string): void;
/**
* Try resolve a package.json file from the resolved .d.ts file.
*/
private tryResolvePackage;
private findNodeModulesDirectory;
}