Get type of `beforeLoad` options - TanStack