diff --git a/packages/toolkit/src/query/react/ApiProvider.tsx b/packages/toolkit/src/query/react/ApiProvider.tsx index 7d31056623..df9c1fc7aa 100644 --- a/packages/toolkit/src/query/react/ApiProvider.tsx +++ b/packages/toolkit/src/query/react/ApiProvider.tsx @@ -5,7 +5,6 @@ import type { Context } from 'react' import React, { useContext, useEffect } from 'react' import type { ReactReduxContextValue } from 'react-redux' import { Provider, ReactReduxContext } from 'react-redux' -import type { EmptyObject } from '../../tsHelpers' /** * Can be used as a `Provider` if you **do not already have a Redux store**. @@ -33,7 +32,7 @@ import type { EmptyObject } from '../../tsHelpers' */ export function ApiProvider(props: { children: any - api: Api + api: Api, any, any> setupListeners?: Parameters[1] | false context?: Context }) {