Type Alias typeToFlattenedError<T, U>

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

Type Parameters

  • T
  • U = string