Type alias typeToFlattenedError<T, U>

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

Type Parameters

Type Parameters

  • T

  • U = string

Type declaration

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

Generated using TypeDoc