import { QueryClient } from '@tanstack/react-query' import { type ReactNode, createContext } from 'react' import { QueryClientConsumer } from './QueryClientConsumer' const reactQueryContext = createContext(new QueryClient()) describe('', () => { it('type check', () => { ;(() => ( {(queryClient) => { expectTypeOf(queryClient).toEqualTypeOf() return <> }} ))() ;(() => ( {(queryClient) => { expectTypeOf(queryClient).toEqualTypeOf() return <> }} ))() expectTypeOf({() => <>}).toEqualTypeOf() expectTypeOf({() => <>}).not.toEqualTypeOf() expectTypeOf( {() => <>} ).toEqualTypeOf() expectTypeOf( {() => <>} ).not.toEqualTypeOf() }) })