Skip to content

Commit

Permalink
Docs: Add extraOptions property in createApi
Browse files Browse the repository at this point in the history
  • Loading branch information
jomarquez21 committed Sep 30, 2021
1 parent 4fbd29f commit 9b64119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rtk-query/api/createApi.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const { useGetPokemonByNameQuery } = pokemonApi
`createApi` accepts a single configuration object parameter with the following options:

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

0 comments on commit 9b64119

Please sign in to comment.