Files
pole-book/server/node_modules/@strapi/utils/dist/format-yup-error.d.ts

12 lines
315 B
TypeScript

import { ValidationError } from 'yup';
declare const formatYupErrors: (yupError: ValidationError) => {
errors: {
path: string[];
message: string;
name: string;
value: any;
}[];
message: string;
};
export { formatYupErrors };
//# sourceMappingURL=format-yup-error.d.ts.map