Skip to content

Commit

Permalink
fix(RTKQuery): Fixed issue with coreModuleName symbol portability whe…
Browse files Browse the repository at this point in the history
…n exporting declarations in a typescript project
  • Loading branch information
eric-crowell committed Jul 6, 2023
1 parent 32e9081 commit 33268d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/toolkit/src/query/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ import { coreModule, coreModuleName } from './module'

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

export { createApi, coreModule }
export { createApi, coreModule, coreModuleName }
4 changes: 2 additions & 2 deletions packages/toolkit/src/query/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit 33268d9

Please sign in to comment.