deps function parameter is of type {} why ? - TanStack