-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Argument of type 'AsyncThunkAction<{ id: number; }, void, AsyncThunkConfig>' is not assignable to parameter of type 'UnknownAction'. #4299
Comments
seafronthu
changed the title
@EskiMojo14 I made a [demo](https://stackblitz.com/edit/stackblitz-starters-vbgz2h?file=src%2FApp.tsx), it does not work after defining the typed hooks.
Argument of type 'AsyncThunkAction<{ id: number; }, void, AsyncThunkConfig>' is not assignable to parameter of type 'UnknownAction'.
Mar 25, 2024
hey! any updates on this? |
|
Please follow our standard Typescript setup, you shouldn't be annotating a type on your store and you should be using pre-typed versions of the hooks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Originally posted by @mrdulin in #4032 (comment)
The text was updated successfully, but these errors were encountered: