type alias UseFieldArraySwapimport { type UseFieldArraySwap } from "https://deno.land/x/netzo@0.5.30/deps/react-hook-form.ts"; Swap field array by supplying from and to index ExamplesExample 1 <button type="button" onClick={() => swap(0, 1)}>swap</button> definition: (indexA: number, indexB: number) => void