From 5a01e097893815d9a01d614dcdf7b2317d4e303f Mon Sep 17 00:00:00 2001 From: EskiMojo14 Date: Fri, 29 Mar 2024 21:35:50 +0000 Subject: [PATCH] remove unnecessary type param --- packages/toolkit/src/query/react/ApiProvider.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/toolkit/src/query/react/ApiProvider.tsx b/packages/toolkit/src/query/react/ApiProvider.tsx index 11fd753d2..2c42605a5 100644 --- a/packages/toolkit/src/query/react/ApiProvider.tsx +++ b/packages/toolkit/src/query/react/ApiProvider.tsx @@ -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>(props: { +export function ApiProvider(props: { children: any - api: A + api: Api setupListeners?: Parameters[1] | false context?: Context }) {