Skip to content

Commit

Permalink
Merge pull request #2911 from matmannion/isolated-modules
Browse files Browse the repository at this point in the history
  • Loading branch information
markerikson committed Jan 28, 2023
2 parents 67a69e8 + 8dbdf9c commit a72bee9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/toolkit/src/entities/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export { createEntityAdapter } from './create_adapter'
export {
export type {
Dictionary,
EntityState,
EntityAdapter,
Expand Down
2 changes: 1 addition & 1 deletion packages/toolkit/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,5 +189,5 @@ export {
SHOULD_AUTOBATCH,
prepareAutoBatched,
autoBatchEnhancer,
AutoBatchOptions,
} from './autoBatchEnhancer'
export type { AutoBatchOptions } from './autoBatchEnhancer'
3 changes: 2 additions & 1 deletion packages/toolkit/src/query/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ export type {
} from './fetchBaseQuery'
export { retry } from './retry'
export { setupListeners } from './core/setupListeners'
export { skipSelector, skipToken, SkipToken } from './core/buildSelectors'
export { skipSelector, skipToken } from './core/buildSelectors'
export type { SkipToken } from './core/buildSelectors'
export type { CreateApi, CreateApiOptions } from './createApi'
export { buildCreateApi } from './createApi'
export { fakeBaseQuery } from './fakeBaseQuery'
Expand Down
2 changes: 2 additions & 0 deletions packages/toolkit/tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
"skipLibCheck": true,
// error out if import and file system have a casing mismatch. Recommended by TS
"forceConsistentCasingInFileNames": true,
// ensure that each file can be safely transpiled by babel (etc.) without relying on other imports
"isolatedModules": true,
"downlevelIteration": false,
"allowSyntheticDefaultImports": true,
"emitDeclarationOnly": true,
Expand Down

0 comments on commit a72bee9

Please sign in to comment.