UNPKG

266 BTypeScriptView Raw
1import { FormErrors } from "../index";
2
3export declare class SubmissionError<FormData = {}, ErrorType = string> extends Error {
4 constructor(errors: FormErrors<FormData, ErrorType>);
5 errors: FormErrors<FormData, ErrorType>;
6}
7
8export default SubmissionError;