Skip to content

Commit 8f02cd8

Browse files
committed
fix(RTKQuery): Fixed issue with coreModuleName symbol portability when exporting declarations in a typescript project
1 parent 32e9081 commit 8f02cd8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/toolkit/src/query/core/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ import { coreModule, coreModuleName } from './module'
33

44
const createApi = /* @__PURE__ */ buildCreateApi(coreModule())
55

6-
export { createApi, coreModule }
6+
export { createApi, coreModule, coreModuleName }

packages/toolkit/src/query/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ export type { CreateApi, CreateApiOptions } from './createApi'
2626
export { buildCreateApi } from './createApi'
2727
export { fakeBaseQuery } from './fakeBaseQuery'
2828
export { copyWithStructuralSharing } from './utils/copyWithStructuralSharing'
29-
export { createApi, coreModule } from './core'
29+
export { createApi, coreModule, coreModuleName } from './core'
3030
export { defaultSerializeQueryArgs } from './defaultSerializeQueryArgs'

0 commit comments

Comments
 (0)