BatchFieldArrayUpdate
type BatchFieldArrayUpdate = <T extends Function, TFieldValues extends FieldValues, TFieldArrayName extends FieldArrayPath<TFieldValues> = FieldArrayPath<TFieldValues>>(
name: InternalFieldName,
updatedFieldArrayValues?: Partial<FieldArray<TFieldValues, TFieldArrayName>>[],
method?: T,
args?: Partial<{
argA: unknown;
argB: unknown;
}>,shouldSetValue?: boolean,
shouldUpdateFieldsAndErrors?: boolean,
) => void;§Type
§
<T extends Function, TFieldValues extends FieldValues, TFieldArrayName extends FieldArrayPath<TFieldValues> = FieldArrayPath<TFieldValues>>(name: InternalFieldName, updatedFieldArrayValues?: Partial<FieldArray<TFieldValues, TFieldArrayName>>[], method?: T, args?: Partial<{
[src]argA: unknown;
argB: unknown;
}>, shouldSetValue?: boolean, shouldUpdateFieldsAndErrors?: boolean) => void