Phantom async validator that types the form's onServer error slot as a string. TanStack Form never runs it; it exists so form.state.errorMap.onServer reads as string | undefined and form.setErrorMap(serverErrorMap(...)) typechecks.
onServer
form.state.errorMap.onServer
string | undefined
form.setErrorMap(serverErrorMap(...))
Phantom async validator that types the form's
onServererror slot as a string. TanStack Form never runs it; it exists soform.state.errorMap.onServerreads asstring | undefinedandform.setErrorMap(serverErrorMap(...))typechecks.