LendAndRegret/node_modules/@commitlint/config-validator/lib/formatErrors.d.ts
2026-05-02 17:27:43 +08:00

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