diff --git a/packages/toolkit/src/query/core/index.ts b/packages/toolkit/src/query/core/index.ts index 837dc6a567..f9765d9f08 100644 --- a/packages/toolkit/src/query/core/index.ts +++ b/packages/toolkit/src/query/core/index.ts @@ -3,4 +3,4 @@ import { coreModule, coreModuleName } from './module' const createApi = /* @__PURE__ */ buildCreateApi(coreModule()) -export { createApi, coreModule } +export { createApi, coreModule, coreModuleName } diff --git a/packages/toolkit/src/query/index.ts b/packages/toolkit/src/query/index.ts index dc2b2c5e96..72d8943fb8 100644 --- a/packages/toolkit/src/query/index.ts +++ b/packages/toolkit/src/query/index.ts @@ -26,5 +26,5 @@ export type { CreateApi, CreateApiOptions } from './createApi' export { buildCreateApi } from './createApi' export { fakeBaseQuery } from './fakeBaseQuery' export { copyWithStructuralSharing } from './utils/copyWithStructuralSharing' -export { createApi, coreModule } from './core' -export { defaultSerializeQueryArgs } from './defaultSerializeQueryArgs' +export { createApi, coreModule, coreModuleName } from './core' +export { defaultSerializeQueryArgs } from './defaultSerializeQueryArgs' \ No newline at end of file