Default Mutation Function best practices and Typescript - TanStack