How to create generic async request epics that uses typesafe-actions AsyncCreator to simplify handling api request flows in Redux
问题 I am a newbie struggling to understand the best architecture for relating epics to async actions in Typescript redux environment.... Is it possible to create a generic async request epic for a given typesafe-actions AsyncCreator instance? I have had a try with the code below but lose type information on the action payload....only the type property is recognised on the filtered action....The transpilation error that I receive is... Property 'payload' does not exist on type 'ReturnType<