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

ThunkWithReturnValue not exported #3107

Closed
giomogna opened this issue Jan 20, 2023 · 0 comments · Fixed by #3108
Closed

ThunkWithReturnValue not exported #3107

giomogna opened this issue Jan 20, 2023 · 0 comments · Fixed by #3108
Milestone

Comments

@giomogna
Copy link
Contributor

interface ThunkWithReturnValue<T> extends ThunkAction<T, any, any, AnyAction> {}

ThunkWithReturnValue should be exported to prevent errors like the one below when trying to emit declarations of api types.

Exported variable 'authApi' has or is using name 'ThunkWithReturnValue' from external module "/node_modules/@reduxjs/toolkit/dist/query/core/module" but cannot be named.
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

Successfully merging a pull request may close this issue.

2 participants