Skip to content

Commit 9b64119

Browse files
committed
Docs: Add extraOptions property in createApi
1 parent 4fbd29f commit 9b64119

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rtk-query/api/createApi.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export const { useGetPokemonByNameQuery } = pokemonApi
5454
`createApi` accepts a single configuration object parameter with the following options:
5555

5656
```ts no-transpile
57-
baseQuery(args: InternalQueryArgs, api: BaseQueryApi): any;
57+
baseQuery(args: InternalQueryArgs, api: BaseQueryApi, extraOptions?: DefinitionExtraOptions): any;
5858
endpoints(build: EndpointBuilder<InternalQueryArgs, TagTypes>): Definitions;
5959
tagTypes?: readonly TagTypes[];
6060
reducerPath?: ReducerPath;

0 commit comments

Comments
 (0)