I am using vue-query and trying to create a hook to make a normal mutation but the return type of useMutation is not correct like the previous versions of typescript
(alias) useMutation<ICreatePasswordlessUser, unknown, ICreateUser, unknown>(mutationKey: MutationKey, mutationFn?: MutationFunction<ICreateUser, ICreateUser> | undefined, options?: Omit<...> | undefined): any (+3 overloads)
its returning : any (+3 overloads)
typescript : 5.2.2
vue-query : 1.26.0