the-forest/client/node_modules/@tanstack/react-query/build/legacy/useMutation.d.cts

7 lines
419 B
TypeScript
Raw Normal View History

2024-09-17 20:35:18 -04:00
import { UseMutationOptions, UseMutationResult } from './types.cjs';
import { DefaultError, QueryClient } from '@tanstack/query-core';
declare function useMutation<TData = unknown, TError = DefaultError, TVariables = void, TContext = unknown>(options: UseMutationOptions<TData, TError, TVariables, TContext>, queryClient?: QueryClient): UseMutationResult<TData, TError, TVariables, TContext>;
export { useMutation };