redux-axios-middleware
                                
                                 redux-axios-middleware copied to clipboard
                                
                                    redux-axios-middleware copied to clipboard
                            
                            
                            
                        What about Typescript? How I can get typed action in component?
How can I get typed action in component?
When I try call .then() for action I get TS error Property 'then' does not exist on type  but code worked.
Hi
Personally, I use AnyAction from redux as a workaround
I hope a real type will be created for the actions but it's quite tricky as it must be an object and a promise at the same time Not sure if it's even possible
Any updates on this? Currently struggling with the same issue.