UNPKG

@microsoft/windows-admin-center-sdk

Version:

Microsoft - Windows Admin Center Shell

21 lines (20 loc) 650 B
import { Updater } from '../../../upgrade/models/updater-interface'; import { ErrorResult } from '../../../upgrade/models/error-result'; /** * Updater for FormControl errors. */ export declare class FormControlUpdater implements Updater { /** * The update function. * @param fileData the file data. * @param error the error object. * @returns the updated file data. */ update(fileData: string, error: ErrorResult): Promise<string>; /** * Fixe file data by regex matching. * @param inputString the input file data string. * @returns the updated file data string. */ private regexFixer; }