Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export DraftableEntityState, IsAny, UseQuery and other types #4401

Closed
chenhebing opened this issue May 9, 2024 · 4 comments
Closed

Export DraftableEntityState, IsAny, UseQuery and other types #4401

chenhebing opened this issue May 9, 2024 · 4 comments

Comments

@chenhebing
Copy link

microsoft/TypeScript#58474

@aryaemami59
Copy link
Contributor

Seems like this is related to #4066

@chenhebing
Copy link
Author

Seems like this is related to #4066

Thanks for the reply. It seems to be the same problem, so I will close this issue directly.

@aryaemami59
Copy link
Contributor

@chenhebing Thanks, I'm still working on resolving this issue in a way that doesn't involve exporting internal types.

aryaemami59 added a commit to aryaemami59/redux-toolkit that referenced this issue Jun 8, 2024
- This should serve as a partial fix for reduxjs#3962, reduxjs#4448, reduxjs#3983, reduxjs#4066, reduxjs#4108, reduxjs#4401
- Here is the list of the problematic (now exported) types:
  From `@reduxjs/toolkit`:
  - `CombinedSliceReducer`
  - `CaseReducerDefinition`
  - `Id` renamed to `TSHelpersId`
  - `UncheckedIndexedAccess`
  - `ReducerWithInitialState`
  - `CaseReducerDefinition`
  - `Id` renamed to `TSHelpersId`
  - `UncheckedIndexedAccess`
  - `ReducerWithInitialState`
  From `@reduxjs/toolkit/query/react`:
  - `UseLazyQuery`
  - `UseQuery`
  - `QueryHooks`
@markerikson
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants