Skip to content

Commit

Permalink
Merge pull request #3887 from FabianFrank/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
markerikson authored Aug 30, 2024
2 parents 6045d3e + 635eeba commit debd420
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/rtk-query/usage/customizing-create-api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ If you want to create your own module, you should review [the react-hooks module
Here is a very stripped down version:

```ts no-transpile
import { CoreModule } from '@internal/core/module'
import {
BaseQueryFn,
CoreModule,
EndpointDefinitions,
Api,
Module,
Expand All @@ -89,7 +89,7 @@ import {
export const customModuleName = Symbol()
export type CustomModule = typeof customModuleName

declare module '../apiTypes' {
declare module '@reduxjs/toolkit/query' {
export interface ApiModules<
BaseQuery extends BaseQueryFn,
Definitions extends EndpointDefinitions,
Expand Down

0 comments on commit debd420

Please sign in to comment.