@@ -197,7 +197,7 @@ export interface ApiModules<
197197 * See https://redux-toolkit.js.org/rtk-query/usage/server-side-rendering for details.
198198 */
199199 getRunningQueriesThunk ( ) : ThunkWithReturnValue <
200- Array < QueryActionCreatorResult < any > >
200+ QueryActionCreatorResult < any > [ ]
201201 >
202202
203203 /**
@@ -209,7 +209,7 @@ export interface ApiModules<
209209 * See https://redux-toolkit.js.org/rtk-query/usage/server-side-rendering for details.
210210 */
211211 getRunningMutationsThunk ( ) : ThunkWithReturnValue <
212- Array < MutationActionCreatorResult < any > >
212+ MutationActionCreatorResult < any > [ ]
213213 >
214214
215215 /**
@@ -347,7 +347,7 @@ export interface ApiModules<
347347 * ```
348348 */
349349 invalidateTags : ActionCreatorWithPayload <
350- Array < TagDescription < TagTypes > > ,
350+ TagDescription < TagTypes > [ ] ,
351351 string
352352 >
353353
@@ -358,12 +358,12 @@ export interface ApiModules<
358358 */
359359 selectInvalidatedBy : (
360360 state : RootState < Definitions , string , ReducerPath > ,
361- tags : ReadonlyArray < TagDescription < TagTypes > > ,
362- ) => Array < {
361+ tags : readonly TagDescription < TagTypes > [ ] ,
362+ ) => {
363363 endpointName : string
364364 originalArgs : any
365365 queryCacheKey : string
366- } >
366+ } [ ]
367367
368368 /**
369369 * A function to select all arguments currently cached for a given endpoint.
@@ -373,7 +373,7 @@ export interface ApiModules<
373373 selectCachedArgsForQuery : < QueryName extends QueryKeys < Definitions > > (
374374 state : RootState < Definitions , string , ReducerPath > ,
375375 queryName : QueryName ,
376- ) => Array < QueryArgFrom < Definitions [ QueryName ] > >
376+ ) => QueryArgFrom < Definitions [ QueryName ] > [ ]
377377 }
378378 /**
379379 * Endpoints based on the input endpoints provided to `createApi`, containing `select` and `action matchers`.
0 commit comments