Skip to content

Commit 5a01e09

Browse files
committed
remove unnecessary type param
1 parent 63f708f commit 5a01e09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/toolkit/src/query/react/ApiProvider.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ import type { Api } from '@reduxjs/toolkit/query'
3232
* conflict with each other - please use the traditional redux setup
3333
* in that case.
3434
*/
35-
export function ApiProvider<A extends Api<any, {}, any, any>>(props: {
35+
export function ApiProvider(props: {
3636
children: any
37-
api: A
37+
api: Api<any, {}, any, any>
3838
setupListeners?: Parameters<typeof setupListeners>[1] | false
3939
context?: Context<ReactReduxContextValue | null>
4040
}) {

0 commit comments

Comments
 (0)