9 lines
397 B
TypeScript
9 lines
397 B
TypeScript
import type { ErrorObject } from "ajv";
|
|
/**
|
|
* Formats an array of schema validation errors.
|
|
* @param errors An array of error messages to format.
|
|
* @returns Formatted error message
|
|
* Based on https://github.com/eslint/eslint/blob/master/lib/shared/config-validator.js#L237-L261
|
|
*/
|
|
export declare function formatErrors(errors: ErrorObject[]): string;
|
|
//# sourceMappingURL=formatErrors.d.ts.map
|