typeToFlattenedError<T, U>: {
    fieldErrors: {
        [P in allKeys<T>]?: U[]
    };
    formErrors: U[];
}

Type Parameters

  • T
  • U = string

Type declaration

  • fieldErrors: {
        [P in allKeys<T>]?: U[]
    }
  • formErrors: U[]

Generated using TypeDoc