the-forest/client/node_modules/@tanstack/react-query/build/modern/useMutation.d.ts
2024-09-17 20:35:18 -04:00

7 lines
418 B
TypeScript

import { UseMutationOptions, UseMutationResult } from './types.js';
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 };