Skip to content

Commit

Permalink
feat: custom type of BaseQueryApi
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienKode authored Nov 3, 2021
1 parent 4b0096c commit 3d1ca3f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/toolkit/src/query/baseQueryTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ export type BaseQueryFn<
Result = unknown,
Error = unknown,
DefinitionExtraOptions = {},
Meta = {}
Meta = {},
QueryApi extends BaseQueryApi = BaseQueryApi,
> = (
args: Args,
api: BaseQueryApi,
api: QueryApi,
extraOptions: DefinitionExtraOptions
) => MaybePromise<QueryReturnValue<Result, Error, Meta>>

Expand Down

0 comments on commit 3d1ca3f

Please sign in to comment.