chore(eslint): ignore type of global react-query queryFn

This commit is contained in:
Paul Chavard 2022-02-23 13:27:07 +01:00 committed by Pierre de La Morinerie
parent cd2273ba54
commit 7c8e97f084

View file

@ -97,6 +97,8 @@ async function getPays(): Promise<{ label: string }[]> {
export const queryClient = new QueryClient({
defaultOptions: {
queries: {
// we don't really care about global queryFn type
// eslint-disable-next-line @typescript-eslint/no-explicit-any
queryFn: defaultQueryFn as any
}
}