Argument of type 'AsyncThunkAction<{ id: number; }, void, AsyncThunkConfig>' is not assignable to parameter of type 'UnknownAction'.
seafronthu opened this issue · 1 comments
seafronthu commented
I made a demo, it does not work after defining the typed hooks, And the vscode has the same issue, So It's not a bug with stackblitz's typescript server.
"react-redux": "^9.1.0"
"@reduxjs/toolkit": "^2.2.2"
"@types/react": "^18.2.47"
"@types/react-dom": "^18.2.18"
"typescript": "^5.4.3"
I don't know what caused it, it's too uncomfortable.
EskiMojo14 commented
duplicate of reduxjs/redux-toolkit#4299, please don't open the same issue in multiple repos