Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
hervedombya committed Oct 16, 2023
1 parent 13695f6 commit 10470ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/toast/useMutationsHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ReactNode, useCallback, useEffect } from 'react';
import { UseMutationResult } from 'react-query';
import { useToast } from './ToastProvider';

export type MutationConfig<Data extends any, Variables extends any> = {
export type MutationConfig<Data, Variables> = {
mutation: UseMutationResult<Data, unknown, Variables, unknown>;
name: string;
};
Expand Down

0 comments on commit 10470ee

Please sign in to comment.