Skip to main content

UnwrapFormValidateOrFn

还没翻译译自英文(tanstack.com)本页 5 段都还没译

type UnwrapFormValidateOrFn<TValidateOrFn> = [TValidateOrFn] extends [FormValidateFn<any>] ? ExtractGlobalFormError<ReturnType<TValidateOrFn>> : [TValidateOrFn] extends [StandardSchemaV1<any, any>] ? Record<string, StandardSchemaV1Issue[]> : undefined;

Defined in: packages/form-core/src/FormApi.ts:123

Type Parameters

TValidateOrFn

TValidateOrFn extends undefined | FormValidateOrFn<any>