@microsoft/windows-admin-center-sdk
Version:
Microsoft - Windows Admin Center Shell
39 lines (38 loc) • 1.44 kB
TypeScript
import { ErrorUpdater } from "../../../upgrade/error-updater";
import { ErrorResult } from "../../../upgrade/models/error-result";
/**
* Updater for Angular 15 errors.
*/
export declare class ErrorUpdaterAngular15 extends ErrorUpdater {
/**
* The function to parse the log file and update the errors.
* @param log the input log.txt file data.
* @param updateSource the update source.
* @returns the count for unresolved errors.
*/
resolveLogBuildErrors(log: string, updateSource?: string[]): Promise<number>;
/**
* The function to parse the log file and update the warnings.
* @param log the input log.txt file data.
* @param updateSource the update source.
* @returns the count for unresolved errors.
*/
resolveLogBuildWarnings(log: string, updateSource?: string[]): Promise<number>;
/**
* Gets the error results from the log file data.
* @param log the log file data.
* @returns the parsed error results.
*/
protected parseLogBuildErrors(log: string): ErrorResult[];
/**
* Gets the warning results from the log file data.
* @param log the log file data.
* @returns the parsed warning results.
*/
protected parseLogBuildWarning(log: string): ErrorResult[];
/**
* Checks if there are nested dependencies.
* @param log the log file data.
*/
protected checkNestedDependencies(log: string): void;
}