Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

BatchFieldArrayUpdate

type BatchFieldArrayUpdate = <T extends Function, TFieldValues extends FieldValues, TFieldArrayName extends FieldArrayPath<TFieldValues> = FieldArrayPath<TFieldValues>>(
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<{
argA: unknown;
argB: unknown;
}
>
, shouldSetValue?: boolean, shouldUpdateFieldsAndErrors?: boolean) => void
[src]