reports/frontend/node_modules/@apideck/better-ajv-errors/dist/index.d.ts
jtricerolph 1c411e402e Add settings page for managing forecasting API key and URL via UI
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-20 14:37:36 +00:00

10 lines
418 B
TypeScript

import { ErrorObject } from 'ajv';
import { ValidationError } from './types/ValidationError';
export interface BetterAjvErrorsOptions<S = any> {
errors: ErrorObject[] | null | undefined;
data: any;
schema: S;
basePath?: string;
}
export declare const betterAjvErrors: <S = any>({ errors, data, schema, basePath, }: BetterAjvErrorsOptions<S>) => ValidationError[];
export { ValidationError };