You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
392 B
9 lines
392 B
|
2 years ago
|
import { 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
|