Skip to content

Commit

Permalink
remove unnecessary type param
Browse files Browse the repository at this point in the history
  • Loading branch information
EskiMojo14 committed Mar 29, 2024
1 parent 63f708f commit 5a01e09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/toolkit/src/query/react/ApiProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ import type { Api } from '@reduxjs/toolkit/query'
* conflict with each other - please use the traditional redux setup
* in that case.
*/
export function ApiProvider<A extends Api<any, {}, any, any>>(props: {
export function ApiProvider(props: {
children: any
api: A
api: Api<any, {}, any, any>
setupListeners?: Parameters<typeof setupListeners>[1] | false
context?: Context<ReactReduxContextValue | null>
}) {
Expand Down

0 comments on commit 5a01e09

Please sign in to comment.