MapToErrorsFn
Tür Takma Adı
kararlıv22.0'den beri
A function that takes the result of an async operation and the current field context, and maps it to a list of validation errors.
API
type MapToErrorsFn<TValue, TResult, TPathKind extends PathKind = PathKind.Root> = ( result: TResult, ctx: FieldContext<TValue, TPathKind>,) => TreeValidationResult
Detaylara atla